Boot hangs and unable to continue when automount disk in fstab is not available (Off or Disconnected)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
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://
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,
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-
affects: | ubuntu → mountall (Ubuntu) |
description: | updated |
description: | updated |
Changed in mountall (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
tags: |
added: glucid removed: lucid |
tags: |
added: lucid removed: glucid |
tags: | added: glucid |
Changed in mountall (Ubuntu): | |
status: | Confirmed → New |
Changed in mountall (Ubuntu): | |
status: | New → Confirmed |
Thanks for the report,
In order to debug further I'll need you to collect a bit more information for me. First can you run "apport-collect 571444" on your system, this will attach various files from your system to the bug which I need to analyse.
This is a server install, right? Could you run "ls -l /lib/plymouth/ themes" for me and provide the output?
What happens if you push the "S" key at the point of the hang?