--> resize /data mount point from 4Gb to 3 GB.
1. Unmount the volume
# umount /data
2. fsck your volume
# e2fsck -f /dev/datavg/FS_data
3. Resize the Filesystem
# resize2fs /dev/datavg/FS_data 3G
# lvscan
4. Resize the volume
# lvreduce -L 3G /dev/datavg/FS_data
# mount -a
5. Verify the size
# df -h /data
1. Unmount the volume
# umount /data
2. fsck your volume
# e2fsck -f /dev/datavg/FS_data
3. Resize the Filesystem
# resize2fs /dev/datavg/FS_data 3G
# lvscan
4. Resize the volume
# lvreduce -L 3G /dev/datavg/FS_data
# mount -a
5. Verify the size
# df -h /data
No comments:
Post a Comment