[opensuse] Suddenly, broken NFS ownership on client side
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Using NFS on 11.4 both server and client. Today I see this - I changed nothing - on the client: minas-tirith:~ # l /var/cache/zypp/nfs_packages/11_4/ total 12 drwxr-xr-x 29 4294967294 4294967294 4096 Jun 29 00:23 ./ drwxr-xr-x 6 4294967294 4294967294 4096 Feb 12 03:01 ../ - -rw-r--r-- 1 4294967294 4294967294 0 Jun 3 2011 11.4 drwxr-xr-x 3 4294967294 4294967294 19 Mar 24 01:36 EXT.P_NVidia/ drwxr-xr-x 5 4294967294 4294967294 52 May 9 2011 Ext_Packman/ drwxr-xr-x 2 4294967294 4294967294 6 May 9 2011 Ext_Videolan/ drwxr-xr-x 2 4294967294 4294967294 4096 Jun 9 15:16 Ext_google-talkplugin/ The same directory on the server side: Telcontar:~ # l /var/cache/zypp/packages.link/ total 12 drwxr-xr-x 29 root root 4096 Jun 29 00:23 ./ drwxr-xr-x 6 root root 4096 Feb 12 03:01 ../ - -rw-r--r-- 1 root root 0 Jun 3 2011 11.4 drwxr-xr-x 3 root root 19 Mar 24 01:36 EXT.P_NVidia/ drwxr-xr-x 5 root root 52 May 9 2011 Ext_Packman/ drwxr-xr-x 2 root root 6 May 9 2011 Ext_Videolan/ drwxr-xr-x 2 root root 4096 Jun 9 15:16 Ext_google-talkplugin/ What happened to the users name? It should be root, not that number. /etc/exports (server): /data/storage_c/repositorios_zypp/ 192.168.1.0/24(fsid=1234,rw,no_root_squash,nohide,no_subtree_check,insecure) /etc/fstab (client): 192.168.1.14:/data/storage_c/repositorios_zypp/ /var/cache/zypp/nfs_packages nfs defaults,noauto,nofail 0 0 - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk/s3JUACgkQtTMYHG2NR9UzEwCgixB+5IS5qdcLV9LbBSx/TCsU 8yYAoJP+G6ViDPA738LEq+i2KLkJY3of =hhop -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-06-29 00:37, Carlos E. R. wrote:
Using NFS on 11.4 both server and client. Today I see this - I changed nothing - on the client:
I see this on the server log: <3.4> 2012-06-29 00:36:03 Telcontar rpc.idmapd 7438 - - nss_getpwnam: name 'nobody' does not map into domain 'localdomain' Related? - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/s4owACgkQIvFNjefEBxpUvwCfXSh/HE2kmfOeXDUN/n0IDlFW l7IAoMjVEznQZV3jM4E1QDBWRXWMjhb0 =kH9P -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 29/06/12 01:02, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-06-29 00:37, Carlos E. R. wrote:
Using NFS on 11.4 both server and client. Today I see this - I changed nothing - on the client:
I see this on the server log:
<3.4> 2012-06-29 00:36:03 Telcontar rpc.idmapd 7438 - - nss_getpwnam: name 'nobody' does not map into domain 'localdomain'
Related?
- -- Cheers / Saludos,
You get that and uid:gid errors when nfs3 and nfs4 are mixed. The server is exporting nfs4 but the client is mounting nfs3. Which is intended? 3 or 4. If 4, try changing fstab on the client to nfs4 and make sure that rpc.idmapd is running at both ends. L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-06-29 07:47, lynn wrote:
On 29/06/12 01:02, Carlos E. R. wrote:
You get that and uid:gid errors when nfs3 and nfs4 are mixed.
The server is exporting nfs4 but the client is mounting nfs3. Which is intended? 3 or 4. If 4, try changing fstab on the client to nfs4 and make sure that rpc.idmapd is running at both ends.
I have not changed the configuration at neither side, and it was working previously. I do not care what version of nfs it uses, I set none explicitly. Ok, changed fstab to nfs4, same problem. Changed the option to "nfs3" and mount responded: mount: unknown filesystem type 'nfs3' - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/t77gACgkQIvFNjefEBxoicACffmVnw9cp4Zsetnhv4Eg4lWF7 CWAAoNTnPLvtg1sDm/ZQtO7viHqvG68m =Tk4n -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 29/06/12 20:11, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-06-29 07:47, lynn wrote:
On 29/06/12 01:02, Carlos E. R. wrote:
You get that and uid:gid errors when nfs3 and nfs4 are mixed.
The server is exporting nfs4 but the client is mounting nfs3. Which is intended? 3 or 4. If 4, try changing fstab on the client to nfs4 and make sure that rpc.idmapd is running at both ends.
I have not changed the configuration at neither side, and it was working previously. I do not care what version of nfs it uses, I set none explicitly.
Ok, changed fstab to nfs4, same problem. Changed the option to "nfs3" and mount responded:
mount: unknown filesystem type 'nfs3'
Try it manually to make sure it's nfs3: /etc/sysconfig/nfs USE_KERNEL_NFSD_NUMBER="4" MOUNTD_PORT="" NFS_SECURITY_GSS="no" NFS3_SERVER_SUPPORT="yes" NFS4_SUPPORT="no" SM_NOTIFY_OPTIONS="" NFS_START_SERVICES="yes" STATD_OPTIONS="" NFSV4LEASETIME="" RPC_PIPEFS_DIR="" SVCGSSD_OPTIONS="" NFSD_OPTIONS="" /etc/exports (server): /data/storage_c/repositorios_zypp/ 192.168.1.0/24(no_root_squash,no_subtree_check,insecure) rcnfsserver restart then on the client: rcnfs restart umount /var/cache/zypp/nfs_packages mount -t nfs 192.168.1.14:/data/storage_c/repositorios_zypp/ /var/cache/zypp/nfs_packages -overs=3 HTH L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-06-30 00:12, lynn wrote:
On 29/06/12 20:11, Carlos E. R. wrote:
I'm now running the 12.1 test partition on the same laptop, and mounting the same nfs share from the desktop with the same fstab line, and I get the correct listing!
Try it manually to make sure it's nfs3:
/etc/sysconfig/nfs USE_KERNEL_NFSD_NUMBER="4"
My 12.1 client is using version 4... I think. Yes, I forced nfs4 in fstab and I get the same result. Version 4 works, client 12.1, server 11.4. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/uRJgACgkQIvFNjefEBxoR5ACg2F0ZsKI4p+NQz8YaGhKsCZc5 tyEAn1/d5zQzCssN/pTwP/QLtt3SrFeF =z6Ji -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 30/06/12 02:13, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-06-30 00:12, lynn wrote:
On 29/06/12 20:11, Carlos E. R. wrote:
I'm now running the 12.1 test partition on the same laptop, and mounting the same nfs share from the desktop with the same fstab line, and I get the correct listing!
Try it manually to make sure it's nfs3:
/etc/sysconfig/nfs USE_KERNEL_NFSD_NUMBER="4"
This line has nothing to do with the nfs version. L x
My 12.1 client is using version 4... I think. Yes, I forced nfs4 in fstab and I get the same result.
Version 4 works, client 12.1, server 11.4.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Fri, 29 Jun 2012, Carlos E. R. wrote:
Ok, changed fstab to nfs4, same problem. Changed the option to "nfs3" and mount responded:
mount: unknown filesystem type 'nfs3'
Just 'nfs' as type. See 'man mount' and 'man 5 nfs'. 'nfs4' is deprecated, so e.g.: server:/path /mountpoint nfs defaults,_netdev,noauto,nfsvers=3,intr,... HTH, -dnh -- Check it out, send me comments, and dance joyously in the streets, -- Linus Torvalds announcing 2.0.27 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-06-30 00:29, David Haller wrote:
Hello,
On Fri, 29 Jun 2012, Carlos E. R. wrote:
Ok, changed fstab to nfs4, same problem. Changed the option to "nfs3" and mount responded:
mount: unknown filesystem type 'nfs3'
Just 'nfs' as type. See 'man mount' and 'man 5 nfs'. 'nfs4' is deprecated, so e.g.:
server:/path /mountpoint nfs defaults,_netdev,noauto,nfsvers=3,intr,...
The same laptop, but using the test partition with 12.1 instead of 11.4, works with version 4: 192.168.1.14:/data/storage_c/repositorios_zypp /var/cache/zypp/nfs_packages nfs defaults,_netdev,noauto,nfsvers=4 0 0 It is 11.4 client which has problems. I'll try again when I reboot the laptop. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/uRUsACgkQIvFNjefEBxpmYACeJf7BYTAeXpBllDBBNSyClPdp nHAAn3PGiZmSc9UZH257wdm5cmK/EbxY =lo0/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
Carlos E. R.
-
David Haller
-
lynn