Just installed Lenny.
There is a mismatch between size and available space when doing df:
Eg, it says
Actually I manually partitioned, and I remember seeing a 5% field in partition properties; I dont recall what it was, but it seems that I'm losing 5% for every ext3 partition.Code:/dev/sda8 Size:163G Used:188M Avail:155G
I also made a fat32 partition which shows full space as available
-
wearetheborg Notebook Virtuoso
-
Ext3 has a pretty big overhead for journals and other filesystem tasks. You can double check by running the sync command, then df.
If the space is important, you can try XFS or reiser3, both which have a lot lower overhead. -
wearetheborg Notebook Virtuoso
Apparently the "issue" was that debian reserved some space for privileged processes, in case the filesystem got full:
http://forums.debian.net/viewtopic.php?p=219861#219798
Gotta love the stability mindset of Debian -
Debian doesn't do that. Ext* does. The default reserved space for ext3 is 5%, but that's unnecessary in most cases. System critical spaces like /, /root, /var, and /tmp should have the 5% reservation, but /home and whatever else storage partitions you have don't need nearly that much.
You can change the percentage of reserved space with tune2fs:
Code:# tune2fs -m 1 /dev/sda2 ##<--- set reserved space for /dev/sda2 to 1% # tune2fs -m 0 /dev/sda2 ##<--- set reserved space for /dev/sda2 to 0
-
wearetheborg Notebook Virtuoso
-
Really?
Well, that's probably not surprising. Distros like Suse are not known for leaving things at default. -
wearetheborg Notebook Virtuoso
/ has capacity 7 GB, of which only only 82M now remains
I really should upgrade now....
Discrepancy between size and available disk space
Discussion in 'Linux Compatibility and Software' started by wearetheborg, Mar 27, 2009.