resize2fs
CautionResize ext filesystems
resize2fs <dev>
Grows the filesystem to match an enlarged partition/LV — online for growth; shrink needs unmount.
Examples
lvextend -L +20G /dev/vg0/data && resize2fs /dev/vg0/dataGrow FS after LV extend
Syntax
resize2fs <device> [size]
Before you run it
Shrinking carelessly destroys data.
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store