[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] swatch_get_defcon_disk()



Can anyone point me in the direction of info on this function?

I'm a perl looser although I understand both procedural and oo programming 
(PHP/C/C++). 

This looks like a reference to a class "use Cobalt::swatch;" where can I find 
the source for this class/library (sorry if the terminology's not right).

The reason why I'm delving into this is that I have RaQ4i that I've 
"modified" to run using software RAID mirroring of the main partitions hda1, 
hda3, hda4. Since this is non-standard if the Cobalt guys choose not to have 
any input I'll understand. Anyway it all works fine except for the fact it 
will not boot off /dev/hda (go figure) so I've set it up to boot off 
/dev/hdc. If /dev/hda dies I'm fine, if /dev/hdc dies I'll need to do some 
trickery before I can reboot the machine. But I digress.

The problem I have is that the GUI displays a "red alert" (defcon 4?) on both 
the "server management" and the "active monitor" screen next to Disk Usage. 
I'd like to get rid of these two red lights for obvious reasons. When I click 
on Disk Usage all the lights on the "disk usage/volume usage" page are green 
but the total space and free space reported for home and virtual sites are 
more than double what they should be 4425.3MB when the partition is only 
17701MB.

So, back to my original question. Where can I get info. on the process of 
evaluating disk usage and swatch (system watch?) in general?

TIA,
Brad
-- 
Brad Hubbard
Congo Systems
12 Northgate Drive,
Thomastown, Victoria, Australia 3074
Email: brad@xxxxxxxxxxxxxxxx
Ph: +61-3-94645981
Fax: +61-3-94645982
Mob: +61-419107559