[linux-lvm] Unable to create lvm1 configurations

Stanley Yue stanley.yue at gmail.com
Sun Sep 12 06:33:06 UTC 2004


Hi all:

I have LVM2 installed, and I tried to create lvm1 configurations using
the following command:

[root at DAP-RHLNX1 tools]# vgcreate -v --metadatatype 1 vg1-lvm2
/dev/hda6 /dev/hda7
  Invalid argument 1
  Error during parsing of command line.
[root at DAP-RHLNX1 tools]# 

However, passing into "2" as the metadatatype would succeed.

[root at DAP-RHLNX1 tools]# vgcreate -v --metadatatype 2 vg1-lvm2
/dev/hda6 /dev/hda7
    Adding physical volume '/dev/hda6' to volume group 'vg1-lvm2'
    Adding physical volume '/dev/hda7' to volume group 'vg1-lvm2'
    Archiving volume group "vg1-lvm2" metadata.
    Creating volume group backup "/etc/lvm/backup/vg1-lvm2"
  Volume group "vg1-lvm2" successfully created
[root at DAP-RHLNX1 tools]# 


Does anyone what the problem is?
What is the best way to create LVM1 configurations?

Stanley



More information about the linux-lvm mailing list