[linux-lvm] vgcreate -- no valid physical volumes in command line
Daniel Gardner
daniel at danielgardner.org
Sun Sep 8 09:34:01 UTC 2002
Hi,
I'm new to this whole LVM lark, and something isn't working right for me...
I've got a partition, /dev/hda2, which I'm trying to put LVM stuff on.
cfdisk says:
First Last
# Type Sector Sector Offset Length Filesystem Type (ID)
-- ------- -------- --------- ------ --------- ----------------------
2 Primary 6249285 12466439 0 6217155 Linux LVM (8E)
Then I do:
root at gentoo daniel # pvcreate /dev/hda2
pvcreate -- physical volume "/dev/hda2" successfully created
root at gentoo daniel # pvdisplay /dev/hda2
pvdisplay -- "/dev/hda2" is a new physical volume of 2.96 GB
root at gentoo daniel # pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/ide/host0/bus0/target0/lun0/part2" is in no VG
[2.96 GB]
pvscan -- total: 1 [2.96 GB] / in use: 0 [0] / in no VG: 1 [2.96 GB]
All looking good... now here's the weird one:
root at gentoo daniel # vgcreate main /dev/hda2
vgcreate -- no valid physical volumes in command line
This is where I'm getting my baby steps from
http://www-106.ibm.com/developerworks/linux/library/l-lvm2.html?dwzone=linux
I was using stock kernel 2.4.18 and tools 1.0.5 to start with, but just tried
1.1-rc2 with the same results on both.
I don't really know where to go further with this, don't know if it's just me
being stupid or what. Anyone got any ideas? I'll provide any info that I need
to - just let me know what's needed!
Thanks awfully,
Daniel
More information about the linux-lvm
mailing list