jcnelson / vdev

A device-file manager for *nix
GNU General Public License v3.0
101 stars 13 forks source link

LVM: use lvmetad; avoid gratuitous physical volume scans #37

Open jcnelson opened 9 years ago

jcnelson commented 9 years ago

It looks like this hasn't been fixed in Debian: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/995709

This means that the LVM tools will scan the entire /dev tree looking for physical volumes, including the hardware database (which is big). As reported by Scooby, this means that each scan can take ~10 seconds; if the user has a lot of block devices, this means that coldplug processing can take a long time.

This is of course unacceptable. A few things need to happen: