severity 575498 wishlist
tags 575498 wontfix
stop

On Fri, Mar 26, 2010 at 01:09:15PM +0100, Ingo Rauschenberg wrote:
> 
> I'm using in my grub configuration Labels to point out, where my Rootfs
> is located.
> This looks like # kopt=root=LABEL=ROOT ro
> When the vlm2 initramfs-tools script runs this is translated so that
> $ROOT is something like /dev/disk/by-label/ROOT
> The script don't activates the vg's so that my root-fs is missing.

I don't see an easy way of detecting that said label is a lvm volume.

anyway there is not much point in using LABEL for lvm volumes they
are unique anyway.
 
> I have in the switch statement in the activate_vg function the following
> lines appended and now it works (for me):
>       
>       /dev/disk/by-label*)
>               lvm vgchange -aly --ignorelockingfailure
>               exit 0
>               ;;

aboves would enable any lvm vg,
this caused data loss for lvm2 also due mkfs and friends
not overwriting lvm data. so aboves is not a generic possibility.





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to