Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disk Recovery Part III



I see.
Well, it seems you learned the hard way that resizing partitions isn't
something that LVM was designed to handle.  That also explains why you
had a much easier time with qt_parted.

LVM's purpose is to allow you to shuffle fixed-size devices (or
partitions) around underneath the filesystem layer.  An approach to your
problem that would lend itself to the use of LVM would have been to
create a bunch of medium-sized partitions, then add or delete those
partitions to your LVM as desired (admittedly I don't know how that
approach would interact with vmware virtual disks).

But the situation you're in, with only 4 partitions (presumably all
needed), means you're stuck using qt_parted.
--Matt


Derek Atkins wrote:
> Well, I was /trying/ to be abstract, here, but the real answer is
> "I resized my vmware virtual disk into a larger size and I want
> to increase the size of my root partition on that virtual disk".
> 
> Besides, you can't have more than four native partitions and only
> one of them can be an extended partition.  So once your disk is
> partitioned fully like that then if the disk geometry changes
> you need to actually mess with the partition sizes and don't have
> the flexibility to just add another partition.
> 
> -derek
> 
> Quoting Matthew Gillen <me at mattgillen.net>:
> 
>> Derek,
>> It's not clear to me what you're talking about.  What do you mean your
>> physical disk "just changed" from 40GB to 80GB?  If the 80GB is a new
>> disk, why not re-do the partitioning and re-create the LVM according to
>> the new size?  If there is only one disk and the extra 40GB is from some
>> other partition on the same disk (that just got re-claimed from some
>> other OS), why not treat that partition as a *new* physical device?   I
>> can't see why you would ever want to re-size a physical device.  There's
>> nothing wrong with having a LogicalVolume that has two partitions from
>> the same disk as physical devices.
>>
>> --Matt
> 
> 





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org