[linux-lvm] pvscan and vgscan

Rich Turner rich at storix.com
Thu Apr 24 13:16:01 UTC 2003


how does pvscan and vgscan know what devices to scan to search for pv's
and vg's? is there a file that it uses to determine which disks to open?
it does not appear to try to open all devices when their respective
modules have not been loaded yet.

my situation is that i have volume groups on multiple scsi devices but
the scsi modules are not being loaded before vgscan is being run in the
rc.sysinit. i realize that this is a problem inherent with the
rc.sysinit and can be fixed within it. but, my question is how does
vgscan scan all devices without opening them? normally when a device is
opened all of the modules are automatically loaded, hence vgscan will
find them.

using lvm 1.0.3





More information about the linux-lvm mailing list