Extended File System: Difference between revisions
From DWIKI
m (→FAQ) |
m (→Links) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Links= | |||
*[https://ext4.wiki.kernel.org ext4.wiki.kernel.org] | |||
*[https://www.howto-do.it/ext4-block-size/ Ext4 and block sizes] | |||
=FAQ= | =FAQ= | ||
Line 7: | Line 10: | ||
tune2fs -l /dev/partition | grep 'Reserved' | 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== | ==Grow to partition size== | ||
Simply | Simply | ||
resize2fs /dev/sdc1 | |||
=Check minimum size for resize2fs= | |||
resize2fs -P /dev/sdc1 | |||
gives you the number of (usually 4096 byte) blocks |
Latest revision as of 14:34, 15 August 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