To resize an ext4 file system you must use the resize4fs command.The resize4fs command is provided by the e4fsprogs package.
# yum install e4fsprogs
Once installed, you should resize the filesystem using the below filesystem. this can be performed online also
# resize4fs /dev/VolGroup00/LogVol02
If the filesystem is "dirty" or has contiguity errors a file system check (fsck) must be run against the file system first. After this, the above resize4fs command should be used and the file system can be mounted again.
# e4fsck -f /dev/VolGroup00/LogVol02
No comments:
Post a Comment