Show ext reserved block settings
Build a paste-ready command, then review its compatibility and effects before running it.
tune2fs -l <device> | rg 'Reserved block count|Reserved block percentage'Complete required fields to copy the generated command.
read-onlyno known side effects Compatibility
LinuxVerified for Linux using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-20
Requirementstune2fstune2fs must be installed and available on PATH.
Version supporttune2fs Current supported releasesVerified for linux using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsReserved block count: 1310720Representative successful output; values vary with the selected target and system state.
Known errorstune2fs: command not foundtune2fs is missing or is not available on PATH.
Verifytune2fs -l {{device}} | rg 'Reserved block count|Reserved block percentage'The output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01tune2fsCommandRuns the tune2fs stage of this one-liner.
02-lOptionConfigures tune2fs with the -l option.
03<device>ParameterA value supplied in the Fill parameters section.
04|PipelinePasses the output on the left to the command on the right.
05rgCommandRuns the rg stage of this one-liner.
06'Reserved block count|Reserved block percentage'ArgumentPasses 'Reserved block count|Reserved block percentage' to rg.
Example input
tune2fs -l /dev/sda | rg 'Reserved block count|Reserved block percentage'
Example output
Reserved block count: 1310720
Reserved block percentage: 5%
Illustrative output — exact values vary by system and data.
Official sources