From owner-freebsd-doc@FreeBSD.ORG Wed Jul 20 09:10:22 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 957E816A41F for ; Wed, 20 Jul 2005 09:10:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5984943D48 for ; Wed, 20 Jul 2005 09:10:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6K9AMJY075590 for ; Wed, 20 Jul 2005 09:10:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6K9AMWe075589; Wed, 20 Jul 2005 09:10:22 GMT (envelope-from gnats) Date: Wed, 20 Jul 2005 09:10:22 GMT Message-Id: <200507200910.j6K9AMWe075589@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: "Julien Gabel" Cc: Subject: Re: docs/83771: handbook/raid.html and atacontrol. X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Julien Gabel List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 09:10:22 -0000 The following reply was made to PR docs/83771; it has been noted by GNATS. From: "Julien Gabel" To: "Edwin Groothuis" Cc: bug-followup@FreeBSD.org Subject: Re: docs/83771: handbook/raid.html and atacontrol. Date: Wed, 20 Jul 2005 11:05:24 +0200 (CEST) >>Number: 83771 >>Category: docs >>Synopsis: handbook/raid.html and atacontrol >>Confidential: no >>Severity: serious >>Priority: medium >>Responsible: freebsd-doc >>State: open >>Quarter: >>Keywords: >>Date-Required: >>Class: doc-bug >>Submitter-Id: current-users >>Arrival-Date: Wed Jul 20 07:20:16 GMT 2005 >>Closed-Date: >>Last-Modified: >>Originator: Edwin Groothuis >>Release: FreeBSD 5.2.1-RELEASE i386 >>Organization: >>Environment: > System: FreeBSD garak.mavetju 5.4 > >>Description: >>How-To-Repeat: >>Fix: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/raid.html > says (at the bottom): > > 3. Reattach the disk as a spare: > # atacontrol attach 3 > Master: ad6 ATA/ATAPI rev 5 > Slave: no device present > > Trying that command, it complains that: > garak# atacontrol attach 3 > atacontrol: ioctl(ATAATTACH): File exists > > The right command was: > garak# atacontrol addspare ar0 ad6 > > Of course, I could be totally wrong about this, but it works for > me (on 5.4). Thanks to Darius@#thatircchannel for his help. I think it may be because the corresponding failed drive was lost in the array configuration, say: # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 status: DEGRADED Instead of: # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED ^^^ I encoutered a very similar problem recently, and resolved it this way: http://www.thilelli.net/~jgabel/archives/2005/07/#e2005-07-06T15_39_56.txt So it not an error in the documentation, but maybe this one may be completed. -- -jpeg.