From owner-freebsd-scsi@FreeBSD.ORG  Mon Oct 12 19:21:52 2009
Return-Path: <owner-freebsd-scsi@FreeBSD.ORG>
Delivered-To: freebsd-scsi@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6697A106566B
	for <freebsd-scsi@freebsd.org>; Mon, 12 Oct 2009 19:21:52 +0000 (UTC)
	(envelope-from mays@win.net)
Received: from filter1.win.net (filter1.win.net [216.24.27.101])
	by mx1.freebsd.org (Postfix) with ESMTP id 2BD068FC1C
	for <freebsd-scsi@freebsd.org>; Mon, 12 Oct 2009 19:21:52 +0000 (UTC)
Received: from nb-201.win.net (nb-201.win.net [216.24.27.201])
	by filter1.win.net (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id
	n9CJ53dZ012598
	for <freebsd-scsi@freebsd.org>; Mon, 12 Oct 2009 15:05:03 -0400
Received: from engineering01 (pool185.office.win.net [216.24.33.185])
	by nb-201.win.net (Postfix) with SMTP id E088461C26
	for <freebsd-scsi@freebsd.org>; Mon, 12 Oct 2009 15:05:02 -0400 (EDT)
Message-ID: <00f901ca4b6e$e337ef60$b92118d8@engineering01>
From: "Joseph Mays" <mays@win.net>
To: <freebsd-scsi@freebsd.org>
Date: Mon, 12 Oct 2009 15:04:55 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3598
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-Bayes-Prob: 0.0001 (Score 0: No Bayes scoring rules defined,
	tokens from: WinNetOutbound)
X-Spam-Score: 0.00 () [Hold at 4.50] HTML_MESSAGE
X-CanIt-Geo: ip=216.24.27.201; country=US; region=KY; city=Louisville;
	postalcode=40204; latitude=38.2390; longitude=-85.7174;
	metrocode=529; areacode=502;
	http://maps.google.com/maps?q=38.2390,-85.7174&z=6
X-CanItPRO-Stream: base:WinNetOutbound
X-Canit-Stats-ID: 164639887 - a5a959692dad
X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.101
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Subject: aaccli question
X-BeenThere: freebsd-scsi@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: SCSI subsystem <freebsd-scsi.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-scsi>,
	<mailto:freebsd-scsi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-scsi>
List-Post: <mailto:freebsd-scsi@freebsd.org>
List-Help: <mailto:freebsd-scsi-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-scsi>,
	<mailto:freebsd-scsi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Oct 2009 19:21:52 -0000

Okay, we had a disk go bad on a raid controller. I replaced the disk =
with an identical disk, expecting it to rebuild. "disk list" aaccli =
showed the new disk was not initialized. So I initialized it with "disk =
initialize 03," but still nothing ever happened in the task list and the =
array is still running in degraded mode.

C:ID:L  Device Type     Blocks    Bytes/Block Usage            Shared =
Rate
------  --------------  --------- ----------- ---------------- ------ =
----
0:01:0   Disk            71775284  512         Initialized      NO     =
320
0:02:0   Disk            71775284  512         Initialized      NO     =
320
0:03:0   Disk            71775284  512         Initialized      NO     =
320
0:04:0   Disk            71775284  512         Initialized      NO     =
320

AAC0> container list
Executing: container list
Num          Total  Oth Stripe          Scsi   Partition
Label Type   Size   Ctr Size   Usage   C:ID:L Offset:Size
----- ------ ------ --- ------ ------- ------ -------------
 0    RAID-5 68.3GB      256KB Open    0:01:0 64.0KB:34.1GB
 /dev/aacd0           admin4           0:02:0 64.0KB:34.1GB
                                       0:04:0 64.0KB:34.1GB


AAC0> task list
Executing: task list

Controller Tasks

TaskId Function  Done%  Container State Specific1 Specific2
------ -------- ------- --------- ----- --------- ---------

No tasks currently running on controller

AAC0>

I assume I need to add the disk to the container as a failover, but both =
iterations I tried, "container set failover 0,3,0" and "container set =
failover 3) failed saying "incorrect parameters". What should the syntax =
of this command be? I would try "container set failover 0 3" were I not =
afraid of breaking the array. I have it backed up, but I really would =
rather not restore the entire system from backup.

Joe