hard disk space reserved for root
The ext3 file system and ext4 by default reserves 5% of disk space for root partition by reducing the disk space that can be used. This is very useful in the root partition (/), / var and / root if at any time since the partition is full, thanks to the space reserved root can access the system free space and solve the problem. However, the partitions which are intended for storing data (such as / home) is not much point wasting that% 5 of space. If you only have one partition for the whole system is recommended to leave this room to spare.
tune2fs command is used to display and modify the space to root.
Saturday, November 13, 2010
Nfcu Commissioning Loan
With this command you can see the details of the space allocated for processes running as root:
# tune2fs-l / dev/sda1 will display various data, including:
Block count:
48584560 Reserved block count: 2429228
As you can see the% 5 of the partition is reserved. It also shows the date it was created that file system (Filesystem created) The following command is modified to% 1 the percentage of space reserved for root on a partition ext3/ext4:
# tune2fs-m 1 / dev / sda1
If you do not want to assign a percentage of space reserved Ext3/Ext4 format a partition can run the following command:
# mkfs.ext3-m 0 / dev/sda1
can also change the time that must is automatically scanned the file system (by default every 30 mounts or 180 days, whichever comes first) to prevent failures. The following command is changed to maximum 50 assemblies: # tune2fs-c 50 / dev/sda1
With the-i parameter amending days maximum.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment