What is left to the root user when deleting a disk partition?
Source: Internet
Author: User
The section left to the root user when deleting a disk partition-general Linux technology-Linux technology and application information. The following is a detailed description. Original article http://yegle.net/2008/01/05/use-the-reserved-blocks/
Original: yige
When partitioning a disk, home is a separate partition and has no experience during the first installation. At that time, 5% of the space is reserved for the root user. But in fact, the root user's home directory is under/. Basically, it is not necessary to reserve a part of the space in home to root, so it is necessary to remove this 5%.
Google once found that it was using tune2fs to adjust the reserved-blocks.
Sudo tune2fs-m 0/dev/sda5
The m parameter specifies the percentage of reserved-blocks to the total size.
Man manual:
-M reserved-blocks-percentage
Set the percentage of the filesystem which may only be allocated by privi-
Leged processes. Reserving some number of filesystem blocks for use
Privileged processes is done to avoid filesystem fragmentation, and
Allow system daemons, such as syslogd (8), to continue to function cor-
Rectly after non-privileged processes are prevented from writing to
Filesystem. Normally, the default percentage of reserved blocks is 5%.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.