First, you may need to authenticate the local machine to the NFS server.
Then,
Please add the following line to the end of your /etc/fstab:
Then,
Please add the following line to the end of your /etc/fstab:
NFS_SERVER:/vol/vol1_home /home nfs4 defaults 1 1
This is the format:
SERVERIP:REMOTE_FILE LOCAL_FILE FILE_FORMAT
This is the format:
SERVERIP:REMOTE_FILE LOCAL_FILE FILE_FORMAT
After this, do "mount -a" should get your home directory mounted.
Other commands about mount:
mount -a: mount all of the files in /etc/fstab
umount /home: unmount the local home direcotry from NFS server
Other commands about mount:
mount -a: mount all of the files in /etc/fstab
umount /home: unmount the local home direcotry from NFS server
No comments:
Post a Comment