Extended File System: Difference between revisions

From DWIKI
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Links=
=Links=
*[https://ext4.wiki.kernel.org ext4.wiki.kernel.org]
*[https://ext4.wiki.kernel.org ext4.wiki.kernel.org]
*[https://www.howto-do.it/ext4-block-size/ Ext4 and block sizes]


=FAQ=
=FAQ=
Line 21: Line 22:




=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

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