[Bug 872220] Re: Fails to boot when there's problems with softraid

Leonardo Silva Amaral 872220 at bugs.launchpad.net
Sun Jul 29 13:51:43 UTC 2012


My case happened with 12.04: I almost never reboot my machine and since
ive installed it, i never rebooted until now. i fall into a degraded
state without possibility to boot in degraded mode and even using super
grub disk to set the bootdegraded=true. Array start in read only mode
and notting in the world make it start restoring in console.

But using Quantal test version this happens:

root at wall-e:~# cat /proc/mdstat 
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md125 : active (read-only) raid1 sda[1] sdb[0]
      104857600 blocks super external:/md127/0 [2/2] [UU]
      	resync=PENDING
      
md126 : active raid0 sda[1] sdb[0]
      1743800320 blocks super external:/md127/1 128k chunks
      
md127 : inactive sda[1](S) sdb[0](S)
      5024 blocks super external:imsm
       
unused devices: <none>
root at wall-e:~# mdadm -S -s
mdadm: stopped /dev/md125
mdadm: stopped /dev/md126
mdadm: stopped /dev/md127
root at wall-e:~# mdadm -A -R -f -s
mdadm: Marking array /dev/md/imsm0 as 'clean'
mdadm: Container /dev/md/imsm0 has been assembled with 2 drives
mdadm: Started /dev/md/LVM_0 with 2 devices
mdadm: Started /dev/md/RootFS_0 with 2 devices
root at wall-e:~# cat /proc/mdstat 
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md125 : active raid1 sda[1] sdb[0]
      104857600 blocks super external:/md127/0 [2/2] [UU]
      [>....................]  resync =  0.1% (177856/104857732) finish=29.4min speed=59285K/sec
      
md126 : active raid0 sda[1] sdb[0]
      1743800320 blocks super external:/md127/1 128k chunks
      
md127 : inactive sdb[1](S) sda[0](S)
      5024 blocks super external:imsm
       
unused devices: <none>

Im a lot afraid about data loss because even before the resync finish, i
got this:

<A LOT OF MESSAGES EQUAL NEXT LINE, CHANGING INODE NUMBER>
[ 1102.993890] EXT4-fs (md125p1): ext4_orphan_cleanup: deleting unreferenced inode 3932453
[ 1102.993903] EXT4-fs (md125p1): 7558 orphan inodes deleted
[ 1102.993904] EXT4-fs (md125p1): recovery complete
[ 1104.169317] EXT4-fs (md125p1): mounted filesystem with ordered data mode. Opts: (null)

And i dont know what to do. I will wait this restore and attempt to
reboot.

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

Title:
  Fails to boot when there's problems with softraid

Status in “mdadm” package in Ubuntu:
  Triaged

Bug description:
  Ubuntu 11.10 has a new feature that it warns you while booting if
  there's a program with the softraid.

  It tells you that a hard disk in the softraid is missing, then asks,
  on the console:

  Continue to boot? y/N

  But it ignores all keypresses. After 5 seconds or so it then times
  out, falls to the default "N" option, and dumps you to a emergency
  bash prompt, with no indication on how to proceed.

  The feature is a good idea, but not in the current broken state.

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




More information about the foundations-bugs mailing list