Subject: RaidFrame - Failed Partition on one disk
To: None <netbsd-help@netbsd.org>
From: Chris Cameron <chris@onemind.com>
List: netbsd-help
Date: 07/23/2003 11:01:09
Hi,
I have a Raid1 setup on NetBSD 1.6 which reported to me that I had a failed
component today.
I dont think that the disk has failed though, as another partition on that
same disk is still functioning fine. Is there a way to rebuild the bad
component on the failed raid partition? (I will be verifying that the disk
is in good condition, but I need to do that outside of office hours).
Below are the results from raidctl -s raid0 and raid2 (the 2 raid partitions
I have)
server# raidctl -s raid0
Components:
/dev/wd0a: optimal
/dev/wd1a: failed
No spares.
Component label for /dev/wd0a:
Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
Version: 2, Serial Number: 20021100, Mod Counter: 341
Clean: No, Status: 0
sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
Queue size: 100, blocksize: 512, numBlocks: 1088512
RAID Level: 1
Autoconfig: Yes
Root partition: Yes
Last configured as: raid0
/dev/wd1a status is: failed. Skipping label.
Parity status: DIRTY
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
server# raidctl -s raid2
Components:
/dev/wd0e: optimal
/dev/wd1e: optimal
No spares.
Component label for /dev/wd0e:
Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
Version: 2, Serial Number: 20021102, Mod Counter: 202
Clean: No, Status: 0
sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
Queue size: 100, blocksize: 512, numBlocks: 74970112
RAID Level: 1
Autoconfig: Yes
Root partition: No
Last configured as: raid2
Component label for /dev/wd1e:
Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
Version: 2, Serial Number: 20021102, Mod Counter: 202
Clean: No, Status: 0
sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
Queue size: 100, blocksize: 512, numBlocks: 74970112
RAID Level: 1
Autoconfig: Yes
Root partition: No
Last configured as: raid2
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
Am I correct in thinking that perhaps /dev/wd1a has been corrupted in some
manner and just needs to be rebuilt, since /dev/wd1e is still in optimal
state? If so, how would I do such a thing?
Thanks in advance,
-Chris