/dev/md0 fails to mount on boot

Bug #102933 reported by Jeffrey Knockel
2
Affects Status Importance Assigned to Milestone
mdadm (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: udev

Since upgrading from edgy to feisty beta1, my system gets thrown to busybox when booting. In busybox, /dev/md0 is missing, as well as the /dev/sd? drives that would normally constitute the array. This issue remains present with udev 108-0ubuntu2 and initramfs-tools 0.85eubuntu8. I do not use lvm.

Known workarounds:
(1) Boot with break=mount. Wait a couple of seconds, cd to /dev, and ensure that /dev/sd? and /dev/md0 are now there. Ctrl+d to continue booting normally.
Or (2) Install udev 0.105-4 from debian unstable. (This is undesirable for other reasons.)
Or (3) Apply the workaround mentioned here involving adding an attached udevSettle script to /usr/share/initramfs-tools/scripts/init-premount/:
https://launchpad.net/ubuntu/+source/initramfs-tools/+bug/83231/comments/19

description: updated
description: updated
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

(1) doesn't make sense, since the system already loops for up to three minutes doing exactly this -- so breaking out of the initramfs shouldnt make a difference.

Anyway, please do that so your system boots, and then provide the output of:

  dpkg-query -W udev volumeid libvolume-id0 mdadm evms lvm2 lvm-common dmsetup libdevmapper1.02

Thanks

Changed in mdadm:
status: Unconfirmed → Needs Info
Revision history for this message
Oliver Lemke (olemke) wrote :

Scott, although it doesn't make sense, my Dell 390 Workstation shows exactly the same behaviour. / is on md0 (Two drive RAID1).

Here's the output from dpkg-query -W udev volumeid libvolume-id0 mdadm evms lvm2 lvm-common dmsetup libdevmapper1.02

udev 108-0ubuntu3
volumeid 108-0ubuntu3
libvolume-id0 108-0ubuntu3
mdadm 2.5.6-7ubuntu5
No packages found matching evms.
No packages found matching lvm2.
No packages found matching lvm-common.
dmsetup 2:1.02.08-1ubuntu10
libdevmapper1.02 2:1.02.08-1ubuntu10

Revision history for this message
Jeffrey Knockel (jeff250) wrote :

udev 108-0ubuntu3
volumeid 108-0ubuntu3
libvolume-id0 108-0ubuntu3
mdadm 2.5.6-7ubuntu5
No packages found matching evms.
No packages found matching lvm2.
No packages found matching lvm-common.
dmsetup 2:1.02.08-1ubuntu10
libdevmapper1.02 2:1.02.08-1ubuntu10

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

This sounds like an exact duplicate of #103177, so I'm merging the two bugs ... the hack of adding a sleep between init-premount and local-top works for both, that implies that the mdadm/mdrun scripts are failing hard and not continuing.

Please follow the debugging questions there

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mdadm (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.