LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2008, 08:06 AM   #1
adscombi
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
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
 
Old 09-30-2008, 10:07 AM   #2
adscombi
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Original Poster
Rep: Reputation: 0
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???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora LVM volume group & Physical Volume resize problem gabeyg Fedora 1 05-14-2008 12:26 PM
LVM -creating physical volume satimis Linux - General 2 08-10-2006 02:44 AM
resizing lvm2 physical volume fakie_flip Linux - Software 3 08-07-2006 01:18 PM
LVM Physical Volume Lucky_Sevin Linux - Software 2 01-10-2006 11:44 AM
want to convert LVM physical volume to ext3 or vfs nikhil_damu Fedora 2 12-15-2005 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration