So these are my notes from a quick setup of a NFS server on AIX 7.1: -
Edit /etc/exports
Add the file system(s) to be shared via NFS: -
$ vi /etc/exports
Add the file system(s) to be shared via NFS: -
$ vi /etc/exports
- I added /opt/IBM/SWGRepo
NOTE I'm not specifying any access control here - anyone can access this share :-(
Start the NFS daemons
$ startsrc -s nfsd
$ startsrc -s mountd
Export File Systems
$ exportfs -a
Show What's Exported
$ showmount -e
Mount ( from another box )
$ mkdir /tmp/nfs
$ mount P710_05_LPAR1://opt/IBM/SWGRepo /tmp/nfs
Job done :-)
For the record, I believe the NFS server can support v2, v3 and v4 clients, based upon the following: -
$ rpcinfo -p | grep nfs
...
program vers proto port service100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
...
No comments:
Post a Comment