Efficient use of Linux file system

In the ext file system (ext2/ext3/ext4), the area that can be used only by the root user is reserved, so the disk space may not be fully used. By default, 5% of the partition size is secured, but with a 2TB hard disk it will be 100GB, so you will not be able to use the size that can not be ignored.

Reallocate space reserved for the system

shell


# tune2fs -m 0 ${device}

0% is fine as long as it is a partition dedicated to user data that does not contain system files. There is no point in allocating a dedicated area for root unless it is a system area because it is intended to prevent the operation of the system from being affected even if some users use the data to the full.

Recommended Posts

Efficient use of Linux file system
Device and Linux file system
Summary of restrictions by file system
Use of constraints file added in pip 7.1
Ping-t (subject 104) device, Linux file system, FSH
Why use linux
Device, Linux file system, FHS ① Memorandum Creation of partition and file system / maintenance of file system integrity
[Linux] File search
Convenient use of ipython
Meaning of Linux permissions
[Linux] Installation of nvm
Graceful use of MySQLdb
Linux command [File operation]
Hack Linux file descriptors
Linux system architecture [runlevel]
Reimport of .py file
[Linux] How to disable automatic update of /etc/resolv.conf file (Redhat)
Summary of python file operations
Addition of amazon linux swap
Use Github Desktop on Linux
Incremental backup of Linux (restore)
Summary of Linux distribution types
Linux file and directory permissions
Use and integration of "Shodan"
Linux main package management system
Use WDC-433SU2M2 with Manjaro Linux
Use sshpass on Amazon linux2
Japanese translation of Linux manual
A brief summary of Linux
Hack Linux fork system calls
Use Linux on Windows 10 (WSL2)
Meaning of Linux directory permissions
[Linux] I tried to summarize the command of resource confirmation system
Beginners add disks and use them as a file system (´ ・ ω ・ `)
On Linux, the time stamp of a file is a little past.
[Linux] How to disable the automatic update of the /etc/resolv.conf file (AmazonLinux2)
How to output the output result of the Linux man command to a file
I tested whether the Windows disk performance of the KVM guest changes depending on the Linux file system of the host.