[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] swatch_get_defcon_disk()
- Subject: Re: [cobalt-developers] swatch_get_defcon_disk()
- From: Brad Hubbard <brad@xxxxxxxxxxxxxxxx>
- Date: Fri Jun 15 11:59:01 2001
- Organization: Congo Systems
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
On Sat, 16 Jun 2001 03:56, Timothy Stonis wrote:
> 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.
Many thanks Tim.
The Raq id currently set to boot from hdc1 as I said but autodetects the RAID
partition and mounts / on md1 anyway. I had to rush the machine into
production but, in case of a failure of hdc this will be the first thing I
try.
>
> 2) The perl library for swatch can be found in
> /usr/lib/perl5/site_perl/5.005/Cobalt/swatch.pm
This appears to be something to do with disk quotas. Does the followin output
look right?
[root Cobalt]# repquota -a -v
*** Report for group quotas on /dev/md4 (/home)
Block limits File limits
User used soft hard grace used soft hard grace
root -- 13669 0 0 259 0 0
mail -- 5 0 0 5 0 0
admin -- 4 0 0 4 0 0
chiliasp -- 86463 0 0 2682 0 0
users -- 6028 10241 10240 6 0 0
home -- 375 1024001 1024000 42 0 0
site1 -- 2036 204801 204800 253 0 0
site2 -- 36 204801 204800 8 0 0
site3 -- 4880 204801 204800 302 0 0
site4 -- 704 204801 204800 47 0 0
*** Report for user quotas on /dev/md4 (/home)
Block limits File limits
User used soft hard grace used soft hard grace
root -- 17540 0 0 301 0 0
httpd -- 0 0 0 4 0 0
postgres -- 0 0 0 1 0 0
chiliasp -- 87112 0 0 2664 0 0
nobody -- 7464 0 0 587 0 0
admin -- 48 0 0 5 0 0
cs00000 -- 20 20481 20480 5 0 0
cs00001 -- 16 20481 20480 4 0 0
cs00002 -- 16 20481 20480 4 0 0
cs00003 -- 16 20481 20480 4 0 0
cs00004 -- 16 20481 20480 4 0 0
cs00005 -- 16 20481 20480 4 0 0
cs00006 -- 20 20481 20480 5 0 0
cs00007 -- 16 20481 20480 4 0 0
cs00008 -- 16 20481 20480 4 0 0
cs00009 -- 20 20481 20480 5 0 0
160 -- 6028 0 0 6 0 0
Cheers,
Brad