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 <jmt@twilley.org> PR: docs/83771 Submitted by: edwin
This commit is contained in:
parent
991ec18a8d
commit
088e1ecffb
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=26639
1 changed files with 13 additions and 8 deletions
|
|
@ -705,10 +705,10 @@ ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED</screen>
|
|||
|
||||
<procedure>
|
||||
<step>
|
||||
<para>You will first need to detach the disk from the array so that you can
|
||||
safely remove it:</para>
|
||||
<para>You will first need to detach the ata channel with the failed
|
||||
disk so you can safely remove it:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>atacontrol detach 3</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>atacontrol detach ata3</userinput></screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
|
@ -716,13 +716,19 @@ ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED</screen>
|
|||
</step>
|
||||
|
||||
<step>
|
||||
<para>Reattach the disk as a spare:</para>
|
||||
<para>Reattach the ata channel:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>atacontrol attach 3</userinput>
|
||||
<screen>&prompt.root; <userinput>atacontrol attach ata3</userinput>
|
||||
Master: ad6 <MAXTOR 6L080J4/A93.0500> ATA/ATAPI rev 5
|
||||
Slave: no device present</screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Add the new disk to the array as a spare:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>atacontrol addspare ar0 ad6</userinput></screen>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
<para>Rebuild the array:</para>
|
||||
|
||||
|
|
@ -730,9 +736,8 @@ Slave: no device present</screen>
|
|||
</step>
|
||||
|
||||
<step>
|
||||
<para>The rebuild command hangs until complete. However, it is possible to open another
|
||||
terminal (using <keycombo action="simul"><keycap>Alt</keycap> <keycap>F<replaceable>n</replaceable></keycap></keycombo>)
|
||||
and check on the progress by issuing the following command:</para>
|
||||
<para>It is possible to check on the progress by issuing the
|
||||
following command:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>dmesg | tail -10</userinput>
|
||||
[output removed]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue