Q. How do I restart NFS server when network link goes down between two servers or NFS client / server under CentOS 4.x / RHEL / CentOS Linux 5.x? Forceful umount command result into more problems such as unresponsive NFS server and cold reboot only solves my problem.
Q. What values can be tuned to improve NFS performance? How do I improve my NFS sever and client performance under Linux operating systems?
Q. How do I install and configure NFS 4 Server under Ubuntu Linux ?
A. In order to set NFS server you need to install the following packages:
=> nfs-kernel-server – Linux NFS Server
=> nfs-common – NFS Common programs
=> portmap – The RPC portmapper
Q. How do I mount NFS filesystem twice in two different dirs on same Linux client?
NFS Server : nfsserver:/data
Mount to dirs /home/data and /backup
A. You will not able to do that. However mount command has bind option to remount part of the file hierarchy somewhere else.
Procedure
First mount to /home/data
# mount -t nfs4 nfsserver:/data [...]