Bug#762984: initramfs-tools: Alert! /dev/vg0/usr does not exist
* Elimar Riesebieter <riesebie@pipin.home.lxtec.de> [2014-09-27 22:14 +0200]:
> On Sat, 27 Sep 2014 20:05:07 +0100 Ben Hutchings <ben@decadent.org.uk> wrote:
[...]
> > Is / on RAID and/or LVM? I suspect we may not correctly handle some
> > cases where /usr requires a RAID or VG that / does not.
>
> ######
> System 1:
> /dev/mapper/vg0-burn /burn
> /dev/mapper/vg0-home /home
> /dev/mapper/vg0-root /
> /dev/mapper/vg0-source /source
> /dev/mapper/vg0-tmp /tmp
> /dev/mapper/vg0-usr /usr
> /dev/mapper/vg0-var /var
> /dev/mapper/vg0-working /working
> /dev/md5 /boot
>
> where the volume group resides on a RAID1
> /dev/md5 is a RAID1 as well
> Alert! /dev/vg0/usr does not exist
Workaround:
cat /etc/initramfs-tools/scripts/local-top/vgscan
#!/bin/sh
vgchange -ay
> ######
> System 2:
> /dev/md5 /boot
> /dev/md6 /
> /dev/md7 /usr
> /dev/md8 /var
> /dev/md9 /tmp
> /dev/md10 /burn
> /dev/md11 /source
> /dev/md12 /working
>
> where all partitions are configured as RAID1
> Alert! /dev/md5 does not exist
Must be: Alert! /dev/md7 does not exist
Workaround:
cat /etc/initramfs-tools/scripts/local-top/mdadm-assemble
#!/bin/sh
mdadm --assemble --scan /dev/md7
Elimar
--
We all know Linux is great... it does infinite loops in 5 seconds.
-Linus Torvalds
Reply to: