Skip to main content

Posts

Showing posts with the label Volume Manager

How to extend or reduce a File System with LVM Linux

Before Reduce a File System Take a Backup in order to restore the information LVM Reduce a File System   #umount -f /test   #lvdisplay   #e2fsck -f /dev/vg_root/lv_test   #lvreduce /dev/vg_root/lv_test -L 3G   #mkfs.ext3 /dev/vg_root/lv_test   #e2fsck -f /dev/vg_root/lv_test   #mount /test   #df -h LVM resize a File System   #cd /Web   #ls (to check files)   #vgdisplay   #df -h /Web   #lvextend /dev/mapper/vg_root-lv_web -L +19G   #resize2fs /dev/mapper/vg_root-lv_web   #df -h Regards Roger