nfs4 mounts are not mapping userids, uses nobody/nogroup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs-utils (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I have:
machine A - NFS4 server, Ubuntu 11.10
machine B - NFS4 client, Ubuntu 11.10
machine C - NFS4 client, Ubuntu 12.04 (development)
All machines have the same userids and group ids.
Machine 4 exports are the following:
/export/dir1 10.0.0.
/export/dir2 10.0.0.
/export/dir3 10.0.0.
On both Machine B and C, the mounts are defined in fstab as:
10.0.0.1:/dir1 /mnt/mydir nfs4 _netdev,
10.0.0.1:/dir2 /mnt/mydir2 nfs4 _netdev,
10.0.0.1:/dir3 /mnt/startrek nfs4 _netdev,
These NFS shares have been configured for about 6 months, no change to the configuration.
However, on the newly upgraded machine C, when the NFS4 filesystems are mounted, *all files* (with different users on machine A) map to nobody/nogroup. I even tried changing some options on machine A (like adding no_all_squash then re-exporting it) to no avail. I also tried manually mounting the filesystems using the "mount" command on machine C and the same thing happened. Before upgrading, the mounts were working correctly. On machine B with Ubuntu 11.10, they also work correctly.
mount is version 2.20.1-1ubuntu3, nfs-common (which has /sbin/mount.nfs4) is version 1:1.2.5-3ubuntu2.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mount 2.20.1-1ubuntu3
ProcVersionSign
Uname: Linux 3.2.0-22-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Sun Apr 8 11:55:58 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
SourcePackage: util-linux
UpgradeStatus: Upgraded to precise on 2012-04-06 (2 days ago)
affects: | util-linux (Ubuntu) → nfs-utils (Ubuntu) |
Does the issue go away if you boot machine C with the previous kernel version?