phaluz
February 1, 2010, 3:36pm
1
i am trying to mount remote directory.
on the client pc with SuSE 11.2 /etc/fstab contains
serverMachine:/sharedDir /localDir nfs defaults 0 0
when i try to mount, result is:
mount /localDir
mount.nfs: mount system call failed
showmount results in this:
showmount -e serverMachine
rpc mount export: RPC: Timed out
i tried with disabled firewall to no result.
oddly, when i try showmount command from another client pc with SuSE 11.1, i see that /sharedDir directory is exported.
the nfs server is pc with SuSE 10.1, its /etc/exports file reads
/sharedDir *(rw,root_squash,sync)
did i miss something?
thanks for help in advance
phaluz
February 2, 2010, 11:33am
2
i might add, that i can ping and ssh to server without problem. when trying to configure nfs client through yast, it says that no servers are visible
knurpht
February 2, 2010, 12:33pm
3
Only thing I can see on my system, is this
/home *(rw,root_squash,sync,no_subtree_check)
Try adding the last option on the server side. IIRC it’s needed by latest NFS. Rest looks OK, so I guess the problem is in here.
phaluz
February 2, 2010, 1:13pm
4
i added the option, then executed /etc/init.d/nfsserver restart and nothing has changed.
according to this site exports(5): NFS file systems being exported - Linux man page , the check is disabled by default.
Leaving it out led to complaints in the past, that’s all I remember.
Take a good look at the 11.2 client machine’s settings. How did you configure the NFS client? Just added the line to fstab or through Yast? Is NFS even started on the client?
phaluz
February 2, 2010, 2:15pm
6
first i only edited fstab. then i tried configuring via yast - yast says no servers are visible.
i tried this - i don’t know, if it is of any help…
/etc/init.d/nfs status
> Checking for mounted nfs shares (from /etc/fstab): unused
/etc/init.d/nfs restart
> Shutting down NFS client services: idmapd rpc.statd done
> Starting NFS client services: sm-notify idmapd done
/etc/init.d/nfs status
> Checking for mounted nfs shares (from /etc/fstab): unused