Koozali.org: home of the SME Server

Something is filling my Hard Disk !

Offline groutley

  • *****
  • 213
  • +0/-0
    • http://www.routley.homeip.net
Something is filling my Hard Disk !
« on: July 12, 2010, 01:29:32 PM »
Hi,
 I am hoping someone might have an ide as to what is filling my SME Server 7.5.1 Hard drive..
Earlier this evening my daughter complained about bad internet access..
I thought I'll reboot SME and see if that helps, Now the VM's never start, and the
/var/log/messages shows :
Code: [Select]
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD 12: disk write error: (28) No space left on device
Jul 12 19:21:05 l1nuxsvr squid[6169]: storeDirWriteCleanLogs: Starting...
Jul 12 19:21:05 l1nuxsvr squid[6169]: WARNING: Closing open FD   12
Jul 12 19:21:05 l1nuxsvr squid[6169]: diskHandleWrite: FD
This continues..
I did delete some large files and freed up around 5G of space, but it was soon filled !!
Quote
[root@l1nuxsvr spool]# df -Th
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/main-root
              ext3    292G  278G     0 100% /
/dev/md1      ext3     99M   43M   52M  45% /boot
none         tmpfs    2.0G     0  2.0G   0% /dev/shm
I cleared up /tmp  but still have the issue..
appreciate any help.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Something is filling my Hard Disk !
« Reply #1 on: July 12, 2010, 01:51:20 PM »
Try and investigate where the bulk of the data is using the du command. Start at the root (/):

And then use something like:

Code: [Select]
du --max-detph 1
Above command will look one directory deep and sum all data in it, that way you can easily pinpoint what is eating up your harddrive.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline groutley

  • *****
  • 213
  • +0/-0
    • http://www.routley.homeip.net
Re: Something is filling my Hard Disk !
« Reply #2 on: July 12, 2010, 04:01:14 PM »
Try and investigate where the bulk of the data is using the du command. Start at the root (/):

And then use something like:

Code: [Select]
du --max-depth 1
Above command will look one directory deep and sum all data in it, that way you can easily pinpoint what is eating up your harddrive.

Thanks for the tip,  I found my asterisk messages log was 17GB due to a rogue device causing it to log a failure multiple times a second.
I deleted the message log, and sorted out the problem device, now all is looking good again.
 Thank you cactus !

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Something is filling my Hard Disk !
« Reply #3 on: July 12, 2010, 05:50:40 PM »
Thanks for the tip,  I found my asterisk messages log was 17GB due to a rogue device causing it to log a failure multiple times a second.
I deleted the message log, and sorted out the problem device, now all is looking good again.
 Thank you cactus !
You're welcome.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)