[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [bug?] df and du -s output inconsistent?



Have you changed your partition table?  When I did this, I first did
a cp -a /usr /newusr on a seperate partition.  Then I editted fstab
and rebooted.  The system worked fine but the old usr directory was
still there just not visible.

I rebooted using Toms Repair Disk and it showed the "missing" files
that were using up space.  A few rm -rf commands and next time I
booted df and du were alingned.

On Thu, Mar 09, 2000 at 12:39:18AM -0900, Ethan Benson wrote:
> On Thu, Mar 09, 2000 at 06:34:29PM +0900, Olaf Meeuwissen wrote:
> > 
> > Uhm, the figures concerned are 0.6, 1, 1.6 and 2 gigabytes.  I see no
> > (sensible) way of getting 5% out of those even without doing any math.
> > Closest I come is 20% ;-)
> 
> well i said i was too lazy to bother with any calculations :P
> 
> > Your 5% for the superuser is 0.1 gigabytes.  It's not even close :-)
> >
> > Any other suggestions?
> 
> like others said open deleted files, i was going to say hard links but
> GNU du seems to not be braindamaged like some commercial unix versions
> of du that can't tell the difference between a hard link and a
> copy. (*cough* Digital UNIX).
> 
> have you fscked it recently?  perhaps there is something messed up in
> the filesystem..
> 
> tune2fs -l /dev/whatever and see if the reserved space is actually
> more then 5%
> 
> other then that i cannot really think of anything, other then perhaps
> some evil code that is hiding files from you but not hiding there disk
> utiliztion... 
> 
> > -- 
> > Olaf Meeuwissen       Epson Kowa Corporation, Research and Development
> > 
> 
> -- 
> Ethan Benson
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 

-- 
Patrick Kirk

Diplomacy is the art of saying "nice doggy" until you can find a rock.


Reply to: