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

Re: [cobalt-developers] swatch_get_defcon_disk()



 Well, I have two answers for you.

 1) If you want to get the machine to boot off /dev/md1, hold down the "s"
button while turning on the machine and wait for the ROM menu on the LCD..
It will say "Select option:" Hit "s" until is says: "Config boot disk" and
then use the "s" key to select "md1" then hit "e" The system will boot off
md1. 

 2) The perl library for swatch can be found in
/usr/lib/perl5/site_perl/5.005/Cobalt/swatch.pm

 Hope this helps.

_Tim


On 6/15/01 3:13 AM, "Brad Hubbard" <brad@xxxxxxxxxxxxxxxx> wrote:

> 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