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
[EMAIL PROTECTED]

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to