Sunday, September 24, 2006


My exports file looks like this:
[root@server ~]# cat /etc/exports
/mnt/videos *(rw,no_root_squash)

Good thing I don't have this one open to the public!

exportfs -v
shows you the current state of exported files

server:/mnt/videos /mnt/videos nfs rw 1 2
This entry in /etc/fstab will mount the nfs share automatically on boot or mount -a interactively at the command line

showmount -e
shows the NFS server's export list
[root@server ~]# showmount -e
Export list for server:
/mnt/videos *

From a Linux client, I can then mount the nfs share:
sudo mount -t nfs server:/mnt/videos /client/techanswerguy/videos/

No comments:

Feel free to drop me a line or ask me a question.