Citrix Systems 4.2 Server User Manual


 
Set Up a File Server
139
sync: exportfs notify client when file write is complete instead of async notify
Warning
Be careful with space characters in these NFS configuration files. They must be used
exactly as shown in the syntax.
2. In /etc/hosts.deny, list the clients that are not permitted access to the NFS server by default. For
example, you might want to start by denying access to everyone:
portmap:ALL
In the next step, you'll override this to allow specific hosts.
3. In /etc/hosts.allow, list the clients that are allowed to access the NFS server. This list takes
precedence over the list in /etc/hosts.deny. For example (note the placement of space characters):
portmap: host1 , host2
Note
Clients that are not listed in either file are allowed access to the NFS server.
4. Verify that NFS is running on the NFS server:
# rpcinfo -p
The output should show the following services running:
portmapper
rquotad
mountd
nfs
nlockmgr
status
If so, then you are finished setting up the NFS server.
5. If the services are not already running, you need to start the following NFS daemons on the NFS
server:
rpc.portmap
rpc.mountd
rpc.nfsd
rpc.statd