Help - Search - Members - Calendar
Full Version: Free Space Error
Linuxhelp > Support > Technical Support
Nodal
I'm running a debian netinstall version of sarge I put in a few weeks ago (replacing essentially the same system I'd had in for about a year) and I've run into a problem. Despite the fact that there is about 5gb of free space on the partition it is reporting that my home area is nearly full.

df output:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 6728280 3937640 2448860 62% /
tmpfs 452700 0 452700 0% /dev/shm
/dev/sda6 100063352 94761420 218968 100% /home
/dev/hdd1 19969904 18310484 1659420 92% /backup
/dev/sda3 87931776 12508204 75423572 15% /mnt/windows


How can I correct the poor math of my system?
Robert83
Hi,

If the filesystem is ext3 then, maybe when it was created 5% was reserved for super user?

man mkfs.ext3 see -m option

Sincerely
Robert B

ps.: unfortunately I don't know how to remove this limit, or if it is even possible to alter it after the creation of file system, I will google a bit for it tough...
Robert83
Hi,

with tune2fs you can change the reserved space...

man tune2fs, I've never done this tough, so you might wanna try this on another disk to be sure?

see the -m option in the man , for details


Sincerely
Robert B
Nodal
I don't think that's it. I don't really keep close tabs on my free space, but I'm pretty sure that that area has not been reserved. For some reason the system doesn't know it's empty.
michaelk
Is is an ext2 or ext3 filesystem?
Nodal
ext3
michaelk
Robert83 is correct. When an ext2/3 filesystem is created 5% by default is reserved for root. This is supposed to reduce fragmentation as well as allow root to login in case of problems and to perform routine maintenance. 100GB *.05 = 5GB.

Also as posted you can use tune2fs to reduce the amount of reserved space. I suggest 1%.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.