Koozali.org: home of the SME Server

How to I find where my disk space has gone?

pbearne

How to I find where my disk space has gone?
« on: December 02, 2004, 09:35:44 PM »
Hi

I have 6.01 on a 16G hard disk which got out of spare and I can't where it has gone I have had alook at the I bays But can'r account for more than the 1 to 2 gig So I can't work out where the space has gone
I have checked the mail folder's
But hav't checked the log as I can't find them

Any Ideas Please

Paul Bearne

guest22

How to I find where my disk space has gone?
« Reply #1 on: December 02, 2004, 10:25:38 PM »
Paul, check the /var/log directory.

Offline hanscees

  • *
  • 267
  • +0/-0
    • nl.linkedin.com/in/hanscees/
Re: How to I find where my disk space has gone?
« Reply #2 on: December 02, 2004, 10:29:52 PM »
Quote from: "pbearne"
Hi

I have 6.01 on a 16G hard disk which got out of spare and I can't where it has gone I have had alook at the I bays But can'r account for more than the 1 to 2 gig So I can't work out where the space has gone
I have checked the mail folder's
But hav't checked the log as I can't find them

Any Ideas Please

Paul Bearne


cd /
du -sk *
nl.linkedin.com/in/hanscees/

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
How to I find where my disk space has gone?
« Reply #3 on: December 02, 2004, 10:33:23 PM »
Paul

locate syslog and read that .conf with pico
(iow what you are searching for is in /var/log)

...but what you (probably) really want to know is:
du -sh /var/log/* 2>/dev/nul

so eventually better have a look at man du

In the end check df -h too.

Regards
Reinhold
............

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
How to I find where my disk space has gone?
« Reply #4 on: December 02, 2004, 10:38:50 PM »
damn' you guys are fast ... cant even take a phone call and not click submit first

(*_*)
............

pbearne

Found the problem
« Reply #5 on: December 02, 2004, 11:05:56 PM »
I have a second drive which throught I had Link (ln -s) and turns out that this wasn't linked so I was addind files to the main drive not the 200G data drive

Duh!

Paul