[linux-lvm] why can create the volumn group by vgcreate ?

zhihang wang zhihang.wang at gmail.com
Sun Jul 9 07:24:41 UTC 2006

The partition of my hard disk is as follows:
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3825    30724281    c  W95 FAT32 (LBA)
/dev/hda2            3826        6938    25005172+  8e  Linux LVM
/dev/hda3            7210        7296      698827+   5  Extended
/dev/hda4            6939        7209     2176807+  83  Linux
/dev/hda5            7210        7296      698796   82  Linux swap / Solaris

Partition table entries are not in disk order

I use the pvcreate /dev/hda2 command to create a phyisical volumn
and use pvdisplay /dev/hda2 to display the physical volumn information

sudo pvdisplay /dev/hda2
  --- NEW Physical volume ---
  PV Name               /dev/evms/hda2
  VG Name
  PV Size               23.85 GB
  Allocatable           NO
  PE Size (KByte)       0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               kQba0Y-02Lk-VLB8-XhhV-GY1Z-RXEg-J8OXR9

But when I use the *sudo vgcreate test /dev/hda2* command to create a
volumn group, an error occure.
the error message is:
 No physical volume label read from /dev/hda2
  /dev/hda2 not identified as an existing physical volume
  Unable to add physical volume '/dev/hda2' to volume group 'test'.

Why can't find physical volume label from /dev/hda2?

Best Regards
zhihang wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060709/d590a2c7/attachment.htm>

More information about the linux-lvm mailing list