[ale] Need help with lvm

Jim ale_nospam at fayettedigital.com
Tue Jan 30 16:44:02 EST 2007


I know this is suppose to be simple but I don't see what I'm doing wrong.

root at umuntu:~# pvcreate /dev/hda9
  Physical volume "/dev/hda9" successfully created
root at umuntu:~# pvdisplay /dev/hda9
  --- NEW Physical volume ---
  PV Name               /dev/evms/hda9
  VG Name
  PV Size               75.21 GB
  Allocatable           NO
  PE Size (KByte)       0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               mRAYM0-HgVU-gmfR-31IZ-U4m0-U2Pb-XhhGSw

root at umuntu:~# vgcreate -s 32M VolGroup09 /dev/hda9
  No physical volume label read from /dev/hda9
  /dev/hda9 not identified as an existing physical volume
  Unable to add physical volume '/dev/hda9' to volume group 'VolGroup09'.
root at umuntu:~# fdisk -l /dev/hda

Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1275    10241406    c  W95 FAT32 (LBA)
/dev/hda2            1276        2677    11261565   83  Linux
/dev/hda3            2678        2817     1124550   82  Linux swap / Solaris
/dev/hda4            2818       24321   172730880    5  Extended
/dev/hda5            2818        7682    39078081   83  Linux
/dev/hda6            7683       13153    43945776   83  Linux
/dev/hda7           13154       13166      104391   83  Linux
/dev/hda8           13167       14503    10739421   8e  Linux LVM
/dev/hda9           14504       24321    78863053+  8e  Linux LVM

Thanks,
Jim



More information about the Ale mailing list