Subject: dealing with a RAID1 failure
To: None <netbsd-users@netbsd.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 08/08/2005 21:12:23
raidctl is indicating that one of my RAID1 partitions has failed. What
do I do to reconstruct it?
# raidctl -s raid0
Components:
/dev/wd0a: failed
/dev/wd1a: optimal
No spares.
/dev/wd0a status is: failed. Skipping label.
Component label for /dev/wd1a:
Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
Version: 2, Serial Number: 200209230, Mod Counter: 806
Clean: No, Status: 0
sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
Queue size: 100, blocksize: 512, numBlocks: 829440
RAID Level: 1
Autoconfig: Yes
Root partition: Yes
Last configured as: raid0
Parity status: DIRTY
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
I *think* I say
raidctl -R wd0a radid0
I doubt that it's a hardware problem, since the other partition on that
mirrored pair of drives is working properly.
If it matters, I'm running 2.0.
--Steven M. Bellovin, http://www.cs.columbia.edu/~smb