[Bug 44836] Re: NFS mounts on clients don't appear in `mount` or `df` output

Sam Bromley 44836 at bugs.launchpad.net
Sat Nov 23 16:20:55 UTC 2013


Hi All, It would seem that this bug is still popping up.
I noticed this today, running 13.04.
/proc/mounts is fine.
/etc/mtab is missing nfs mounts.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/44836

Title:
  NFS mounts on clients don't appear in `mount` or `df` output

Status in “coreutils” package in Ubuntu:
  Invalid
Status in “sysvinit” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: coreutils

  Hi,

  (Could be a bug with either mount, coreutils, the kernel or nfs-
  common??)

  2 computer config, 1 server, 1 desktop.

  Server exports /home (and others) via NFS to desktop.

  Desktop has in /etc/fstab :
  fitz:/home      /home           nfs     defaults        0 0
  fitz:/pub       /pub            nfs     defaults        0 0

  
  File systems are mounted (i.e. I can create files within the NFS filesystem) on the client, but when running `df` or `mount`, they do not appear as being mounted - i.e.
  root at bonzo:~# mount
  /dev/hda1 on / type reiserfs (rw,notail)
  proc on /proc type proc (rw)
  /sys on /sys type sysfs (rw)
  varrun on /var/run type tmpfs (rw)
  varlock on /var/lock type tmpfs (rw)
  procbususb on /proc/bus/usb type usbfs (rw)
  udev on /dev type tmpfs (rw)
  devpts on /dev/pts type devpts (rw,gid=5,mode=620)
  devshm on /dev/shm type tmpfs (rw)
  binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
  root at bonzo:~# mount | grep -i nfs
  root at bonzo:~#
  root at bonzo:~# df
  Filesystem           1K-blocks      Used Available Use% Mounted on
  /dev/hda1              9775184   3600680   6174504  37% /
  varrun                  517336       104    517232   1% /var/run
  varlock                 517336         4    517332   1% /var/lock
  udev                    517336        96    517240   1% /dev
  devshm                  517336         0    517336   0% /dev/shm
  root at bonzo:~# uname -a
  Linux bonzo 2.6.15-22-k7 #1 SMP PREEMPT Sun May 7 17:27:47 UTC 2006 i686 GNU/Linux

  /proc/mounts contains the correct information however :

  
  root at bonzo:~# cat /proc/mounts
  rootfs / rootfs rw 0 0
  none /sys sysfs rw 0 0
  none /proc proc rw,nodiratime 0 0
  udev /dev tmpfs rw 0 0
  /dev/hda1 / reiserfs rw 0 0
  /dev/hda1 /dev/.static/dev reiserfs rw 0 0
  tmpfs /var/run tmpfs rw 0 0
  tmpfs /var/lock tmpfs rw 0 0
  usbfs /proc/bus/usb usbfs rw 0 0
  devpts /dev/pts devpts rw 0 0
  tmpfs /dev/shm tmpfs rw 0 0
  tmpfs /var/run tmpfs rw 0 0
  tmpfs /var/lock tmpfs rw 0 0
  fitz:/home /home nfs rw,v3,rsize=32768,wsize=32768,hard,lock,proto=tcp,addr=fitz 0 0
  fitz:/pub /pub nfs rw,v3,rsize=32768,wsize=32768,hard,lock,proto=tcp,addr=fitz 0 0
  tmpfs /var/run tmpfs rw 0 0
  tmpfs /var/lock tmpfs rw 0 0
  binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0

  I'll hope I'm not doing something really stupid, and it's a bug :)

  root at bonzo:~# dpkg -l | grep coreutils
  ii  coreutils                         5.93-5ubuntu4                     
  root at bonzo:~# dpkg -l | grep mount
  ii  mount                             2.12r-4ubuntu5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/44836/+subscriptions



More information about the foundations-bugs mailing list