Public bug reported:

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.0/24(rw,sync,fsid=0,crossmnt,subtree_check)
/pub            10.0.0.0/24(rw,sync,fsid=0,crossmnt,subtree_check)
/p      10.0.0.0/24(rw,sync,fsid=0,crossmnt,subtree_check)

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.0/24(rw,sync,fsid=0,crossmnt,subtree_check)
/pub2           10.0.0.0/24(rw,sync,fsid=0,crossmnt,subtree_check)
/pub            10.0.0.0/24(rw,sync,fsid=0,crossmnt,subtree_check)

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://no.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

nfs-common:
  Installert: 1:1.2.0-2
  Kandidat: 1:1.2.0-2
  Versjonstabell:
 *** 1:1.2.0-2 0
        500 http://no.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status


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...

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: exports nfs shares wrong

-- 
nfs-kernel-server, several shares in /etc/exports shows same partition on client
https://bugs.launchpad.net/bugs/436527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to