Help - Search - Members - Calendar
Full Version: Disk filling up
The Planet Forums > System Administration > Other
Simon
Hi there,

I view this advice in my logwatch report.

Filesystem Size Used Avail Use% Mounted on
/dev/sda5 9.7G 8.4G 838M 92% /
/dev/sda1 99M 28M 66M 30% /boot
/dev/sda6 4.9G 42M 4.6G 1% /home
/dev/sda7 2.9G 37M 2.7G 2% /tmp
/dev/sda8 128G 10G 112G 9% /var

/dev/sda5 => 92% Used. Warning. Disk Filling up.

For what I view, my sda5 partition is becoming full, but is that normal with /var mounted on sda8? What can I do to solve it?

Thanks in advance, Simon.
James Jhurani
QUOTE (Simon @ Aug 12 2007, 09:12 PM) *
Hi there,

I view this advice in my logwatch report.

Filesystem Size Used Avail Use% Mounted on
/dev/sda5 9.7G 8.4G 838M 92% /
/dev/sda1 99M 28M 66M 30% /boot
/dev/sda6 4.9G 42M 4.6G 1% /home
/dev/sda7 2.9G 37M 2.7G 2% /tmp
/dev/sda8 128G 10G 112G 9% /var

/dev/sda5 => 92% Used. Warning. Disk Filling up.

For what I view, my sda5 partition is becoming full, but is that normal with /var mounted on sda8? What can I do to solve it?

Thanks in advance, Simon.


ssh in, and cd to /...(eg: cd /) Then type "du -hx --max-depth=1" .

The -x will prevent it from reading other file systems(only calculate sda5), -h is human readable, --max-depth will limit the calculations for the directories in /. Then find the biggest directory, cd into it, and run the command again, keep doing that till you find culprit.
Simon
QUOTE (jjhurani @ Aug 13 2007, 05:13 AM) *
ssh in, and cd to /...(eg: cd /) Then type "du -hx --max-depth=1" .

The -x will prevent it from reading other file systems(only calculate sda5), -h is human readable, --max-depth will limit the calculations for the directories in /. Then find the biggest directory, cd into it, and run the command again, keep doing that till you find culprit.


Ty James,

I´ve found the problem (a backup dir I created on /).

Regards, Simon.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.