Professional Documents
Culture Documents
Présentation NFS
Présentation NFS
Step2:
Vrify the package installation:
Rpm qa | grep nfs
Step3:
The NFS server use three deferent services to fonction proprely.
You need to enable them all at boot
Chkconfig nfs on
Chkconfig nfslock on
Chkconfig rpcbind on
Step4:
Verify that all three service are set to start on system boot
Chkconfig list nfs
Lets also look at the config files that you will be dealing
with:
/etc/sysconfig/nfs Contains the main config files for the NFS
service
/etc/exports Contains a list of resources that will be exported
(made available) to clients
Here are some additional files that you will use when
working with NFS:
/var/lib/nfs/etab Contains a list of currently exported resources
/var/lib/nfs/rmtab Contains a list of remotely mounted
resources
For the first configuration step, you need to make a few changes
to the main config file.
Step 1. Open the main config file for editing:
# vim /etc/sysconfig/nfs
MIGRATION TIP
If you are still on RHEL5, there is an unresolved bug that causes strange errors if
you disable all versions of the mountd daemon from being advertised. For RHEL5, I
recommend uncommenting only the following lines:
MOUNTD_NFS_V1=no
MOUNTD_NFS_V2=no