Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: pbearne on December 02, 2004, 09:35:44 PM

Title: How to I find where my disk space has gone?
Post by: pbearne 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
Title: How to I find where my disk space has gone?
Post by: guest22 on December 02, 2004, 10:25:38 PM
Paul, check the /var/log directory.
Title: Re: How to I find where my disk space has gone?
Post by: hanscees 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 *
Title: How to I find where my disk space has gone?
Post by: Reinhold 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
Title: How to I find where my disk space has gone?
Post by: Reinhold on December 02, 2004, 10:38:50 PM
damn' you guys are fast ... cant even take a phone call and not click submit first

(*_*)
Title: Found the problem
Post by: pbearne 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