[linux-lvm] vgscan -f created duplicate block devices

Ellis Whitehead lists at ellisw.net
Mon May 26 05:23:02 UTC 2003

Hi Heinz,

> have you removed _all_ /dev/-Entries for LVs and retried 
> "vgscan -f" without success so far ?

I'm using devfs, and removal of the /dev/{VG}/{LV} entries isn't permitted.  The
VG and LVs show up under /dev if the VG is active, and otherwise they aren't
present.  Once the VG is active, the LV entries cannot be modified by the usual
command line tools, as far as I've seen...

Since vgscan can only works on active volumes, and since active volumes are
already immutably set in /dev, I'm afraid this solution won't work.

Is there any way to manually set the block device?  Or is there any way to get
vgscan to start anew without the block device numbers in /dev?


More information about the linux-lvm mailing list