[Bug 120375] Re: cannot boot raid1 with only one disk

wally.nl ubuntu at general-failure.com
Tue Jul 15 15:09:13 BST 2008


This also affects raid5 (seems logical) but the patch doesn't seem to
work for me when also using lvm. My test setup:

  sda1 100Mb /boot
  sda2 raid
  sdb1 100Mb (manual copy of /boot)
  sdb2 raid
  sdc1 100Mb (manual copy of /boot)
  sdc2 raid

/dev/md0 is a raid5 using sda2/sdb2/sdc2, on that is a volume group 'vg'
with 2 logical volumes 'lv0' which is / and lv1 which is swap.

when removing a disk (lets say disk 3/sdc) I see the patch kick in and
start the degraded raid5 with 2 disks but from there it's downhill:

Found volume group "vg" using metadata type lvm2
ALERT! /dev/mapper/vg-lv0 does not exist. Dropping to a shell!

but /dev/mapper/vg-lv0 and /dev/mapper/vg-lv1 DO seem to exist. Re-
adding the drive and rebooting works fine, is this another 'feature' of
the /usr/share/initramfs-tools/scripts/local script ?

-- 
cannot boot raid1 with only one disk
https://bugs.launchpad.net/bugs/120375
You received this bug notification because you are a member of Ubuntu
Server Team, which is a subscriber of a duplicate bug.



More information about the Ubuntu-server-bugs mailing list