[linux-lvm] vgscan creation of device nodes for volume groups.

Heinz J. Mauelshagen Mauelshagen at sistina.com
Mon Feb 19 13:55:29 UTC 2001


On Sat, Feb 17, 2001 at 10:24:38PM -0800, Jay Weber wrote:
> Hi,
> 
> I've noticed the following and am wondering about the proper way to handle
> this.
> 

A fast workaround (assuming bash) to avoid those invalid entries
in /dev/ would be:

(cd /dev;ls -A /etc/lvmtab.d/|xargs rm -r)

You need to run it *before* vgscan for sure, because vgscan starts with
removing /etc/lvmtab*.

One extension could be to let vgscan do the removal job itself.

> I'll try to explain by example, since it's kinda awkward.
> 
> I've created 3 volume groups.  vol0, vol1, vol2.  On these I have a

<SNIP>

-- 

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 at Sistina.com                           +49 2626 141200
                                                       FAX 924446
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list