linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] why can create the volumn group by vgcreate ?
@ 2006-07-09  7:24 zhihang wang
  2006-07-09 13:33 ` [linux-lvm] Fwd: " zhihang wang
  0 siblings, 1 reply; 5+ messages in thread
From: zhihang wang @ 2006-07-09  7:24 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2916 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-13  8:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-09  7:24 [linux-lvm] why can create the volumn group by vgcreate ? zhihang wang
2006-07-09 13:33 ` [linux-lvm] Fwd: " zhihang wang
2006-07-09 15:21   ` Luca Berra
2006-07-09 21:58   ` [linux-lvm] vgscan -- ERROR "pv_read_pe(): PV size invalid" Simon Klaiber
2006-07-13  8:42     ` Simon Klaiber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).