Solaris: Mounting Directories via NFS

To mount directories via NFS from the host on which the central instance runs, log on as user root and proceed as follows:
On the host on which the main instance runs:
1. Enter the command:
/usr/sbin/share
2. Edit the file /etc/dfs/dfstab to add file systems shared via NFS:
vi /etc/dfs/dfstab
Add the following line for each file system, for example:
share -F nfs -o root=<nfsclient1>:<nfsclient2> -d “description” /usr/sap/trans

>

After your SAP System has been installed successfully, in the above line you have to change -o root to -o rw (or remove anon=0, respectively) for all exported directories, for example:
share -F nfs -o rw=<nfsclient1>:<nfsclient2> -d “description” /usr/sap/trans

3. If the /etc/dfs/dfstab was empty, the NFS server is not active.
Start the NFS server with the command:
/etc/init.d/nfs.server start
4. To see if the NFS server is active and which partitions are mountable, enter the command:
showmount -e <NFS-server>
On the host on which the additional instance runs:
1. If you are mounting NFS disks for the first time, the NFS client software is not active.
Start the NFS client software with the command:
/etc/init.d/nfs.client start
2. Edit the file /etc/vfstab to mount the directory:
vi /etc/vfstab
Add the following line for each file system, for example:
db_server:/usr/sap/trans – /usr/sap/trans nfs – yes –
If the mount point exists, mount /usr/sap/trans, for example, with the command:
mount /usr/sap/trans

Leave a Comment

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top