Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

Re: [rhelv5-list] system-config-lvm and the root filesystem

David Miller

2008-01-18

Replies:

Author LoginPost Reply
Mathew,

I have not used the GUI tools to do this but I know the CLI tools work
just fine. Here is a how to I wrote to resize LVM and an EXT3
filesystem ontop.

http://www.sdmachelp.com/linuxlvm.html

David Miller.


On Jan 18, 2008, at 11:52 AM, Matthew Rich wrote:

> Hi all,
>
> I just installed a pair of drives into one of my machines (RHEL5.1)
> and want to grow the logical volume that hosts the root filesystem
> so that it uses all of the space on the two drives. (Yes, I'm aware
> it's not a good idea to have the entire filesystem live in one
> single logical volume. However, repartitioning the server is not
> really worth doing since this is just an auxiliary web server that
> runs a few non-critical web apps. I just don't want to have to
> rebuild the thing.)
>
> I have fdisk'd the drives and vgextended the VolGroup00 volume group
> so that when I do a vgdisplay I see that VolGroup00 is indeed using
> all the space -- about 340GB. However, when I look at the size of
> the root filesystem with df, it's still only using the 65GB from the
> original disk. So, obviously, I need to grow the filesystem so that
> it takes up the entire logical volume.
>
> Thing is, I'm paranoid about doing this. I've backed up the entire
> filesystem and now have the system-config-lvm GUI app open in front
> of me. I've found the "edit properties" screen for the logical
> volume where I can simply click the "use remaining" button and it
> *looks* like it will automatically grow the filesystem (which is
> ext3) to the full size. Before I click "OK" here, I just wanted to
> ask the list -- will this work? Will this tool be able to
> automatically grow the root filesystem without having to unmount it
> first?
>
> Thanks,
> Matthew
>
> --
> Matthew Rich
> Senior Web Application Developer
> Northwestern University
> School of Education and Social Policy
> Annenberg Hall, Room 249
> +1 847 467 2819
> m-rich@(protected)
>
> _______________________________________________
> rhelv5-list mailing list
> rhelv5-list@(protected)
> https://www.redhat.com/mailman/listinfo/rhelv5-list

_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.