Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-18-2010, 07:16 AM   #1
LQ Newbie
Registered: Feb 2010
Posts: 10

Rep: Reputation: 0
Question Inconsistent disk usage

My english is bad so please be a little indulgent.

A few days ago, I installed Debian Lenny on a 500GB HD, on remote computer with no problem. I created a few users, installed some packages and so on. I also installed quota and allocated a 25GB quota to one of those users. No problem.

Now I remotely re-installed the same Debian version, using the default partition system, installed gnome for testing purpose and some packages.
I created a few users, one of them with the same name as in the previous installation. I did'nt install quotas.
I have webmin installed and I get the some results as below on the "system information" page / Local disk space.

When I type df -h in the console I get a weird result on the sda2 line :

Filesystem Size Used Avail Use% Mounted on

/dev/sda2 452G 222M 429G 1% /home

The problem is, as you can see, there are around 22GB missing !
Anyway I haven't installed 22GB of packages.
I searched the net for infos, read df man pages about this and found nothing.

Can someone explain me or help me fixing the problem please ?

Old 02-18-2010, 07:32 AM   #2
Registered: Aug 2002
Posts: 24,745

Rep: Reputation: 5599Reputation: 5599Reputation: 5599Reputation: 5599Reputation: 5599Reputation: 5599Reputation: 5599Reputation: 5599Reputation: 5599Reputation: 5599Reputation: 5599
By default when an ext2/3 filesystem is formatted 5% is reserved for roots use. This is supposed to reduce fragmentation as well as allow root to login in case the filesystem becomes full. You can use tune2fs to reduce the amount of reserved space.
Old 02-18-2010, 07:44 AM   #3
LQ Newbie
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0

Thanks a lot for these precisions. I didn't know about that and never noticed this before or on other posts about disk usage... I'll use tunefs as you suggested. Problem solved.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Usage Analyzer reports too much disk space? ler0nldb2 Linux - Newbie 1 09-12-2009 10:27 AM
disk usage ?? sachinh Linux - General 3 11-16-2007 01:03 PM
Analyzing disk usage: inconsistent results from du, df overbored Linux - Software 3 12-01-2006 09:23 PM
Inconsistent disk/directory usage using 'ls' essdeeay Linux - General 1 10-28-2005 07:36 AM
101% disk usage on an empty disk tsiuser Linux - Software 3 01-28-2004 06:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration