Welcome to the most active Linux Forum on the web.
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 07-19-2004, 06:47 PM   #1
LQ Newbie
Registered: Jul 2004
Location: Guayaquil, Ecuador
Distribution: RedHat
Posts: 2

Rep: Reputation: 0
Question System doesn´t show real available space

Hi all:
My system, RedHat AS R.2.1, doesn't show real available space.
When I use the "df" command, I see that Linux uses 1.9G from 2.0G in file-system /home::

home>df -kh
File-system Size Used Avail Use% Mounted
/dev/sdh1 2.0G 1.9G 33M 99% /home

But, if I execute the 'du' command I get this::

home>du -sh .
159M .

Anyone knows how I can fix that?

Old 07-19-2004, 07:26 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,047
Blog Entries: 11

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Hi, and welcome to LQ ...

In this case, Google would have
been your friend :)

Old 07-19-2004, 09:26 PM   #3
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
Hi Mr.,
Your options of du show just the space the files in the home directory use. The df command shows all your partition. To see all space used in the home partition, you have to enter
du -sch .


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
Syncing real hdd space with proftpd mod_quotatab_sql data qQsh Linux - Software 0 03-13-2005 11:48 AM
Do Live CD's show the real abilities of Distro's? ashkan_G Linux - Newbie 3 09-29-2004 10:41 PM
System doesn't show a real available space mcaisapanta Red Hat 1 07-19-2004 10:58 PM
Linux doesn' boot due to lack of hard disk space ravykanth Linux - General 1 10-27-2003 04:44 PM
how to use vm-pop3d with real system users? lzyking Linux - Software 11 06-04-2003 05:49 AM

All times are GMT -5. The time now is 05:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration