linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "zhihang wang" <zhihang.wang@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Fwd: why can create the volumn group by vgcreate ?
Date: Sun, 9 Jul 2006 21:33:14 +0800	[thread overview]
Message-ID: <212696550607090633w568b6056u779486d65b422339@mail.gmail.com> (raw)
In-Reply-To: <212696550607090024x3733187fx8b3a2f26b692e020@mail.gmail.com>

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

---------- Forwarded message ----------
From: zhihang wang <zhihang.wang@gmail.com>
Date: Jul 9, 2006 3:24 PM
Subject: why can create the volumn group by vgcreate ?
To: linux-lvm@redhat.com

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


-- 
Best Regards
zhihang wang

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

  reply	other threads:[~2006-07-09 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-09  7:24 [linux-lvm] why can create the volumn group by vgcreate ? zhihang wang
2006-07-09 13:33 ` zhihang wang [this message]
2006-07-09 15:21   ` [linux-lvm] Fwd: " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=212696550607090633w568b6056u779486d65b422339@mail.gmail.com \
    --to=zhihang.wang@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).