Public bug reported:

Binary package hint: lvm2

This is a fresh Ubuntu 8.04 install, though the problem affects
apparently as well to 8.10.

The lvm2 2.02.26-1ubuntu9 package installs a hook and a script to bring
lvm support in initramfs at boot time, but it doesn't copy in the
/etc/lvm/lvm.conf configuration file to the initrd filesystem, so the
default behaviour applies on LVs detection.

As part of this default behaviour, all devices are scanned looking for
LVs.

The real problem arises when the PVs are devices like multipath ones,
which are not created yet at initrd boot stage. In this case the LVs are
detected and updated in the device-mapper tables as linear dms directly
attached to the first path that LVM finds.

The problem apparently could be thought as solved adding support for
multipath in the initrd as well, but not, because LVM would detect the
LVs through each one of the paths and the multipath device as well.

A reasonable way to correct this non wanted behaviour is to let LVM
conform to a lvm.conf file included in the initrd, which would filter
the appropriate devices for LVs detection. In fact, this lvm.conf file
could be a copy of the customized system configuration
/etc/lvm/lvm.conf.

See proposed patch to /usr/share/initramfs-tool/hooks/lvm2 attached to
solve this.

Regards

   Roberto

** Affects: lvm2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
non configurable behaviour for lvm2 through lvm.conf in initramfs use
https://bugs.launchpad.net/bugs/307452
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to