* NFSv4 client & Netapp Server -> Problem with id mapping
@ 2011-01-19 10:10 David McGiven
0 siblings, 0 replies; 2+ messages in thread
From: David McGiven @ 2011-01-19 10:10 UTC (permalink / raw)
To: linux-nfs
Dear NFS Users,
I have a Linux client (ubuntu 8.04) that correctly mounts through
NFSv3 an NFS share from a NetApp Filer (DataONTAP 7.2.1.1).
Due to firewall issues, I now need to use NFSv4 instead of v3.
However, I'm having the problem of seeing all the files owned by
nobody/nogroup.
Please, could anyone provide some advice ?
The command I'm using to mount it is :
mount -t nfs4 -o intr,proto=tcp filer:/vol/people /people/
These are the NetApp options :
nfs.v4.acl.enable off
nfs.v4.enable on
nfs.v4.id.domain localdomain
nfs.v4.read_delegation off
nfs.v4.write_delegation off
The filer exports are :
/vol/people -sec=sys,rw=machine1:machine2,root=master
In the linux box I've double checked that /etc/idmpad.conf domain is
the same : "localdomain".
Just in case, I'm running the rpc.impad daemon on the linux client.
This is the output for a single 'mount' and a single 'ls'
root@machine1:~# /usr/sbin/rpc.idmapd -vvvv -f
rpc.idmapd: libnfsidmap: using domain: localdomain
rpc.idmapd: libnfsidmap: using translation method: nsswitch
rpc.idmapd: Expiration time is 600 seconds.
rpc.idmapd: Opened /proc/net/rpc/nfs4.nametoid/channel
rpc.idmapd: Opened /proc/net/rpc/nfs4.idtoname/channel
rpc.idmapd: New client: 15
rpc.idmapd: Opened /var/lib/nfs/rpc_pipefs/nfs/clnt15/idmap
rpc.idmapd: New client: 16
rpc.idmapd: nss_getpwnam: name 'root@localdomain' domain
'localdomain': resulting localname 'root'
rpc.idmapd: Client 15: (user) name "root@localdomain" -> id "0"
rpc.idmapd: Client 15: (group) name "nobody" -> id "65534"
rpc.idmapd: nss_getpwnam: name 'nobody' domain 'localdomain':
resulting localname '(null)'
rpc.idmapd: nss_getpwnam: name 'nobody' does not map into domain
'localdomain'
rpc.idmapd: Client 15: (user) name "nobody" -> id "65534"
Could someone please help me ? I'm puzzled because NFSv3 deals
perfectly with user names and groups.
Well, Thanks.
Best,
David
^ permalink raw reply [flat|nested] 2+ messages in thread
* NFSv4 client & Netapp Server -> Problem with id mapping
@ 2011-01-19 10:15 David McGiven
0 siblings, 0 replies; 2+ messages in thread
From: David McGiven @ 2011-01-19 10:15 UTC (permalink / raw)
To: linux-nfs
Dear NFS Users,
I have a Linux client (ubuntu 8.04) that correctly mounts through
NFSv3 an NFS share from a NetApp Filer (DataONTAP 7.2.1.1).
Due to firewall issues, I now need to use NFSv4 instead of v3.
However, I'm having the problem of seeing all the files owned by
nobody/nogroup.
Please, could anyone provide some advice ?
The command I'm using to mount it is :
mount -t nfs4 -o intr,proto=tcp filer:/vol/people /people/
These are the NetApp options :
nfs.v4.acl.enable off
nfs.v4.enable on
nfs.v4.id.domain localdomain
nfs.v4.read_delegation off
nfs.v4.write_delegation off
The filer exports are :
/vol/people -sec=sys,rw=machine1:machine2,root=master
In the linux box I've double checked that /etc/idmpad.conf domain is
the same : "localdomain".
Just in case, I'm running the rpc.impad daemon on the linux client.
This is the output for a single 'mount' and a single 'ls'
root@machine1:~# /usr/sbin/rpc.idmapd -vvvv -f
rpc.idmapd: libnfsidmap: using domain: localdomain
rpc.idmapd: libnfsidmap: using translation method: nsswitch
rpc.idmapd: Expiration time is 600 seconds.
rpc.idmapd: Opened /proc/net/rpc/nfs4.nametoid/channel
rpc.idmapd: Opened /proc/net/rpc/nfs4.idtoname/channel
rpc.idmapd: New client: 15
rpc.idmapd: Opened /var/lib/nfs/rpc_pipefs/nfs/clnt15/idmap
rpc.idmapd: New client: 16
rpc.idmapd: nss_getpwnam: name 'root@localdomain' domain
'localdomain': resulting localname 'root'
rpc.idmapd: Client 15: (user) name "root@localdomain" -> id "0"
rpc.idmapd: Client 15: (group) name "nobody" -> id "65534"
rpc.idmapd: nss_getpwnam: name 'nobody' domain 'localdomain':
resulting localname '(null)'
rpc.idmapd: nss_getpwnam: name 'nobody' does not map into domain
'localdomain'
rpc.idmapd: Client 15: (user) name "nobody" -> id "65534"
Could someone please help me ? I'm puzzled because NFSv3 deals
perfectly with user names and groups.
Well, Thanks.
Best,
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-19 10:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-19 10:15 NFSv4 client & Netapp Server -> Problem with id mapping David McGiven
-- strict thread matches above, loose matches on Subject: below --
2011-01-19 10:10 David McGiven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).