The partition of my hard disk is as follows:<br>Disk /dev/hda: 60.0 GB, 60011642880 bytes<br>255 heads, 63 sectors/track, 7296 cylinders<br>Units = cylinders of 16065 * 512 = 8225280 bytes<br><br> Device Boot Start End Blocks Id System
<br>/dev/hda1 * 1 3825 30724281 c W95 FAT32 (LBA)<br>/dev/hda2 3826 6938 25005172+ 8e Linux LVM<br>/dev/hda3 7210 7296 698827+ 5 Extended<br>/dev/hda4 6939 7209 2176807+ 83 Linux
<br>/dev/hda5 7210 7296 698796 82 Linux swap / Solaris<br><br>Partition table entries are not in disk order<br><br><br>I use the pvcreate /dev/hda2 command to create a phyisical volumn<br>and use pvdisplay /dev/hda2 to display the physical volumn information
<br><br>sudo pvdisplay /dev/hda2<br> --- NEW Physical volume ---<br> PV Name /dev/evms/hda2<br> VG Name<br> PV Size 23.85 GB<br> Allocatable NO<br> PE Size (KByte) 0<br> Total PE 0
<br> Free PE 0<br> Allocated PE 0<br> PV UUID kQba0Y-02Lk-VLB8-XhhV-GY1Z-RXEg-J8OXR9<br><br><br>But when I use the *sudo vgcreate test /dev/hda2* command to create a volumn group, an error occure.
<br>the error message is:<br> No physical volume label read from /dev/hda2<br> /dev/hda2 not identified as an existing physical volume<br> Unable to add physical volume '/dev/hda2' to volume group 'test'.<br><br><br>Why can't find physical volume label from /dev/hda2?
<br><br clear="all"><br>-- <br>Best Regards<br>zhihang wang