News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

diskspacemonitor.sh

Started by skeptic, February 26, 2008, 06:48:07 PM

Previous topic - Next topic

skeptic

Why is this running every 3 minutes, and other than creating an e-mail status of drives does it actually do anything?

tschak909

it is what updates the database with the disk space information for each disk currently under LinuxMCE control. It must be there so that LinuxMCE can dynamically decide which disk to store content to.

-Thom

Zaerc

Just guessing here, but probably to keep an eye on how much space there is left on your drives.  The system will start complaining if there is only little available.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

skeptic

Is it intended to actually send an e-mail every 3 minutes, or is it doing that because it found a problem?  In my case, it's detecting some device as being offline, and another drive with 202GB free:

SELECT PK_Device, Description FROM Device WHERE FK_DeviceTemplate IN (1790, 1769, 1768, 1854, 1851, 1849)
1       02/26/08 11:24:01       DiskSpaceMonitor.sh (server)     [1;00mFilesystem ( /mnt/device/29 ) is Offline [1;00m
1       02/26/08 11:24:01       DiskSpaceMonitor.sh (server)     [1;00mFilesystem ( /mnt/device/30 ) has 202841 MB free [1;00m


skeptic

I can't win for losing.  I removed both of those devices from linuxMCE and formatted a drive that was in LVM format from pre-kubuntu install, and thigs are no better.  Now I'm getting:

SELECT PK_Device, Description FROM Device WHERE FK_DeviceTemplate IN (1790, 1769, 1768, 1854, 1851, 1849)

every 3 minutes with no clue where to start.