Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 08:58:02 +0200 (CEST)
From:      Søren Schmidt <sos@freebsd.dk>
To:        Mike Tancsa <mike@sentex.net>
Cc:        =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@FreeBSD.ORG>, stable@FreeBSD.ORG
Subject:   Re: cvs commit: src/sbin/atacontrol atacontrol.8 atacontrol.c
Message-ID:  <200204020658.g326w2v26052@freebsd.dk>
In-Reply-To: <5.1.0.14.0.20020331174354.022c9f20@192.168.0.12>

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Mike Tancsa wrote:
> 
> Wow! This is way cool! I just tested it on my HighPoint HPT374 ATA133 
> controller and lo and behold
> 
> ar0: 76333MB <ATA RAID0 array> [9731/255/63] status: READY subdisks:
>   0 READY ad8: 38166MB <ST340016A> [77545/16/63] at ata4-master UDMA100
>   1 READY ad10: 38166MB <ST340016A> [77545/16/63] at ata5-master UDMA100
> 
> ar0: 38166MB <ATA RAID1 array> [4865/255/63] status: READY subdisks:
>   0 READY ad8: 38166MB <ST340016A> [77545/16/63] at ata4-master UDMA100
>   1 READY ad10: 38166MB <ST340016A> [77545/16/63] at ata5-master UDMA100
> 
> 
> One quick question, is there any to query the status of the array ? For a 
> RAID1 array, how will I know if it goes bad ?

If a disk in a RAID1 goes bad, the driver will continue to use the
good half of the mirror, and log the fact that the mirror is now
in degraded mode. You can then use atacontrol to detach the disk,
add a new one, and use atacontrol to rebuild the array, all without
having to take down the machine. If the last good disk fail, the driver 
will log that the array is broken, and return error on all accesses...

And yes I'll add a get status/mode command :)

-Søren

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204020658.g326w2v26052>