Linux LVM users
 help / color / mirror / Atom feed
From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] pvscan and vgscan
Date: Fri Apr 25 04:03:01 2003	[thread overview]
Message-ID: <20030425105718.A16006@sistina.com> (raw)
In-Reply-To: <1051208166.1179.9.camel@rich>; from rich@storix.com on Thu, Apr 24, 2003 at 11:16:07AM -0700

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

      reply	other threads:[~2003-04-25  4:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-24 13:16 [linux-lvm] pvscan and vgscan Rich Turner
2003-04-25  4:03 ` Heinz J . Mauelshagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030425105718.A16006@sistina.com \
    --to=mauelshagen@sistina.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox