[linux-lvm] Unable to create lvm1 configurations

Alasdair G Kergon agk at redhat.com
Mon Sep 13 10:41:34 UTC 2004


On Mon, Sep 13, 2004 at 01:58:14AM -0700, Stanley Yue wrote:
> with the lvm-mod and device-mapper from lvm2. I want to test out
> whether lvm2 utilities can detect configurations created from lvm1
> utilities.
 
> pvcreate -- ERROR: VGDA in kernel and lvmtab are NOT consistent;
> please run vgscan

Never run LVM2 utilities while you have LVs active under LVM1.
Never run LVM1 tools while you have LVs active under LVM2.

i.e. Never mix use of the two, and always vgchange -an before switching 
between LVM1 and LVM2.
Also, if switching back from LVM2 to LVM1 you must first reset the 
LVM1 driver with lvmchange -R followed by vgscan -f.

Alasdair
-- 
agk at redhat.com



More information about the linux-lvm mailing list