LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ext3 filesystem question (https://www.linuxquestions.org/questions/linux-general-1/ext3-filesystem-question-131471/)

chrisk5527 01-04-2004 02:14 PM

ext3 filesystem question
 
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 463M 372M 67M 85% /
/dev/hda3 19G 2.0G 16G 12% /usr
/dev/hda4 126G 4.7G 115G 4% /home

Currently, I'm running Slackware 9.1, kernel 2.4.22, which supports larger disks and ext3 as the filesystem. Take a look at the /home partition. If you add up "Avail" *(115GB) and "Used" (4.7GB) it does not equal "Size" (126GB). Is this because of the journals, I really doubt that the journals would take up 6GB. I'm kind of confused here. I mean, I have 115 GB more to play with, but it bugs me not knowing where that 6GB is.

frogman 01-04-2004 02:31 PM

Assume you've checked disk size as root?

IIRC, depending how your box is set up, the system will reserve some space for root. So as a standard user, though a partition appears full (or a certain size), there's actually some space left over, but it's allocated to root.

There was a thread about it a while ago.

[edit: http://www.linuxquestions.org/questions/history/122949 ]

jailbait 01-04-2004 02:39 PM

The file system control blocks usually take up about 5% of the space. I do not think that your /home partition is out of line in the amount of overhead in the file system control blocks.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

michaelk 01-04-2004 03:24 PM

On an ext2/ext3 partition 5% is reserved for root. It is supposed to keep fragmentation down as well as if you fill up the partition root should still be able to log on etc.

Use tune2fs to modify.


All times are GMT -5. The time now is 01:44 AM.