Using mount command
# mount servername.domain:/media/export /media/local
or
# mount 192.168.10.10:/media/export /media/local
Note :
servername.domain is hostname of the NFS fileserver.
192.168.10.10 is IP of remote m/c.
/media/export is remote machines filesystem.
/media/local is local machines mount point ( if not exist created using mkdir /media/local)
Using /etc/fstab
An alternate way to mount an NFS share from another machine is to add a line to the /etc/fstab file.
The general syntax for the line in /etc/fstab is as follows:
servername.domain:/media/export /media/local nfs rsize=8192,wsize=8192,timeo=14,intr
Using autofs
Autofs uses the automount daemon to manage your mount points by only mounting them dynamically when they are accessed.
configuration file /etc/auto.master
Refer pages to configure and run autofs http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch29_:_Remote_Disk_Access_with_NFS
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment