lvm issues: trouble adding HDDs
I'm attempting to add a HDD to my machine, which is using LVM, to extend the usable drive space.
i have read the howto, and google the heck out of this, to no avail.
most of it has gone off without a hitch, but i think i am missing a step somewhere.
( also, i'm attempting to get acquainted with encrypted lvm, and i'm assuming that this shouldn't make a difference. Please correct me if i am wrong. )
what i have done:
- physically installed the new 60GB hdd
- i formated the disk with fdisk, giving it an ID of linux lvm,
creating one partition the size of the whole disk
- i executed: mkfs -t ext3 /dev/hdb1
- i exetecuted: pvcreate /dev/hdb1
- I added the PV to the VG, bear, by executing: vgextend bear /dev/hdb1
- i am trying to extend my 'home' logical volume,
so, i execute: lvextend -L +59G /dev/bear/home
and i get an error
i also tried: lvextend -L +59G /dev/bear/home /dev/hdb1
both commands return the same error message:
"Extending logical volume home to 162.39 GB
Insufficient suitable allocatable extents for logical volume home: 794 more required"
at this point, i'm at a total loss of what to do.
google, as well as all the forums i normally visit have shared no love.
Last edited by spargonaut; 04-28-2007 at 01:47 PM.