Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

How to proceed during installation to format EXT4 partition to limit inodes

Started by paul74, May 07, 2024, 04:21:43 PM

Previous topic - Next topic

paul74

Hello,

By default, when you format an EXT4 partition, space for Inodes is set to 5 %, that's means about 12 GB for a 240 GB SSD drive, that's really too much.

I try to limite that to 2% using  tune2fs command : 

pnp@pnp-aspirex3950:~$ sudo tune2fs -m 2 /dev/sdb1

tune2fs 1.47.0 (5-Feb-2023)

Setting reserved blocks percentage to 2% (1172137 blocks) <--------------

pnp@pnp-aspirex3950:~$ df -i

Sys. de fichiers Inœuds IUtil. ILibre IUti% Monté sur

udev 1261349 474 1260875 1% /dev

tmpfs 1271735 844 1270891 1% /run

/dev/sdb1 14655488 483632 14171856 4% / <---------------

tmpfs 1271735 184 1271551 1% /dev/shm

tmpfs 1271735 7 1271728 1% /run/lock

tmpfs 1271735 44 1271691 1% /tmp

/dev/sda1 72789392 36071 72753321 1% /media/pnp/Datas

tmpfs 254347 84 254263 1% /run/user/1000




Problem remains after restarting, and also if I try to proceed from booting using a USB key containing SparkyLinux.

How to proceed during a new installation to initiate SparkyLinux partition and specify only 2 % of space reserved to Inodes ?

Thank in advance for your ideas and comments.


View the most recent posts on the forum