Quantcast
Channel: A Portal to a Portal
Viewing all articles
Browse latest Browse all 1850

Setting up a NFS Server on AIX 7.1

$
0
0
Please please note that this is very much as-is and I have NOT NOT NOT considered security here - this is for an internal demo environment. Your mileage may/will vary.

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

-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  service
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
...



Viewing all articles
Browse latest Browse all 1850

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>