Question
-
When nfs mounting from a Linux NFS server, customer gets the following
-
error:
-
-
vmount: operation not permited
Answer
-
Environment AIX versions 4.x and 5.x <!-- ProblemWhen nfs mounting from a Linux NFS server, customer gets the following error: vmount: operation not permited
-
Solution -->Sometimes Linux NFS servers will do port checking and require that the NFS client use a reserved port.
-
nfso -o nfs_use_reserved_ports=1
-
If the mount is going to be permanent, then the change needs to survive across a reboot. The nfs option must be changed permanently. On AIX 4.x and 5.1, the command above should be added to the startup scripts (possibly /etc/rc.nfs). On AIX 5.2 and above, the change can be made permanent by adding the -p flag.
-
nfso -p -o nfs_use_reserved_ports=1
实际运用:
-
# mount -o rw,bg,hard,rsize=32768,wsize=32768,vers=3,cio,intr,timeo=600,proto=tcp 172.168.1.198:/volume1/newb2bi_backup /nfs_backup
-
mount: 1831-008 giving up on:
-
172.168.1.198:/volume1/newb2bi_backup
-
vmount: Operation not permitted.
-
# nfso -p -o nfs_use_reserved_ports=1
-
正在将 nfs_use_reserved_ports 设置为 1
-
正在 nextboot 文件中将 nfs_use_reserved_ports 设置为 1
-
# mount -o rw,bg,hard,rsize=32768,wsize=32768,vers=3,cio,intr,timeo=600,proto=tcp 172.168.1.198:/volume1/newb2bi_backup /nfs_backup
成功!
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30060321/viewspace-1377500/
,如需转载,请注明出处,否则将追究法律责任。