resize2fs

Resize ext filesystems

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
Safer / dry-run alternatives
e2fsck -f <device>Check before resizing
lvextend -r -L +10G <lv>Extend LV + filesystem in one step
What it does

Grows or shrinks ext2/3/4. Growing can be done online; shrinking needs unmount and fsck.

Examples
resize2fs /dev/vg0/dataGrow to fill the LV · explain & risk-check →
resize2fs /dev/vg0/data 50GShrink to 50G (offline) · explain & risk-check →
Related
lvm e2fsck xfs_growfs
Open the full explainer →More in Disks & Filesystems

Reference text is hand-written and may be incomplete — check man resize2fs for your version. Test destructive commands on a non-production system first.