Extended File System: Difference between revisions

From DWIKI
(Created page with " =FAQ= ==Reserved space== *https://ma.ttias.be/change-reserved-blocks-ext3-ext4-filesystem-linux/ ===Check reserved space=== tune2fs -l /dev/partition | grep 'Reserved'")
 
 
(5 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 6: Line 9:
===Check reserved space===
===Check reserved space===
  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==
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