[Bug 571444] Re: Boot hangs and unable to continue when automount disk in fstab is not available (Off or Disconnected)

Lox 571444 at bugs.launchpad.net
Mon Jan 9 05:31:29 UTC 2012


nobootwait break the mount command

-- 
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/571444

Title:
  Boot hangs and unable to continue when automount disk in fstab is not
  available (Off or Disconnected)

Status in “mountall” package in Ubuntu:
  Confirmed

Bug description:
  On 10.04 Lucid server installations, if a filesystem that is specified in /etc/fstab cannot be mounted for some reason (USB disk not connected, partition deleted, samba share not availible etc.) the boot process hangs displaying
  "mountall: Filesystem could not be mounted: ..."
  Screenshot: http://launchpadlibrarian.net/48612932/Screenshot%20mountall%20hang.png
  The user is not informed what to do at this point.

  == WORKAROUND ==
  Press "s" to skip the missing filesystem and continue booting.
     - This workaround only works for the first missing drive. For more missing drives press alt-sysrq-i and edit your fstab to remove missing drives

  == ORIGINAL DESCRIPTION ==
  I have attached an external drive to mount on boot up of 10.04 server (Lucid).
  It's label is "WAD" and is located and mounted via the following fstab entry:

  LABEL=WAD          /mnt/WAD         auto         relatime,errors
  =remount-ro      0       2

  It's pretty generic and usually mounts either a ext3 or ext4 file
  system.

  However, If this drive is detached or powered down for some reason - Then the entire boot process hangs!
  There is no way to continue. You can switch terminals, But can not drop to any command line or even login.
  So you can't easily fix the problem either. ctrl-alt-del will initiate a shutdown/restart.
  Also booting into recovery mode exhibits the same problem.

  The only way I could recover this server (As I had no live cd available) was to hit alt-sysreq-i (Kill all tasks)
  The process's it killed are as follow: (This may give a hint to where it is hanging!?)
  udev
  portmap
  statd
  mountall
  plymouth
  Then it stated: General error mounting filesystems.
  And droped into a terminal (Thank God), So I could fix fstab (remove the external drive entry).

  I feel this is a pretty serious issue. It almost forced me to reinstall the server.
  (Only chance made me press Alt-SysRq-ScrollLock to give me Magic Key Help)

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




More information about the foundations-bugs mailing list