Bug#775583: New initramfs-tools boot script needed to activate VG needed only for /usr

Richard Boardman richard.boardman at lyttonroad.com
Mon Mar 16 00:39:58 UTC 2015


On Sun, 15 Mar 2015 11:23:34 +0100 Benoit GUERIN <benoit.guerin at gmail.com> wrote:
> >> For the benefit of others affected, the /usr entry in fstab *must* begin
> >> with /dev/mapper/. My fstab had the /dev/$VG/$LV style and the script
> >> does not know what to do with that.
> 
> > Right, that the lvm2 initramfs code has never supported that naming
> > scheme for root, and now we have the same problem for /usr.  We will
> > probably make another update to each of initramfs-tools and lvm2 before
> > release and can either fix or document this.
> 
> I would like to add that my setup uses UUID, for a long time, and LVM works
> with this (1), at least for /
> But for a separated /usr, it do not work anymore :( I get an emergency
> console and have to manually active my usr LV.
> 
> (1) ie, in /etc/fstab :
> UUID=...   /        ext4 ...
> UUID=...  /boot   ext4 ...
> UUID=...   /usr     ext4 ...
> UUID=...  /var     ext4 ...

I'd just like to add a note that I have this problem when booting with grub2 -> systemd option (default or advanced menu), but not with grub2 -> sysvinit (advanced menu).

regards

Richard Boardman



More information about the pkg-lvm-maintainers mailing list