Mailinglist Archive: opensuse (686 mails)

< Previous Next >
[opensuse] Problem mounting nfs partition on 12.3
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Thu, 11 Jul 2013 12:46:32 +0200 (CEST)
  • Message-id: <alpine.LNX.2.00.1307111047120.16893@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Situation:

Some machines can mount a share, others can not.

For example, I can mount the share on a 12.3 host with a 12.3, acting as nfsserver, with a 12.3 guest in vmplayer, acting as nfs client.

However, the same host machine can not mount it localy to itself (nfs client); neither can my laptop (network is fine: I can ping and ssh).

Server exports entry (one single line, wrapped here for clarity):

/data/storage_c/repositorios_zypp/ \

192.168.1.0/24(fsid=1234,rw,no_root_squash,nohide,no_subtree_check,insecure) \

172.16.108.0/24(fsid=1234,rw,no_root_squash,nohide,no_subtree_check,insecure) \

192.168.74.0/24(fsid=1234,rw,no_root_squash,nohide,no_subtree_check,insecure) \

127.0.0.1(fsid=1234,rw,no_root_squash,nohide,no_subtree_check,insecure)

Server import entry:

localhost:/data/storage_c/repositorios_zypp/ /mnt/nfs/tmp nfs defaults
0 0




vmplayer guest; fstab entry:

telcontar.valinor:/data/storage_c/repositorios_zypp
/var/cache/zypp/nfs_packages nfs4 defaults 0 0



Output in terminal using vmplayer guest:

eleanor3:~ # mount | grep nfs
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
telcontar.valinor:/data/storage_c/repositorios_zypp on
/var/cache/zypp/nfs_packages type nfs4
(rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.74.127,local_lock=none,addr=192.168.1.14)
eleanor3:~ #
eleanor3:~ # ls /var/cache/zypp/nfs_packages
11_2 Karlos ArguiƱano en tu cocina (20110617) - Q9.480*384.xvid.avi
11_3 NO_BORRAR__son_cruciales
11_4 not_mounted
12_1 notas
12_2 notas~
12_3 se_montan_en_var_cache_zypp_packages
eleanor3:~ # eleanor3:~ # umount /var/cache/zypp/nfs_packages
eleanor3:~ # time mount /var/cache/zypp/nfs_packages

real 0m0.085s
user 0m0.004s
sys 0m0.013s
eleanor3:~ #


(it was mounted on boot)



However, if I try on the server, local nfs mount, all I get is a long timeout, or nothing. Same thing froom the laptop, but this time I get an entry on the server firewall log that the package was accepted.


Telcontar:~ # time mount /mnt/nfs/tmp
^C

real 99m3.772s
user 0m0.002s
sys 0m0.000s
Telcontar:~ #date
Thu Jul 11 12:33:50 CEST 2013
Telcontar:~ #
Telcontar:~ # l /mnt/nfs/tmp
total 8
drwx------ 2 root root 4096 Aug 11 2012 ./
drwxrwx--- 4 root root 4096 Aug 11 2012 ../
- -rw-r--r-- 1 root root 0 Nov 11 2010 not_mounted
Telcontar:~ #


Log:

<0.5> 2013-07-11 11:20:04 Telcontar kernel - - - [507374.048098] nfs: server
localhost not responding, timed out
<0.5> 2013-07-11 11:24:05 Telcontar kernel - - - [507614.688025] nfs: server
localhost not responding, timed out
<0.5> 2013-07-11 11:28:05 Telcontar kernel - - - [507855.328205] nfs: server
localhost not responding, timed out
<0.5> 2013-07-11 11:32:06 Telcontar kernel - - - [508095.968022] nfs: server
localhost not responding, timed out
...
several more, one every 4 minutes.
...
<0.5> 2013-07-11 12:31:22 Telcontar kernel - - - [511652.320029] nfs: server
localhost not responding, timed out


Being on localhost, there can not be firewal issues. This setup worked fine
on 12.1 (sysstemv), but fails now on 12.3 (systemd), I have not changed the
config.

- -- Cheers

Carlos E. R.
(from 12.3 x86_64 "Dartmouth" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlHejRAACgkQtTMYHG2NR9W+bACdFhdiWFpHpE1Xc6EkcJzQ0RlO
0JgAoIWphHnONiOZehDvedlGd47q5AD3
=R2gw
-----END PGP SIGNATURE-----
< Previous Next >