LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   System doesn´t show real available space (https://www.linuxquestions.org/questions/linux-newbie-8/system-doesn%B4t-show-real-available-space-207136/)

mcaisapanta 07-19-2004 05:47 PM

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?

Regards...
MARIO

Tinkster 07-19-2004 06:26 PM

Hi, and welcome to LQ ...

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


Cheers,
Tink

osvaldomarques 07-19-2004 08:26 PM

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
Code:

du -sch .


All times are GMT -5. The time now is 10:56 AM.