NFS mount results in "vmount: operation not permitted" error

NFS mount results in "vmount: operation not permitted" error

Troubleshooting


Problem

Attempts to mount a remote file system from a Linux NFS server results in the error "vmount: operation not permitted".

Symptom

Unable to mount the remote file system.

Example:

root@lpar3:/ # mount 10.5.0.5:/repository /mnt
mount: 1831-008 giving up on:
10.5.0.5:/repository
vmount: Operation not permitted.

Cause

Sometimes Linux NFS servers will do port checking and require that the NFS client use a reserved port.

Environment

AIX versions 4.x and 5.x.

Resolving The Problem

Use a reserved port in the mount command:

Example:

root@lpar3:/ # nfso -o nfs_use_reserved_ports=1
Setting nfs_use_reserved_ports to 1            
root@lpar3:/ # mount 10.5.0.5:/repository /mnt

Note: To make this setting permanent, use the nfso  -p switch or add it to  /etc/rc.local.


请使用浏览器的分享功能分享到微信等