Linux Linux wrote:
hi,
I am running out of space on /usr. It's a logical volume (LogVol00) under
LVM (Volume00). I do have free space on Volume00
I did Lvextend -L +500MB /dev/Volume00/LogVol00
Now how do I extend actual filesystem?
It's RHEL ES release 3. Filesystem is EXT3. LVM 1.0.3 Kernal 2.4.21
I tried resize2fs and but that is not working because I am unable unmount
/usr
Thanks
Patel
You have to unmount the volume in RHEL 3.
It may be necessary to log in as root (no sudo!) or reboot into single
user mode to unmount a volume.
# umount /dev/Vol01/<vol>
Do a forced filesystem check
# e2fsck -f /dev/Vol01/<vol>
Extend the file system to new size
# sudo resize2fs /dev/Vol01/<vol>
Remount the volume
# mount /mount/point
Resizing a volume while still mounted requires a 2.6 kernel, lvm2-2.02
and above, e2fsprogs 1.39 and above
--
Stephen Carville <stephen@xxxxxxxxxxxxxx>
Systems Engineer
Land America
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list