|
Answer» Syntax to MOUNT NFS FS:
#mount -t vfstype [-o options] NFS Servername:/exporteddirectory /mount POINT or #mount -t nfs -o options host:/remote/export /local/directory
Mount options explained below :
- -0 initr : This option is used in non reliable network, or network having more network congestion. NFS request will be interrupted when server is not reachable.
- -o hard : If hard option is specified during nfs mount, USER cannot terminate the PROCESS waiting for NFS communication to resume. For ex ..if u ran LS a command on ur NFS mounted directory but that time ur NFS server went down means . The process wont get killed or stopped ..it will wait until the NFS server and mount point become available.
- -o soft : If soft option is specified during nfs mount, user will get error alert when NFS server is not reachable. This is just inverse of hard mount option. It wont wait for reply if the NFS server went down , it will alert us and the process will go down.
- -o Nfsvers=value : If this option is specified during nfs mount NFS client uses particular NFS protocol version to communicate.
For example TCP # mount- t nfs -o tcp 192.168.1.4:/mnt/array1/RHEL5 /data/ # mount | grep -i tcp
192.168.1.4:/mnt/array1/RHEL5 on /data type nfs (rw,tcp,addr=192.168.1.4) Syntax to mount NFS FS: #mount -t vfstype [-o options] NFS Servername:/exporteddirectory /mount point or #mount -t nfs -o options host:/remote/export /local/directory Mount options explained below : For example TCP # mount- t nfs -o tcp 192.168.1.4:/mnt/array1/RHEL5 /data/ # mount | grep -i tcp 192.168.1.4:/mnt/array1/RHEL5 on /data type nfs (rw,tcp,addr=192.168.1.4)
|