Resize ext filesystems
high risk
e2fsck -f <device>Check before resizinglvextend -r -L +10G <lv>Extend LV + filesystem in one stepGrows or shrinks ext2/3/4. Growing can be done online; shrinking needs unmount and fsck.
resize2fs /dev/vg0/dataGrow to fill the LV · explain & risk-check →resize2fs /dev/vg0/data 50GShrink to 50G (offline) · explain & risk-check →Reference text is hand-written and may be incomplete — check man resize2fs for your version. Test destructive commands on a non-production system first.