Home Posts tagged "lvm"
formats

How to resize LVM logical volumes with ext4 as filesystem

Published on February 3, 2011 by WaYdotNET in Script, tips

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19   # Unmount the filesystem and check its’ LV umount /mnt/foo e2fsck -f /dev/mapper/vg0-foo   # Shrink ext4 and then the LV to the desired size resize2fs -p /dev/mapper/vg0-foo 40G lvreduce -L 40G /dev/mapper/vg0-foo   #

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn