On 24/06/11 8:01 AM, nev young wrote:
I have noticed something a little odd about the space allocation on my disks. Prompted by the disks getting rather full.
Taking two in particular I see (using system monitor) device type total free available used /dev/sdb1 ext3 1386.0Gb 79.8Gb 10.0Gb 1306.2Gb 99% /dev/sdc1 ext3 1386.3Gb 111.0Gb 41.2Gb 1275.2Gb 96%
Ok. total = free + used but why only 10Gb / 41.2Gb available?
Hi Nev,
I believe ext2/3 makes a percentage of the total space unavailable to unprivileged users, man tune2fs says:
-m reserved-blocks-percentage Set the percentage of the filesystem which may only be allocated by privileged processes. Reserving some number of filesystem blocks for use by privileged processes is done to avoid filesys‐ tem fragmentation, and to allow system daemons, such as sys‐ logd(8), to continue to function correctly after non-privileged processes are prevented from writing to the filesystem. Nor‐ mally, the default percentage of reserved blocks is 5%.
Cheers, Rob.