Subject: RAIDframe error recovery procedures.....
To: NetBSD User's Discussion List <netbsd-users@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 09/09/2002 17:54:29
I have a RAIDframe device in the following state.  I believe sd11d will
come back A-OK after a reboot.  If so how do I recover it to "normal"
state in RAIDframe?

17:48 [2038] # raidctl -s raid0
Components:
           /dev/sd6d: optimal
           /dev/sd7d: optimal
           /dev/sd8d: optimal
           /dev/sd9d: optimal
          /dev/sd10d: optimal
          /dev/sd11d: failed
Spares:
          /dev/sd12d: spare
Component label for /dev/sd6d:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 6
   Version: 2, Serial Number: 2, Mod Counter: 119
   Clean: No, Status: 0
   sectPerSU: 32, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 8890688
   RAID Level: 5
   Autoconfig: Yes
   Root partition: No
   Last configured as: raid0
Component label for /dev/sd7d:
   Row: 0, Column: 1, Num Rows: 1, Num Columns: 6
   Version: 2, Serial Number: 2, Mod Counter: 119
   Clean: No, Status: 0
   sectPerSU: 32, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 8890688
   RAID Level: 5
   Autoconfig: Yes
   Root partition: No
   Last configured as: raid0
Component label for /dev/sd8d:
   Row: 0, Column: 2, Num Rows: 1, Num Columns: 6
   Version: 2, Serial Number: 2, Mod Counter: 119
   Clean: No, Status: 0
   sectPerSU: 32, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 8890688
   RAID Level: 5
   Autoconfig: Yes
   Root partition: No
   Last configured as: raid0
Component label for /dev/sd9d:
   Row: 0, Column: 3, Num Rows: 1, Num Columns: 6
   Version: 2, Serial Number: 2, Mod Counter: 119
   Clean: No, Status: 0
   sectPerSU: 32, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 8890688
   RAID Level: 5
   Autoconfig: Yes
   Root partition: No
   Last configured as: raid0
Component label for /dev/sd10d:
   Row: 0, Column: 4, Num Rows: 1, Num Columns: 6
   Version: 2, Serial Number: 2, Mod Counter: 119
   Clean: No, Status: 0
   sectPerSU: 32, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 8890688
   RAID Level: 5
   Autoconfig: Yes
   Root partition: No
   Last configured as: raid0
/dev/sd11d status is: failed.  Skipping label.
/dev/sd12d status is: spare.  Skipping label.
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>