[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Slackware init



On Mon, Feb 26, 2001 at 07:08:55AM -0500, ardy rdb linux-help org wrote:
> On Sun, 25 Feb 2001, AJ Lewis wrote:
> 
> > Are you by chance using a 2.4.x kernel with devfs support compiled in, but
> > not being mounted?  I am seeing the same thing with that setup.
> 
> Yes, 2.4.2, no devfs.

I think the issue is that /proc is not yet mounted when you call vgscan.
If you look at the tools/lib/lvm_dir_cache.c file at line 90, you will
see that it checks for /proc/partitions.  If it finds that, it only scans
the files in /proc/partitions.  Otherwise, it goes through all the possible
devices LVM recognizes. 

So if you can get /proc mounted before you call vgscan, it should not take
so long, nor should it scan for all those devices you do not have on your
system.

Regards,
-- 
AJ Lewis
Sistina Software Inc.                  Voice:  612-379-3951
1313 5th St SE, Suite 111              Fax:    612-379-3952
Minneapolis, MN 55414                  E-Mail: lewis sistina com
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
Sometimes I have a difficult time handling myself in social situations.
I just start scampering around neurotically, frantically jumping all
over guests. I think it all goes back to when I was raised in the wild
by miniature schnauzers.
-----End Obligatory Humorous Quote------------------------------------------

Attachment: pgp00019.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]