Extend rootvol LV in RHEL4
hello experts;
I want to extend rootvol (/) - currently at 16Gb, with additional 50GB in RHEL4? Is this posibble? --------------------------------------------------------| [root@RHEL43SVR01 /]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/rootvg-rootvol 16G 7.3G 7.5G 50% / /dev/sda1 99M 18M 77M 19% /boot none 7.8G 0 7.8G 0% /dev/shm /dev/mapper/rootvg-homevol 2.0G 36M 1.9G 2% /home [root@RHEL43SVR01 /]# vgdisplay | grep Free Free PE / Size 2365 / 173.91 GB --------------------------------------------------------| |
lvextend and resize2fs are your friend...
|
i used that..
1st try - unable to unmount '\' - 'device busy'.. then after tried few times.. the volume size seems no change? please help.. |
Maybe boot into rescue mode with a RHEL4 CD (linux rescue) and do your resizing there.
|
RHEL 4 should not require you to umount your partition. You can change it on the fly with newer versions of LVM.
|
Quote:
However I vaguely remember there's a size limitation with "ext2online" command on a unprepared partition. |
Quote:
The size limitation only affects ext2 filesystems, since it was not created with this in mind originally for changing the size on a mounted partition. And I would find it hard to believe if anyone is still using ext2, unless it's some legacy system, etc. |
All times are GMT -5. The time now is 04:35 PM. |