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

Re: missing disk space

also sprach Peter Dumpert <pdumpert@innovativebusiness.net> [2006.02.07.2026 +0100]:
> agreeing. Here is the most recent:
> home:~# df -h /var
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda2              10G  8.8G  716M  93% /var
> home:~# du -hs /var
> 120M    /var

First thing to check: are there still processes holding handles to
files on /var? If yes, and these files are big, then the above
output will be exactly like you see it.

> I also noticed that the amount of free space according to df was 
> steadily decreasing, but the du results stayed the same. The rate is not 
> consistent (it averages to about 1 or 2MB per hour) but the drain is 
> constant.

lsof is your friend.

Please do not send copies of list mail to me; I read the list!
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
"cs class at 8:30am. ugly. if you can wake up early enough to get
 good grades here, you need to develop hacker habits..."
                                     -- jeff bailey on #debian-devel

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply to: