All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] pvscan and vgscan
@ 2003-04-24 13:16 Rich Turner
  2003-04-25  4:03 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Rich Turner @ 2003-04-24 13:16 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] pvscan and vgscan
  2003-04-24 13:16 [linux-lvm] pvscan and vgscan Rich Turner
@ 2003-04-25  4:03 ` Heinz J . Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz J . Mauelshagen @ 2003-04-25  4:03 UTC (permalink / raw)
  To: linux-lvm

On Thu, Apr 24, 2003 at 11:16:07AM -0700, Rich Turner wrote:
> 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.

LVM1 has the tradeoff that all supported devices are hard-coded which we
changed in LVM2 to be configurable (using regular expressions).

> 
> 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.

It does open them. You likely have a kmod misconfiguration preventing
module load if it fails to.
> 
> using lvm 1.0.3
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-25  4:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-24 13:16 [linux-lvm] pvscan and vgscan Rich Turner
2003-04-25  4:03 ` Heinz J . Mauelshagen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.