nfs notes

From Noah.org
Revision as of 20:30, 23 August 2010 by Root (talk | contribs) (Created page with 'Category:Engineering Edit the '''/etc/exports''' file with the following settings. Note that these settings are not very secure, but they are necessary in order to have the …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Edit the /etc/exports file with the following settings. Note that these settings are not very secure, but they are necessary in order to have the system update files with root permission. Clients can't do any real damage to the server, but they can create files owned by root in the /srv directory tree.

/srv/tftpboot *(rw,insecure,no_root_squash,no_subtree_check)
/srv/rootfs *(rw,insecure,no_root_squash,no_subtree_check)

Start NFS:

/etc/init.d/nfs-kernel-server start

If you edit the /etc/exports file you will need to tell NFS to reload the exported directories:

exportfs -ra

Check that NFS is running:

rpcinfo -p