Posts Tagged ‘nfs’

NFS mount from an AIX client (reprise)

Thursday, April 22nd, 2010

Today I needed to mount a linux nfs exported directory from a very old AIX server:

AIX prompt> uname -a
AIX matusalem 3 4 00202856E800

This time, I had to do an additional operation to my previous notes about nfs and AIX.
The mount command issued on the AIX matusalem client failed with the error

vmount: Not owner

and the linux server reported

Apr 22 12:21:03 linuxbox kernel: nfsd: request from insecure port (192.168.5.5:34506)!

in /var/log/messages file, where 192.168.5.5 is the old AIX IP address.
After adding the word “insecure” in the nfs option of my /etc/exports file in the linux server I was able to mount the nfs share.

/opt/share/dir 192.168.5.5(rw,sync,insecure)

NFS mount from an AIX client

Wednesday, August 26th, 2009

Today I had to mount a NFS linux machine (e.g. 192.168.33.33) from an AIX client.
So I noticed the “normal” mount command may not work:

# mount 192.168.33.33:/opt/something /home/guest/tmp
mount: 1831-008 giving up on:
192.168.33.33:/opt/something
vmount: Operation not permitted.

As reported by Doomlands of the Lunatics, apparently, AIX uses high ports to establish the connectivity to NFS Server, but Linux NFS Server requires low ports (below 1024). For this reason We have to tell AIX to use those reserved ports.

# nfso -o nfs_use_reserved_ports=1
Setting nfs_use_reserved_ports to 1

OK, now We can mount the directory on the Linux NFS server:

# mount 192.168.33.33:/opt/something /home/guest/tmp