NFS mount problems
Hi all,
I am having a NAS device and my system,the IP address of NAS is 192.168.1.31 and system is 192.168.1.13.I am having a folder called driver on system directory /mnt/ide1/.This driver folder i want to share with the of NFS protocol.I have made an entry in /etc/exports file for that folder.I am passing this command on my NAS device: mount -t nfs 192.168.1.13:/mnt/ide1/driver /home. But i am getting some RPC related errors. and also "mount:nfsmount failed:Bad file descriptor" If you have questions,please ask them. Thanks for support, Regards, Ravi Chobey |
First step is to make sure you have portmap running on the server, the RPC errors are very likely to be due to the portmap daemon being stopped.
Some good pointer for troubleshooting are at [1] below, but first things first, start portmap and let us know if that does the trick. Also post ryou /etc/exports, the syntax is picky, a simple extra space could prevent things from working smoothly Also why mounting on /home? /home is very probably already used by something else. what does the mount command returns? hth Thierry [1] http://www.troubleshooters.com/linux/nfs.htm |
hi thierrys,
Thanks for your reply and a good link. My portmapper and nfs both are running for runlevels 3,4 and 5 i.e they are "on". I have made an entry in in :/etc/exports as /mnt/ide1/test (rw) [single space between them]. tried this command: mount -t nfs -o rw 192.168.1.13:/mnt/ide1/test /mnt/test I am getting: "RPC timed out". Whats the problem now? Regards, Ravi |
Quote:
/path/to/driver authorized_host(rw) so if the path is /data/drivers and you want all hosts on your network to have read-write access it should be /data/drivers *(rw) note there is no space between the wildcard * and the (rw) the link privided gives you the possible options Make sure to restart the nfs and portmap daemon once you have made any modification hth Thierry |
hi thierrys,
i have made changes in /etc/exports as: 1> /mnt/ide1/test *(rw) after that: 2> service nfs restart 3> service portmapper restart i found the NFS daemons and portmapper restarting. After that i passed this command: mount -t nfs -o rw 192.168.1.13:/mnt/ide1/test /mnt/test i have passed this command on my system to mount "/mnt/ide1/test" on to my "/mnt/test" directory of my NAS device. I am getting the same error i.e "RPC timed out". Note: i) there is a white space between /mnt/ide1/test and * . ii) there is no white space between * and (rw). Regards, Ravi |
hi thierrys,
please go though the output of "rpcinfo -p" command: [root@localhost /]# rpcinfo -p program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 32769 status 100024 1 tcp 32768 status 391002 2 tcp 32769 sgi_fam 100011 1 udp 1019 rquotad 100011 2 udp 1019 rquotad 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100021 1 udp 32806 nlockmgr 100021 3 udp 32806 nlockmgr 100021 4 udp 32806 nlockmgr 100005 1 udp 613 mountd 100005 1 tcp 616 mountd 100005 2 udp 613 mountd 100005 2 tcp 616 mountd 100005 3 udp 613 mountd 100005 3 tcp 616 mountd |
hi thierrys,
i have checked with one system to other system,instead of NAS.I am easily easily accessing files on the other system with the help of NFS protocol, i have used the same procedure which i have mentioned earlier.The conclusion of our discussion is "there is some problem with my NAS device". A ton of thanks to you, Regards, Ravi Chobey |
are you trying to get the NAS to mount the exported share or mounting from the NAS to your machine?
One of the nodes is obviously not running portmap I would say.. |
hi thierrys,
I am having support of portmapper in NAS,that i have checked.But i could not sort out the "RPC" timed out problems. Ravi |
that's weird...
the only time I have ever seen RPC timeout were when portmap/nfs had not been restarted properly. hung thread or a stale process maybe... |
All times are GMT -5. The time now is 05:11 PM. |