NFS Services Administrator Guide for 11i v3 (5900-2572, September 2012)
server:remote_directory local_directory nfs option[,option...] 0 0
2. Mount all the NFS file systems specified in the /etc/fstab file by entering the following
command:
/usr/sbin/mount -a -F nfs
3. Verify that your filesystem is mounted by entering the following command:
nfsstat -m
An output similar to the following output is displayed:
/mnt/nfs149 from nfs149:/
Flags:
vers=4,proto=tcp,sec=sys,hard,intr,link,symlink,devs,rsize=
32768,wsize=32768,retrans=5,timeo=600
Attr cache:acregmin=3,acregmax=60,acdirmin=30,acdirmax=60
The directory that you have mounted must be present in this list.
Manual Mount
To mount your directories manually, follow these steps:
1. To mount a remote directory manually, enter the following command:
mount serv:directory_name directory-name
2. Verify if your filesystem is mounted by entering the following command:
nfsstat -m
An output similar to the following output is displayed:
/opt/nfstest from hpnfsweb:/home/tester
Flags:
vers=3,proto=udp,sec=sys,hard,intr,link,symlink,acl,devs,
rsize=32768,wsize=32768,retrans=5,timeo=11
Attr cache:
acregmin=3,acregmax=60,acdirmin=30,acdirmax=60
Lookups: srtt=33 (82ms), dev=33 (165ms), cur=20 (400ms)
The directory that you have mounted must be present in this list.
For a list of mount options, see mount_nfs(1M).
Enabling Client-Side Failover
Using client-side failover, an NFS client can switch to another server if the server supporting a
replicated filesystem becomes unavailable.
The failover is usually transparent to the user. Failover can occur at any time without disrupting the
processes running on the client. Failover is only supported on read-only filesystems.
To mount a directory that has been replicated on multiple servers, enter the following command:
mount -o ro svr:dir_name,srv:dir_name dir_name
If the first NFS server is down, the client accesses the second NFS server.
For example, to mount the Casey directory to replicated servers, enter the following command:
mount -o ro onc21:/home/Casey, onc23:/home/Casey /Clay
If the NFS server onc21 is down, the client accesses NFS server onc23.
To verify if the failover is in effect, enter the following command:
nfsstat -m
An output similar to the following output is displayed:
/Clay from onc21:/home/Casey,onc23:/home/Casey
Flags:
vers=3,proto=tcp,sec=sys,hard,intr,llock,link,symlink,acl,
36 Configuring and Administering NFS Services