LVM management (was Re: Boot sequence

Derek Broughton news at pointerstop.ca
Fri Nov 14 15:42:43 UTC 2008


Derek Broughton wrote:

> I'm trying out kvpm, now, but there's system-config-lvm for gnome. 
> So, yes, the desktop supports LVM.

With caveats.

I created a Logical Volume on one of the spare partitions.
I then extended the existing Volume Group to include the volume.

So far, so good, no problem.
Then I extended /home to include the new space.  Oops.  :-)  It works - 
and it might work better or worse if you have a different filesystem on 
the partition you're extending (in this case JFS), but when I extended 
the /home partition, it automatically extended the filesystem - and 
_that_ required remounting RO (presumably because I was using it at the 
time).  So I still ended up having to reboot (one of the very few cases 
where I miss having a root account - you can't be logged into a non-root 
account without /home being in use [well, I suppose even that's not 
really true, but creating an account with it's home directories 
somewhere else seems just silly]).

Needless to say, don't do this without a backup :-)
-- 
derek





More information about the ubuntu-users mailing list