I have an nfs share running on a Lunux (RH7.2) server. I would like to mount the share from my AIX server (acting as a client), but can't find the steps to do this. Any assistance would be appreciated.
One more thing, you will have to create the directory on the AIX machine, prior to setting up the NFS Mount. Once the mount is created, then mount the command.
hi,
smit creates local mount point, but the problem is that
when you give the mount command on AIX, it returns an error.
At Linux side, you have to modify some parameter in the share: in 7.2 I set "allow insecure...", while in 9.0 I had to "allow connection from port under 5xxx".
bye
If I understand you correctly, you are speaking of using the Linux machine as the client and the AIX as the server. I wanted to do it the other way around. (AIX client and Linux server). Did I miss something?
On Linux box foo01:
- Edit /etc/exports, for example:
/tmp *(rw,insecure,all_squash)
- Do an exportfs -av
On AIX box:
- No smit needed, just check for a directory (or create one) you want to use as a mount point do, for example mkdir /mnt/foo1:
mount -o wsize=1024,rsize=1024 foo1:/tmp /mnt/foo1
I would add those wsize and rsize options to prevent NFS retries and errors which might lower the transfer rate to a uselesness.
Thanks Zaxxon. That worked fine. I assume the "insecure" part allows it to work for any user.
Would /tmp IPaddress(rw,insecure,all_squash)
restrict the connection to a the IPaddress machine only even with the "insecure"?
Np
The insecure option allows clients with NFS implementations that don't use a reserved port for NFS.
It will only effects the IPaddress you have given, as the NFS share is only for this IPaddress.
If you type "man exports", you will get a lot of options. An exports file will look different on AIX than on Linux. Linux offers more options, at least compared with AIX 4.3.3.
Instead of exporting the filesystem as insecure from the Linux machine you could try configuring the AIX machine
to use secure ports by running the command:
nfso -o nfs_use_reserve_ports=1 before mounting.
This is a runtime option so it needs to be set after
every reboot (for example in /etc/rc.nfs).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.