From owner-freebsd-stable Mon Apr 1 22:58:22 2002 Delivered-To: freebsd-stable@freebsd.org Received: from freebsd.dk (fw-rl0.freebsd.dk [212.242.86.114]) by hub.freebsd.org (Postfix) with ESMTP id 3A67B37B400; Mon, 1 Apr 2002 22:58:17 -0800 (PST) Received: (from sos@localhost) by freebsd.dk (8.11.6/8.11.6) id g326w2v26052; Tue, 2 Apr 2002 08:58:02 +0200 (CEST) (envelope-from sos) From: Søren Schmidt Message-Id: <200204020658.g326w2v26052@freebsd.dk> Subject: Re: cvs commit: src/sbin/atacontrol atacontrol.8 atacontrol.c In-Reply-To: <5.1.0.14.0.20020331174354.022c9f20@192.168.0.12> To: Mike Tancsa Date: Tue, 2 Apr 2002 08:58:02 +0200 (CEST) Cc: =?ISO-8859-1?Q?S=F8ren_Schmidt?= , stable@FreeBSD.ORG Reply-To: sos@freebsd.dk X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 [9731/255/63] status: READY subdisks: > 0 READY ad8: 38166MB [77545/16/63] at ata4-master UDMA100 > 1 READY ad10: 38166MB [77545/16/63] at ata5-master UDMA100 > > ar0: 38166MB [4865/255/63] status: READY subdisks: > 0 READY ad8: 38166MB [77545/16/63] at ata4-master UDMA100 > 1 READY ad10: 38166MB [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