LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-06-2007, 05:59 PM   #1
archangel_617b
Member
 
Registered: Sep 2003
Location: GMT -08:00
Distribution: Ubuntu, RHEL/CentOS, Fedora
Posts: 234

Rep: Reputation: 42
Large ext3 volume missing space


I have a 500GB ext3 volume which under df is saying is 20% used (94GB), yet when I do du, it only shows some dozens of KB. This volume is used as a working volume for our backups (Amanda) but should have basically 0 usage when there is nothing running.

[root@windsor holding]# df -h /holding
Filesystem Size Used Avail Use% Mounted on
/dev/sdc1 504G 94G 385G 20% /holding
[root@windsor holding]# du -sh /holding
36K /holding


What gives, where's my space?

TIA,
Dominic
 
Old 11-06-2007, 06:01 PM   #2
archangel_617b
Member
 
Registered: Sep 2003
Location: GMT -08:00
Distribution: Ubuntu, RHEL/CentOS, Fedora
Posts: 234

Original Poster
Rep: Reputation: 42
Fyi: This is Fedora Core 3 running Linux 2.6.9-1.667smp i686
 
Old 11-06-2007, 06:18 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,813

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
By default when an ext2/3 filesystem is created 5% (25GB in your case) is reserved for root use. This is supposed to reduce fragmentation as well as allow root to log in case the filesystem becomes full. Since this is a data partition you can safely reduce this to zero. Reserved space does not show up as being used which is why the numbers from the output of df do not add up. You can change the amount of reserved space via the tune2fs command.

Now what is using 94 GB is a more difficult question to answer. Could be hidden files try:
du -hax
 
Old 11-06-2007, 07:02 PM   #4
archangel_617b
Member
 
Registered: Sep 2003
Location: GMT -08:00
Distribution: Ubuntu, RHEL/CentOS, Fedora
Posts: 234

Original Poster
Rep: Reputation: 42
I think something was terribly wrong with that volume. I started fsck on it and it said fs contains errors, check forced, and it's been running for an hour doing nothing. It's an empty volume so even 500G shouldn't take very long, right?

Anyhow, I'm going to leave it fscking overnight and if it's still doing nothing tomorrow, like I said, it's only 36KB of data so I'll just pull that off and wipe the file system.

Geepers, I wonder what it is?
 
  


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
LXer: Ext3 for large filesystems and Time for ext4? LXer Syndicated Linux News 0 06-24-2006 06:21 AM
ext3 volume viewer for XP? joker20 Slackware 3 04-19-2005 04:05 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 07:45 AM
ext3 volume / win2000 problem canutelmehowman Linux - General 0 11-06-2002 02:28 AM
Large drive- too much space lost by large block size? tome Linux - General 5 12-14-2001 01:32 PM


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

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