When i mount nfs on client,i got following errors,but all of nfs service are ready on server and client:
- # mount server:/mksysb /mnt
- nfsmnthelp: 1831-019 server: System call error number -1.
- mount: 1831-008 giving up on:
- server:/mksysb
- System call error number -1.
NFS Server Services:
- [server@root:/]showmount -e
- export list for server:
- /mksysb (everyone)
- [server@root:/]l***c -g nfs
- Subsystem Group PID Status
- biod nfs 8519734 active
- nfsd nfs 15859920 active
- rpc.mountd nfs 15269990 active
- rpc.lockd nfs 16842782 active
- rpc.statd nfs 10485826 active
- nfsrgyd nfs inoperative
- gssd nfs inoperative
- [server@root:/]l***c -s portmap
- Subsystem Group PID Status
- portmap portmap 4718748 active
NFS Client Services:
- # l***c -g nfs
- Subsystem Group PID Status
- biod nfs 4980920 active
- rpc.statd nfs 4718750 active
- rpc.lockd nfs 4915372 active
- nfsd nfs inoperative
- rpc.mountd nfs inoperative
- nfsrgyd nfs inoperative
- gssd nfs inoperative
- # l***c -s portmap
- Subsystem Group PID Status
- 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.
- # mount server:/mksysb /mnt
- # mount |grep nfs
- server /mksysb /mnt nfs3 Jun 15 15:17