Linux

tune2fs

CautionTune ext filesystems

tune2fs -l <dev>

Inspects/tunes ext filesystems. The classic trick: drop the 5% root reserve (-m 1) to reclaim space.

Examples

  • tune2fs -m 1 /dev/sdb1Shrink the reserved blocks

Syntax

tune2fs -l <dev> / tune2fs [-m percent] [-L label] <dev>

Before you run it

Double-check the target device.

Related commands

  • dfDisk free space
  • fsckCheck filesystem
  • blkidShow device UUIDs

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