[Bug 1226766] Re: Mountall fails to mount NFS partitions on boot

Steve Langasek steve.langasek at canonical.com
Tue Sep 17 21:26:24 UTC 2013


On Tue, Sep 17, 2013 at 06:59:37PM -0000, Joseph Yasi wrote:
> It's not just DNS. I changed the /etc/fstab entry to the IP address instead of the hostname, and it still fails to mount with: mount.nfs: mount system call failed
> mountall: mount /mnt/readyshare [811] terminated with status 32
> mountall: Disconnected from Plymouth

> It must be racing the network stack to come up.

Yes, that seems to be the case.  Can you post the details of your network
configuration?

Also, can you reproduce this issue and then run 'killall -USR1 mountall'? 
This should trigger mountall to retry all pending network mounts.  I want to
rule out the possibility that the recent mountall changed introduced a
deeper problem with the mount handling.  (The race-the-network problem has
been reported before, so while it's new for you, it's not a new bug.)

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

Title:
  Mountall fails to mount NFS partitions on boot

Status in “mountall” package in Ubuntu:
  New

Bug description:
  NFS partitions fail to mount on boot, and mountall freezes without mounting them. If I revert this change to the init script:
       . /etc/default/rcS || true
       [ -f /forcefsck ] && force_fsck="--force-fsck"
       [ "$FSCKFIX" = "yes" ] && fsck_fix="--fsck-fix"

  + # Doesn't work so well if mountall is responsible for mounting /proc, heh.
  + if [ -e /proc/cmdline ]; then
  + for arg in $(cat /proc/cmdline); do
  + case $arg in
  + -q|--quiet|-v|--verbose|--debug)
  + debug_arg=$arg
  + ;;
  + esac
  + done
  + fi
       # set $LANG so that messages appearing in plymouth are translated
       if [ -r /etc/default/locale ]; then
           . /etc/default/locale || true
           export LANG LANGUAGE LC_MESSAGES LC_ALL
       fi

  - exec mountall --daemon $force_fsck $fsck_fix
  + exec mountall --daemon $force_fsck $fsck_fix $debug_arg
   end script

  it works. It seems strange that this would stop NFS from mounting on boot. It appears that the NFS mounts are occurring before DNS is up. mountall.log contains:
  mount.nfs: Failed to resolve server rt-ac66u: Name or service not known
  mountall: mount /mnt/readyshare [815] terminated with status 32
  Filesystem could not be mounted: /mnt/readyshare
  mountall: Disconnected from Plymouth

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: mountall 2.51
  Uname: Linux 3.11.1-customatom x86_64
  NonfreeKernelModules: nvidia
  .run.mount.utab:
   
  ApportVersion: 2.12.1-0ubuntu4
  Architecture: amd64
  Date: Tue Sep 17 14:49:53 2013
  ExecutablePath: /sbin/mountall
  InstallationDate: Installed on 2012-04-15 (520 days ago)
  InstallationMedia: Mythbuntu 12.04 "Precise Pangolin" - Beta amd64 (20120328)
  MarkForUpload: True
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.11.1-customatom root=UUID=708b3ba8-c42a-4adf-a195-c0fb8d8f8dd3 ro --verbose
  SourcePackage: mountall
  UpgradeStatus: Upgraded to saucy on 2013-06-28 (81 days ago)

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




More information about the foundations-bugs mailing list