-
Member
nfs mount gives mount: RPC: Timed out
I have several Linux boxes on a ethernet lan using a hub. I want to share files on the main host with the networked clients. I''ve shared the directory via nfs, and I can mount it on the host as :-
mount 192.168.0.1:/data6 /mnt
/data6 has read-write permission for all.
When I try to mount this from the networked client box I get :-
mount: RPC: Timed out
What else do I need to do to make the directory accessable ?
/etc/exports contains :-
/data6/ *(rw,async,all_squash)
thanks
Rod
-
Administrator
Rod
Try this
etc/exports
/data6 192.168.0.0/255.255.255.0(rw,no_root_squash,async)
On the clienrs
mount -t nfs -o nolock 192.168.0.1:/data6 /mnt
It might be better to create an empty directory on the clients called data6
and mount against that.
mount -t nfs -o nolock 192.168.0.1:/data6 /data6
Brian
-
Member
Thanks for those tips. I found that the main problem was, I had forgotten that the NAT router I use for internet connection sharing is also a firewall - I needed to add the client machine to the server's list of trusted hosts. As soon as I did that nfs starts working.
-
Member
Another thing I had to do was make rsize and wsize real small because the client has a really old nic, and large block sizes caused it to hang. So the mount command :-
mount -t nfs -o rsize=4096,wsize=4096 192.168.0.1:/data6 /mnt/data6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules