From 088e1ecffbda38b5e92745bd73df94f5cf650ae4 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 18 Dec 2005 18:39:41 +0000 Subject: [PATCH] 16.4.3 Rebuilding ATA RAID1 Arrays: - update atacontrol attach/detach syntax for 6.0, where it accepts ataN instead of just N - fix instructions for FreeBSD 5.X/6.X, where addspare step is needed and rebuild command returns immediately Fixes: PR: docs/58111 Submitted by: Jack Twilley PR: docs/83771 Submitted by: edwin --- .../books/handbook/disks/chapter.sgml | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml index f2228c14f8..0ee4475317 100644 --- a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml @@ -705,10 +705,10 @@ ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED - You will first need to detach the disk from the array so that you can - safely remove it: + You will first need to detach the ata channel with the failed + disk so you can safely remove it: - &prompt.root; atacontrol detach 3 + &prompt.root; atacontrol detach ata3 @@ -716,13 +716,19 @@ ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED - Reattach the disk as a spare: + Reattach the ata channel: - &prompt.root; atacontrol attach 3 + &prompt.root; atacontrol attach ata3 Master: ad6 <MAXTOR 6L080J4/A93.0500> ATA/ATAPI rev 5 Slave: no device present + + Add the new disk to the array as a spare: + + &prompt.root; atacontrol addspare ar0 ad6 + + Rebuild the array: @@ -730,9 +736,8 @@ Slave: no device present - 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: + It is possible to check on the progress by issuing the + following command: &prompt.root; dmesg | tail -10 [output removed]