Linux NFSv4 Howto
NFS is commonly used to share files on Linux. NFSv4 is the latest protocol and circumvents firewall related complications experienced with NFSv3 by requiring only ONE fixed tcp port open on the server side. It is surprisingly easy to set up:
Server side:
Client side:
It is not necessary to specify the exact path on the "server:/" with NFSv4.
Useful sites:
Learning NFSv4 with Fedora Core 2
RHEL4 NFS manual
Linux NFS-HOWTO
Server side:
- Edit /etc/exports and add directories to be exported (fsid=0 is a mandatory option for nfs4) and authorized clients (check the exports manpage)
- Open up tcp port 2049 on the firewall
- # /etc/init.d/nfs restart
- # chkconfig --level 345 nfs on
Client side:
- # mount -t nfs4 -o rw,intr,hard server:/ /mount/point
It is not necessary to specify the exact path on the "server:/" with NFSv4.
Useful sites:
Learning NFSv4 with Fedora Core 2
RHEL4 NFS manual
Linux NFS-HOWTO
0 Comments:
Post a Comment
<< Home