Bug#530776: Debian bug #530776

Vincent Danjean Vincent.Danjean at ens-lyon.org
Fri May 29 07:36:12 UTC 2009


Felix Zielcke wrote:
> Somebody already filed a bug against initramfs-tools for this 530592,
> but maybe it belongs more to lvm2. I don't know.
> We had first a patch included which disables the usage of root=UUID= on
> RAID and LVM.
> Ubuntu had dropped it since we included it and they don't have a single
> bug report that this doestn't work.
> Our dmsetup got now an udev rule too for the disk/by-uuid symlinks and
> it gets included into the initrd, so we thought this would be fixed on
> Debian too. But seems like that's wrong.

uuid symlinks are perhaps created now, but they will be created only if
the partition is seen (that means, for lvm, only if the VG is activated).

It would be a bad thing if initrd activate all lvm VG it sees because
some lvm VG can be here to be managed (and activated) by a guest machine
(qemu, xen, ...). In this case, the VG can even be already activated (if
the guest machine is suspended) and then must not be reactivated.

For now, lvm uses the name of the root partition to find which VG it must
activate (and in this case, uuid symlinks are created). Perhaps, lvm scripts
must store the root VG at initrd build time (but I'm not sure it will be
easy when initrd is created for another root than the current such as in the
installer)

  Regards
    Vincent

-- 
Vincent Danjean       GPG key ID 0x9D025E87         vdanjean at debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://perso.debian.org/~vdanjean/debian unstable main






More information about the Pkg-grub-devel mailing list