![](https://seccdn.libravatar.org/avatar/4368e99d5f0df2171e3aa05ff132ce54.jpg?s=120&d=mm&r=g)
Hi to all, I can't seem to get an nfs mount to work. When I issue: linux:/media # mount /media/tra1 I see that the request gets to the server on /var/log/messages as: Jul 30 15:26:21 tra1 rpc.mountd: authenticated mount request from 10.192.32.245:866 for /home/shared (/home/shared) But I get the response: mount: RPC: Timed out /etc/fstab has the entry with the mount command: 10.192.32.10:/home/shared /media/tra1 nfs rw,auto,wsize=1500,rsize=1500 0 0 Any ideas on what may be wrong? I'm using a stock SL PRo 9.1 system if that makes a difference. TIA, Jesse
![](https://seccdn.libravatar.org/avatar/4368e99d5f0df2171e3aa05ff132ce54.jpg?s=120&d=mm&r=g)
Another tidbit of info which may clear things - The server exports file looks like this: tra1:~ # cat /etc/exports /home/shared/ *(ro,root_squash,sync)
![](https://seccdn.libravatar.org/avatar/c8b5fd3e5b29813725509a325cacd33d.jpg?s=120&d=mm&r=g)
On Friday 30 Jul 2004 14:38 pm, Jesse Pretorius wrote:
Hi to all,
I can't seem to get an nfs mount to work.
When I issue:
linux:/media # mount /media/tra1
I see that the request gets to the server on /var/log/messages as:
Jul 30 15:26:21 tra1 rpc.mountd: authenticated mount request from 10.192.32.245:866 for /home/shared (/home/shared)
But I get the response:
mount: RPC: Timed out
/etc/fstab has the entry with the mount command:
10.192.32.10:/home/shared /media/tra1 nfs rw,auto,wsize=1500,rsize=1500 0 0
Any ideas on what may be wrong? I'm using a stock SL PRo 9.1 system if that makes a difference.
Is either machine running a firewall on the connection? Can we see the entry in the server's /etc/exports and the output from the exportfs command? Which filesystem are you using on the server? Dylan
TIA,
Jesse
-- "I see your Schwartz is as big as mine" -Dark Helmet
![](https://seccdn.libravatar.org/avatar/4368e99d5f0df2171e3aa05ff132ce54.jpg?s=120&d=mm&r=g)
Is either machine running a firewall on the connection?
Nope. Both have all the SuSEfirewall's disabled in their runlevels.
Can we see the entry in the server's /etc/exports and the output from the exportfs command?
tra1:~ # cat /etc/exports /home/shared/ *(ro,root_squash,sync) tra1:~ # exportfs /home/shared <world>
Which filesystem are you using on the server?
ReiserFS Thanks again, Jesse
![](https://seccdn.libravatar.org/avatar/c8b5fd3e5b29813725509a325cacd33d.jpg?s=120&d=mm&r=g)
On Friday 30 Jul 2004 16:31 pm, Jesse Pretorius wrote: <SNIP>
Which filesystem are you using on the server?
ReiserFS
I'm sorry to say this may well lie at the root of your problem. No matter how much the reiserfs proponents may protest otherwise the fs is not fully compatible with nfs. I have just finished testing wether it fails on 9.1 and it does - ext3 works fine, but reiser gives (mainly) rpc timeout errors, still. Dylan
Thanks again,
Jesse
-- "I see your Schwartz is as big as mine" -Dark Helmet
![](https://seccdn.libravatar.org/avatar/6c37c3c79825c341debabdc6e7a0e2e0.jpg?s=120&d=mm&r=g)
Jesse Pretorius
I can't seem to get an nfs mount to work.
Try to use YaST2 to setup both the client and the server (switch off a firewall first.) Sure, you can do it without YaST2 but if you only want to get NFS running then the know-how doesn't worth the effort. -- A.M.
![](https://seccdn.libravatar.org/avatar/6c37c3c79825c341debabdc6e7a0e2e0.jpg?s=120&d=mm&r=g)
Jesse Pretorius
Try to use YaST2 to setup both the client and the server (switch off a firewall first.)
That's exactly how I did it.
OK, then the related services (mountd, portmap, ... ) should run. IMHO wsize=1500 and rsize=1500 are not inserted by YaST2 by default so I suspected YaST2 had not been used. Don't you have any additional limitations in /etc/hosts.allow and /etc/hosts.deny? The default works for NFS. What is the output of rpcinfo? The following is from my computer: client$ /usr/sbin/rpcinfo -p server program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100021 1 udp 32768 nlockmgr 100021 3 udp 32768 nlockmgr 100021 4 udp 32768 nlockmgr 100024 1 udp 32768 status 100021 1 tcp 32768 nlockmgr 100021 3 tcp 32768 nlockmgr 100021 4 tcp 32768 nlockmgr 100024 1 tcp 32768 status 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100227 3 udp 2049 nfs_acl 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100227 3 tcp 2049 nfs_acl 100005 1 udp 955 mountd 100005 1 tcp 958 mountd 100005 2 udp 955 mountd 100005 2 tcp 958 mountd 100005 3 udp 955 mountd 100005 3 tcp 958 mountd (machines are named "client" and "server"). -- A.M.
![](https://seccdn.libravatar.org/avatar/c8b5fd3e5b29813725509a325cacd33d.jpg?s=120&d=mm&r=g)
On Friday 30 Jul 2004 17:44 pm, Alexandr Malusek wrote:
Jesse Pretorius
writes: Try to use YaST2 to setup both the client and the server (switch off a
firewall first.)
That's exactly how I did it.
OK, then the related services (mountd, portmap, ... ) should run. IMHO wsize=1500 and rsize=1500 are not inserted by YaST2 by default so I suspected YaST2 had not been used.
Yes, also these should be relevant multiples, try a power of 2, mine are set to 16384 which I arrived at after much experimental file copying. Dylan -- "I see your Schwartz is as big as mine" -Dark Helmet
![](https://seccdn.libravatar.org/avatar/a19d25579deb6397872fa16af3691f0c.jpg?s=120&d=mm&r=g)
Quoting Dylan
On Friday 30 Jul 2004 17:44 pm, Alexandr Malusek wrote:
Jesse Pretorius
writes: Try to use YaST2 to setup both the client and the server (switch off a
firewall first.)
That's exactly how I did it.
OK, then the related services (mountd, portmap, ... ) should run. IMHO wsize=1500 and rsize=1500 are not inserted by YaST2 by default so I suspected YaST2 had not been used.
Yes, also these should be relevant multiples, try a power of 2, mine are set to 16384 which I arrived at after much experimental file copying.
Dylan --
Actually 8192 is a more all around size for large and small files. Brad
![](https://seccdn.libravatar.org/avatar/4368e99d5f0df2171e3aa05ff132ce54.jpg?s=120&d=mm&r=g)
wsize=1500 and rsize=1500 are not inserted by YaST2 by default so I suspected YaST2 had not been used.
Yes, that was a troubleshooting step that I did after using YaST2 after googling around a little. Without that doesn't make a difference.
Don't you have any additional limitations in /etc/hosts.allow
Everything in there is REMmed out. Ie it has a # as the first character in every line
and /etc/hosts.deny? The default works for NFS.
Nothing in there either
What is the output of rpcinfo?
Much the same as yours: tra1:~ # rpcinfo -p 10.192.32.10 program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 100227 3 udp 2049 nfs_acl 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100227 3 tcp 2049 nfs_acl 100021 1 udp 1097 nlockmgr 100021 3 udp 1097 nlockmgr 100021 4 udp 1097 nlockmgr 100024 1 udp 1097 status 100021 1 tcp 1107 nlockmgr 100021 3 tcp 1107 nlockmgr 100021 4 tcp 1107 nlockmgr 100024 1 tcp 1107 status 100005 1 udp 997 mountd 100005 1 tcp 1000 mountd 100005 2 udp 997 mountd 100005 2 tcp 1000 mountd 100005 3 udp 997 mountd 100005 3 tcp 1000 mountd More info: When I use YaST2's module to setup the mount, after putting in the IP address of the server and choosing 'select' for the 'Remote File System', it picks up the export. IT's just when it's writing the config at the stage when it restarts the service that it indicates that it can't mount the service. Trying it manually, it clearly indicates an authenticated mount in the server's /var/log/messages, but on the client side it gives the original error 'mount: RPC: Timed out' Very odd. I'll be doing an update soon and will see if updated packages don't solve the problems I'm experiencing. Meanwhile, I've been working with mounting shares using smb which seems to be working. J-)
participants (4)
-
Alexandr Malusek
-
bdameron@tscnet.net
-
Dylan
-
Jesse Pretorius