LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 07-19-2004, 05:47 PM   #1
mcaisapanta
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?

Regards...
MARIO
 
Old 07-19-2004, 06:26 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

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

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


Cheers,
Tink
 
Old 07-19-2004, 08:26 PM   #3
osvaldomarques
Member
 
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
Code:
du -sch .
 
  


Reply


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


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

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