Thanks Alasdair, it turns out that have to explicitly enable lvm1 support by: ./configure --with-lvm1=internal However, now, I'm seeing the following problem. I have installed both lvm1 and lvm2 utilities onto the same system, 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 fails when I'm using the lvm1 utilities. [root@DAP-RHLNX1 sbin]# ./vgscan -v vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d" vgscan -- creating empty "/etc/lvmtab" and "/etc/lvmtab.d" vgscan -- reading all physical volumes (this may take a while...) vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created vgscan -- WARNING: This program does not do a VGDA backup of your volume group [root@DAP-RHLNX1 sbin]# ./pvcreate /dev/hda7 pvcreate -- ERROR: VGDA in kernel and lvmtab are NOT consistent; please run vgscan + However, pvcreate succeed when I'm using the lvm2's pvcreate [root@DAP-RHLNX1 sbin]# pvcreate /dev/hda7 Physical volume "/dev/hda7" successfully created Is there anything wrong with my setup here? Does lvm1 utilities work with lvm-mod from lvm2? How can I resync the state between the VGDA in kernel and lvmtab? Do anyone know how I can get it to work with lvm1's pvcreate? Thanks, Stanley On Sun, 12 Sep 2004 12:56:53 +0100, Alasdair G Kergon <agk@redhat.com> wrote: > On Sat, Sep 11, 2004 at 11:33:06PM -0700, Stanley Yue wrote: > > [root@DAP-RHLNX1 tools]# vgcreate -v --metadatatype 1 vg1-lvm2 > > /dev/hda6 /dev/hda7 > > Invalid argument 1 > > Error during parsing of command line. > > Works for me. > > Perhaps support for 'lvm1' metadata was not compiled in, or > not loaded from lvm.conf if you configured it shared? > > Alasdair > -- > agk@redhat.com > _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/