You are not logged in.

#1 2014-04-18 07:32:52

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 291

[solved] mounted NFS shows nobody:nobody

I followed the wiki and found a thread that mentioned using the fsid=0 option in exports file but its not working for me.

I enabled rpc-idmapd on the client (Arch), its running I checked with systemctl status rpc-idmapd. The server is running Debian Wheezy with ZFS volumes mounted and exported as legacy, I placed 'NEED_IDMAPD=YES' in /etc/default/nfs-common and, when that didn't work, in /etc/default/nfs-kernel-server too. I restart nfs-kernel-server after changes and remount the shares on the client.

When that didn't work I exported the shares with 'fsid=0', but then I can't even enter the share, I get 'device does not exist' (IIRC, that was yesterday tongue and can't find the literal message in the logs anymore).

Anyway, this worked fine when my client was running Wheezy and it still works fine for other clients so my guess is I got something wrong on my Arch system.

I'd appreciate some help getting this to work properly.

Thanks in advance!

Last edited by mouseman (2014-04-26 09:03:28)

Offline

#2 2014-04-20 10:18:22

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 291

Re: [solved] mounted NFS shows nobody:nobody

Not even remotely an idea? Anyone?

Offline

#3 2014-04-26 09:03:16

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 291

Re: [solved] mounted NFS shows nobody:nobody

I fixed it.

There's a comment in /etc/idmapd.conf:

# set your own domain here, if id differs from FQDN minus hostname

So I ignored setting a domain there as the FQDN minus hostname is the same on all machines. But now that I've set the domain on both client and server in idmapd.conf and restarted, user mapping works fine.

Offline

#4 2014-04-26 09:09:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,700
Website

Re: [solved] mounted NFS shows nobody:nobody


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Online

#5 2014-04-26 09:18:25

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 291

Re: [solved] mounted NFS shows nobody:nobody

I know that, it doesn't negate the fact that Debian has that comment that made me believe it wasn't necessary if the domain is the same on all hosts. It worked when I was running Debian on both the client and server, but with Arch apparently I need to specifically set it.

I edited the wiki to reflect this (my first edit tongue), hope I did oke there.

Offline

#6 2014-04-26 09:39:11

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,700
Website

Re: [solved] mounted NFS shows nobody:nobody

Looks good, hopefully others will find it useful.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Online

Board footer

Powered by FluxBB