LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-08-2005, 02:11 AM   #1
mhath
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
df shows disk almost full, can't see why


Hi, I'm running Ubuntu Badger on a Dell Dimension 4550 with a single partition 60 gb hard drive.

When I do "df -H --si" I see that I have used 51 gbs, with only 4 gbs of available space remaining.

But Nautilus show that my only user's Home folder is using 9 gbs, and the file system is using 14 gbs, for a total of approx. 25 gbs.

I have rebooted, emptied Trash, logged in as root, removed old stuff, run "ls" over various directories, etc, but I can't see where the other 25 gbs are.

Any help much appreciated,

Mark H
 
Old 12-08-2005, 02:22 AM   #2
mhath
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Never mind, it's my root account trash. Consider this one closed
 
Old 12-08-2005, 07:05 AM   #3
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Next time try this command:
du -sh /[!d,p]*

I think you might be quite intrigued by it's output.
 
Old 12-14-2005, 12:23 PM   #4
mhath
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Yep, you were right - I am quite intrigued! Thanks Sepero.
 
Old 12-14-2005, 12:42 PM   #5
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Quote:
Originally Posted by Sepero
du -sh /[!d,p]*
Even after reading the du man page I don't get the /[!d,p] part... something tells me this is general filename notation I don't know yet.
 
Old 12-14-2005, 12:57 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
That is globbed by the shell to tell du not to look
in the /dev and /proc directories....



Cheers,
Tink
 
Old 12-14-2005, 08:55 PM   #7
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Quote:
Originally Posted by Tinkster
That is globbed by the shell to tell du not to look
in the /dev and /proc directories....
That is absolutely correct.

It is very similar to "/*", but it excludes "/d*" and "/p*". This is handled by the Bash Shell, not the program.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
disk shows it is full after installing one cd SDP Linux - Software 1 08-01-2005 06:49 PM
partition shows full when not eroica Linux - Software 2 02-03-2005 09:01 AM
Trashicon shows full but it's empty Boby Fedora 0 07-09-2004 07:35 PM
root partition shows 100% full in RH 7.2 dmcmurray5 Red Hat 2 05-18-2004 03:24 PM
Used dd now, then reformatted drive - still shows 80% full! bluehz Linux - Hardware 3 03-15-2004 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration