Extended File System: Difference between revisions
From DWIKI
mNo edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
=Check minimum size for resize2fs | =Check minimum size for resize2fs= | ||
resize2fs -P /dev/sdc1 | resize2fs -P /dev/sdc1 | ||
gives you the number of (usually 4096 byte) blocks |
Revision as of 12:44, 20 March 2024
Links
FAQ
Reserved space
Check reserved space
tune2fs -l /dev/partition | grep 'Reserved'
Remove reserved space
tune2fs -r 0 /dev/sdd1
Reduce reserved space
Set to 1%
tune2fs -m 1 /dev/sdd1
Grow to partition size
Simply
resize2fs /dev/sdc1
Check minimum size for resize2fs
resize2fs -P /dev/sdc1
gives you the number of (usually 4096 byte) blocks