Mount NFS Share in AIX 6.1

On some AIX 6.1 instances, you may run into problems when mounting an NFS from a Linux based machine. The root of the error lies in how AIX handles its NFS ports. You can configure AIX to use the standard NFS ports so that it can talk to the Linux box's NFS service.

Use the following code to setup AIX NFS options to use the proper ports for Linux NFS mounts:

nfso -o -p nfs_use_reserved_ports=1

Then just mount the share like you would normally. For example to mount the share temporarily, use this:

mount server:/path/to/share /mnt

That will mount the NFS share /path/to/share that is being served from a machine named "server" to your local filesystem at the directory /mnt.

12 Comments

  • This is great, thanks a lot!

  • Armagard says:

    I found the info on this blog useful.

  • Nonsikelelo says:

    Hi,I've been trying to fix an NFS issue. Without scsecus. Setup: Synology DS209+II, CFULLHDMA. The CFULLHDMA sees my window shares with no problem but fails to see the share on the synology nas. I've browsed through most of the posts on this subject. On synology fora as well. Is there a way to manually add the share on the CFULLHDMA? I realise myself the problem can also be the synology NAS, but i've setup the NFS rights properly. Finally, CFULLHDMA saw the nas NFS once. Never again. I rearranged setups to create similar conditions but with no scsecus.Please help. My apologies if this is the wrong place for this question.RegardsDuncan

  • Grier says:

    Almost. The parameters should be re-arranged, so that "-o" is followed by its argument, "nfs_use_reserved_ports=1", or it won't work.

  • Steve says:

    I've been trying to mount an AIX 6.1 NFS share onto CentOS 6.3 for a few day's now. Done dozens of searches and found nothing yet. I've done the "nfs_use_reserved_ports=1" (BTW: it also requires a reboot), and I still get the same issue. I can mount from AIX to AIX and CentOS to CentOS but not CentOS(client) to AIX(server). mount -t nfs svraix61:/home/share /mnt/share returns "mount.nfs: Remote I/O error", with nothing written to the messages file. Showmount -e svraix61 shows "/home/share (everone)".

  • server says:

    I do accept as true with all the concepts you have offered on your post. They're really convincing and can certainly work. Nonetheless, the posts are too short for novices. May just you please extend them a bit from next time? Thank you for the post.

    • Ranger says:

      The Remote I/O error you see is a because of a version mis-match. On the centos side use -o vers=3 as part of the nfs mount command

  • Good information. Lucky me I recently found your blog by chance (stumbleupon).
    I've book marked it for later!

  • Lars Falk says:

    On AIX 5.3 i does not require a reboot but you need to stop the NFS subsystem and then start it. I asume it's the same on AIX 6.*

  • Thank you for writing this awesome article. I'm a long
    time reader but I've never been compelled to leave a comment.

    I subscribed to your blog and shared this on my Twitter.
    Thanks again for a great post!

  • Thank you for posting this awesome article. I search since a long time an answer to this
    subject and I have finally found it on your site.
    I subscribed to your blog and shared it on my Facebook.
    I will come back for sure to check your future articles!

Leave a Reply

XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

%d bloggers like this: