Home
|
UNIX
|
Practical
How to configure NFS
On Redhat systems
Create the configuration,
vi /etc/exports
for example,
/path/to *(ro,no_root_squash)
Apply,
service nfs start
Defenitely if you like,
chkconfig portmap on
chkconfig nfs on
On SuSE systems
Create the configuration,
vi /etc/exports
for example,
/path/to *(ro,no_root_squash,sync)
Note that last option is only mandatory on SuSE : otherwise you get a warning
Apply,
rcnfsserver start
Defenitely if you like,
chkconfig portmap on
chkconfig nfsserver on
chkconfig nfsboot
or use "insserv".
Check & apply
Check everything is working,
showmount -e
showmount -e IP
showmount -a
Export all,
exportfs -a
Unexport all,
exportfs -ua
Quotas
The quota option needs to be activated on client's side and quotad need to be running.
Other options
rw/ro
root_squash/no_root_squash
~sync/async/soft
nosuid
~anonuid
noexec
~bg,retry=3