LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot allocate Physical Volume (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-allocate-physical-volume-673267/)

adscombi 09-30-2008 07:06 AM

Cannot allocate Physical Volume
 
g'day all

i can't seem to allocate a PV to a VG
i've fdisk-ed the drive (HDC) and made it LINUX LVM, but anytime i try VGCREATE i get an error

lvm> vgcreate volume_group_two /dev/hdc1
Incorrect metadata area header checksum

and below running PVSCAN

lvm> pvscan
PV /dev/hda2 VG VolGroup00 lvm2 [5.88 GB / 0 free]
PV /dev/hdc1 lvm2 [37.27 GB]
Total: 2 [43.14 GB] / in use: 1 [5.88 GB] / in no VG: 1 [37.27 GB]
lvm> pvdisplay
--- Physical volume ---
PV Name /dev/hda2
VG Name VolGroup00
PV Size 5.91 GB / not usable 31.91 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 188
Free PE 0
Allocated PE 188
PV UUID b2GrOd-o4gz-d5fo-KyB2-Gscb-6jah-5PclQU

"/dev/hdc1" is a new physical volume of "37.27 GB"
--- NEW Physical volume ---
PV Name /dev/hdc1
VG Name
PV Size 37.27 GB
Allocatable NO
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID cyd1Ng-eD2Q-6F1c-XBaX-5YXW-Sn8V-xooCli


i'm kinda new to linux and would appreciate any help

cheers

adscombi 09-30-2008 09:07 AM

thanks anyway....
 
g'day

it seems to have worked now

lvm> pvdisplay
--- Physical volume ---
PV Name /dev/hdc1
VG Name VolGroup02
PV Size 37.27 GB / not usable 2.19 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 9540
Free PE 9540
Allocated PE 0
PV UUID cyd1Ng-eD2Q-6F1c-XBaX-5YXW-Sn8V-xooCli

go figure???


All times are GMT -5. The time now is 03:00 PM.