nfs-kernel-server, several shares in /etc/exports shows same partition on client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs-utils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: nfs-kernel-server
after updating a private file-server from 9.04 to 9.10 I got a strange problem with my nfs shares on it,
/etc/exports :
/pub2 10.0.0.
/pub 10.0.0.
/p 10.0.0.
df -hT on nfs server:
/dev/md6 ext4 1,8T 915G 827G 53% /pub2
/dev/sdg btrfs 2,3T 1,1T 1,2T 48% /pub
/dev/sde1 reiserfs 299G 55G 244G 19% /p
df -hT on a client with nfs shares from the server:
10.0.0.2:/pub nfs 1,8T 915G 827G 53% /pub
10.0.0.2:/pub2 nfs 1,8T 915G 827G 53% /pub2
10.0.0.2:/p nfs 1,8T 915G 827G 53% /p
( ps: look at disk sizes)
( I have three client with the same result, one 9.04, one 9.10 and a PopCornHour A110)
so you see that the client gets three version of 'pub2' under the 'correct' names, if I resort /etc/exports to something else like
/p 10.0.0.
/pub2 10.0.0.
/pub 10.0.0.
the client will get three versions of '/p' still with the 'correct' names. Except for sorting the shares in various ways, I have not done any other changes to /etc/exports after updating from 9.04 to 9.10...
Some info from nfs server, please ask for more if needed:
dpkg -l | grep nfs:
ii libnfsidmap2 0.21-2 An nfs idmapping library
ii nfs-common 1:1.2.0-2 NFS support files common to client and serve
ii nfs-kernel-server 1:1.2.0-2 support for NFS kernel server
uname -a
Linux zoidberg 2.6.31-10-generic #35-Ubuntu SMP Tue Sep 22 17:33:42 UTC 2009 i686 GNU/Linux
lsb_release -rd:
Description: Ubuntu karmic (development branch)
Release: 9.10
apt-cache policy nfs-kernel-server
nfs-kernel-server:
Installert: 1:1.2.0-2
Kandidat: 1:1.2.0-2
Versjonstabell:
*** 1:1.2.0-2 0
500 http://
100 /var/lib/
nfs-common:
Installert: 1:1.2.0-2
Kandidat: 1:1.2.0-2
Versjonstabell:
*** 1:1.2.0-2 0
500 http://
100 /var/lib/
One of the clients: (this is still 9.04)
dpkg -l | grep nfs
ii libnfsidmap2 0.21-2 An nfs idmapping library
ii nfs-common 1:1.1.4-1ubuntu1 NFS support files common to client and serve
ii nfs-kernel-server 1:1.1.4-1ubuntu1 support for NFS kernel server
uname -a
Linux desk1 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:48:52 UTC 2009 x86_64 GNU/Linux
lsb_release -rd
I know that btrfs, which i use on /pub, is alpha, but I get the same problem when taking that out of exports.
And finally I couldn't find any bugs even close to this, but please tell me If I've overlooked one...
update:
I've just found this in /var/log/daemon.log on nfs server
Sep 26 00:01:11 nfs-server mountd[8861]: /pub2 and /pub have same filehandle for 10.0.0.0/24, using first
Sep 26 00:01:11 nfs-server mountd[8861]: /pub2 and /private have same filehandle for 10.0.0.0/24, using first
has there been any significant changes to the way /etc/exports is supposed to look like in ubuntu 9.10?