Troubleshooting For AIX NFS:1831-019

When i mount nfs on client,i got following errors,but all of nfs service are ready on server and client:

  
  
  
  
  1. # mount server:/mksysb /mnt 
  2. nfsmnthelp: 1831-019 server: System call error number -1. 
  3.  
  4. mount: 1831-008 giving up on: 
  5. server:/mksysb 
  6. System call error number -1. 

NFS Server Services:

  
  
  
  
  1. [server@root:/]showmount -e 
  2. export list for server: 
  3. /mksysb (everyone) 
  4. [server@root:/]lssrc -g nfs 
  5. Subsystem         Group            PID          Status  
  6.  biod             nfs              8519734      active 
  7.  nfsd             nfs              15859920     active 
  8.  rpc.mountd       nfs              15269990     active 
  9.  rpc.lockd        nfs              16842782     active 
  10.  rpc.statd        nfs              10485826     active 
  11.  nfsrgyd          nfs                           inoperative 
  12.  gssd             nfs                           inoperative 
  13. [server@root:/]lssrc -s portmap 
  14. Subsystem         Group            PID          Status  
  15.  portmap          portmap          4718748      active 

NFS Client Services:

  
  
  
  
  1. # lssrc -g nfs 
  2. Subsystem         Group            PID          Status  
  3.  biod             nfs              4980920      active 
  4.  rpc.statd        nfs              4718750      active 
  5.  rpc.lockd        nfs              4915372      active 
  6.  nfsd             nfs                           inoperative 
  7.  rpc.mountd       nfs                           inoperative 
  8.  nfsrgyd          nfs                           inoperative 
  9.  gssd             nfs                           inoperative 
  10. # lssrc -s portmap 
  11. Subsystem         Group            PID          Status  
  12.  portmap          portmap          5177512      active 

So,why mounted unsuccessful???

I checked the /etc/hosts file on server that couldn't find the client list in /etc/hosts.So,i added the client list to /etc/hosts file on and mounted again then success.

  
  
  
  
  1. # mount server:/mksysb /mnt 
  2. # mount |grep nfs 
  3. server /mksysb          /mnt             nfs3   Jun 15 15:17     

 

本文出自 “candon123” 博客,谢绝转载!

你可能感兴趣的:(AIX)