In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
This is a classic mistake:
[pt1rac1@root] # mount cs3:/sharedirs / sharedir
Nfsmnthelp: 1831-019cs3: System call errornumber-1.
Mount: 1831-008giving up on:
Cs3:/sharedirs
System call error number-1.
Need to add in the NFS server and client / etc/hosts, each side of the resolution
Using Google, you can find a lot of information, and it's all the same, saying that you need to add host names to each other in the host table, which is correct, but it ignores the "nature" of the IP corresponding to these host items. As shown above, the host item I added the client pt1rac1 to the cs3 server is the VIP of the pt1rac1 server (this is a rac cluster server). As a result, it cannot be mounted alive or dead. Later, the IP of pt1rac1 in the host table of cs3 is written as its real IP (that is, the IP configured in the network card, rather than the IP from "alias"), and the problem is solved!
Conclusion: virtual IP cannot be used when mounting NFS on AIX! The reason is unknown!
# mount-o nolock,hard,bg,proto=tcp,suid,rsize=32768,wsize=32768,noac 80.12.73.33:/oa / oa
Nfsmnthelp: invalid option nolock ignored
Mount: 1831-008giving up on:
80.12.73.33:/oa
Vmount: A file or directory in the path name does not exist.
The reason for the error is that the / oa directory does not exist locally
The check steps are as follows:
1. Check whether the NFS processes on both machines are started
The waiting process required by the NFS server:
Portmap: maps the remote procedure call program (RPC) to the TCP/IP port number of the transport layer.
Rpc.mountd: respond to the file system installation request sent by the client.
Nfsd: executes the client's Istroke O request.
The waiting process required by the NFS client:
Portmap: maps the remote procedure call program (RPC) to the TCP/IP port number of the transport layer.
Biod: read blocks in advance or delay writing out blocks from the client's high-speed buffer.
On the server, all required processes have been started!
two。 Check the export list
# showmount-e
# exportfs-v
Can check that the export has been successful
3. Compare with other machines that can NFS normally, and find out the reason: the mapping of each other's IP and hostname must be added to each other in the client and server's / etc/hosts file. After modification, the problem is solved.
4. On the client, import the file system using the following command
# mount 192.168.54.68:/tmp/test / test
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:
# mount server:/mksysb / mnt nfsmnthelp: 1831-019 server: System call error number-1. Mount: 1831-008giving up on: server:/mksysb System call error number-1.
NFS Server Services:
[server@root:/] showmount-e export list for server: / mksysb (everyone) [server@root:/] lumped cards 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:/] lager active c-s portmap Subsystem Group PID Status portmap portmap 4718748 active
NFS Client Services:
# lounge thanks to 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 # lager license 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.
Hostname resolution for nfs clients should be added under / etc/hosts of the NFS server
# mount server:/mksysb / mnt # mount | grep nfs server / mksysb / mnt nfs3 Jun 15 15:17
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.