Hello,

I was hoping to get a little help with bioctl and the 1C raid mode after a 
drive failure.  The most recent error message I'm getting when trying to 
start the array in a degraded mode is:
# bioctl -c 1C -l /dev/sd0a softraid0
softraid0: RAID 1C requires two or more chunks

Previously, the array had two identical Toshiba 16TB drives as sd0 and 
sd1.  The array used partitions sd0a and sd1a.  One of those drives, sd1, 
failed before Christmas.  I was able to run the degraded array without 
issue.  After replacing the failed drive, I kicked off a rebuild using 
bioctl -R.  The array came back to the optimal "Online" state.  Just a few 
days ago, the second drive of the original pair failed.  I was able to 
again start the array with only one working drive (sd0 is the failed 
drive, sd1 is the new drive, sd2 & sd3 are part of another array):

# for X in sd{0,1,2,3,4,5,6} ; do bioctl -v ${X} ; done
sd0: <ATA, TOSHIBA MG08ACA1, 0102>, serial 71H0A3SWFVGG
sd1: <ATA, TOSHIBA MG08ACA1, 0103>, serial 44M0A008FVGG
sd2: <ATA, WDC WD2000F9YZ-0, 01.0>, serial WD-WMC160D3WKSS
sd3: <ATA, TOSHIBA HDWE150, FP2A>, serial 38EBK7BTF57D
Volume      Status               Size Device  
softraid0 0 Online      1999861775872 sd4     RAID1C 
          0 Online      1999861775872 0:0.0   noencl <sd2a>
                                                     'unknown serial'
          1 Online      1999861775872 0:1.0   noencl <sd3a>
                                                     'unknown serial'
Volume      Status               Size Device  
softraid0 1 Degraded   16000895729664 sd5     RAID1C 
          0 Offline    16000895729664 1:0.0   noencl <sd0a>
                                                     'unknown serial'
          1 Online     16000895729664 1:1.0   noencl <sd1a>
                                                     'unknown serial'

After that I shut the system down, removed the failed drive.  When the 
system started again, what was previously sd1 had been initialized as sd0.  
The other (boot/system) array started fine.  I was unable to start the 
degraded array.  I got the error messages:

softraid0: trying to bring up sd5 degraded
softraid0: trying to bring up sd5 degraded
softraid0: sd5 is offline, will not be brought online
softraid0: trying to bring up sd5 degraded
softraid0: trying to bring up sd5 degraded
softraid0: sd5 is offline, will not be brought online
softraid0: RAID 1C requires two or more chunks
softraid0: RAID 1C requires two or more chunks

At one point I put the failed drive back in to see if it could start.  I'm 
afraid that may have been the wrong thing to do.

Is there a way to troubleshoot and restart the array with just the single 
working drive as a degraded array again?

Thank you,
--James

Reply via email to