From owner-freebsd-doc@FreeBSD.ORG Wed Oct 13 06:40:29 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86F8116A4CE for ; Wed, 13 Oct 2004 06:40:29 +0000 (GMT) Received: from 00001.callimaco.com (host61-194-149-62.serverdedicati.aruba.it [62.149.194.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 020D543D1D for ; Wed, 13 Oct 2004 06:40:29 +0000 (GMT) (envelope-from daniele@callimaco.com) Received: from callimac by 00001.callimaco.com with local (Exim 4.42 (FreeBSD)) id 1CHcoE-000D8L-JM for freebsd-doc@FreeBSD.org; Wed, 13 Oct 2004 08:40:26 +0200 Received: from 213.188.197.133 ([213.188.197.133]) (SquirrelMail authenticated user daniele@callimaco.com); by www.callimaco.com with HTTP; Wed, 13 Oct 2004 08:40:26 +0200 (CEST) Message-ID: <63687.213.188.197.133.1097649626.squirrel@213.188.197.133> Date: Wed, 13 Oct 2004 08:40:26 +0200 (CEST) From: daniele@callimaco.com To: freebsd-doc@FreeBSD.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - 00001.callimaco.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [1006 1007] / [26 6] X-AntiAbuse: Sender Address Domain - callimaco.com X-Source: X-Source-Args: X-Source-Dir: Subject: missing a command in RAID FreeBSD documentation X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 06:40:29 -0000 Good morning, i write you because i think you have an error on this page of FreeBSD documentation: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/raid.html In documentation, you miss a command in rebuilding RAID array procedure. Let me know if i have reason. Best regards, Daniele Biasci. You will first need to detach the disk from the array so that you can safely remove it: # atacontrol detach 3 Replace the disk. Reattach the disk as a spare: # atacontrol attach 3 Master: ad6 ATA/ATAPI rev 5 Slave: no device present # atacontrol addspare ar0 ad6 Rebuild the array: # atacontrol rebuild ar0 The rebuild command hangs until complete. However, it is possible to open another terminal (using Alt+Fn) and check on the progress by issuing the following command: # dmesg | tail -10 [output removed] ad6: removed from configuration ad6: deleted from ar0 disk1 ad6: inserted into ar0 disk1 as spare # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: REBUILDING 0% completed Wait until this operation completes