Public bug reported:

Binary package hint: initramfs-tools

Summary says it all, really...

The generated initramfs doesn't have /etc/lvm/lvm.conf, yet it does lots
of LVM stuff.  When you have in excess of a hundred SCSI block devices
that represent different paths to different volumes on a storage
network, and that I/O to these might initiate the volume to transfer
from one controller to another (which takes a few seconds), it's quite
problematic that LVM defaults to scanning all block devices to look for
PVs.  Also, in the situations where I actually use such multipathed
devices as PVs, I will end up getting problems with duplicate PVs found,
since four of the block devices are in reality the same volume.

The solution is of course to put in a filter line in lvm.conf,
restricting it from scanning volumes it should not.  But since this file
isn't included in the initrd it doesn't work as expected until I add a
custom hook that copies it in place.

PS: A similar problem is also caused by the I/O generated by the Linux
kernel itself when it scans for partition tables on all registered block
devices, making volumes bounce around and generally making everything
slow.  You wouldn't by any chance happen to know if it is possible to
deactivate the automatic partition scan upon registration of block
devices?

Tore

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Omits /etc/lvm/lvm.conf
https://bugs.launchpad.net/bugs/113515
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to