|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Issues bringing up RAID5 array
I have a machine with a crypto volume on sd0, and a RAID5 array on sd1, sd2, and sd3.
I was transferring data to the machine when it panicked. The data is backed up, and not important, but I'd like to learn how to recover. I have ran SMART short test on all 3 drives and the test reports no issues. As the array contains a crypto volume, I can't verify the validity of the data on the drives. My issue is that the array does not appear in bioctl -i softraid0. There is a suspicious message in dmesg but I don't know how to use the information to help mount the array. Code:
# dmesg | grep softraid softraid0 at root scsibus4 at softraid0: 256 targets softraid0: trying to bring up sd4 degraded softraid0: sd4 was not shutdown properly softraid0: sd4 is offline, will not be brought online softraid0: volume sd4 is roaming, it used to be sd2, updating metadata Code:
# bioctl -c 5 -l sd1a,sd2a,sd3a softraid0 softraid0: trying to bring up sd4 degraded softraid0: sd4 was not shutdown properly softraid0: sd4 is offline, will not be brought online Code:
# bioctl -i softraid0 Volume Status Size Device softraid0 0 Online 254432315904 sd4 CRYPTO 0 Online 254432315904 0:0.0 noencl <sd0a> Last edited by sklv; 7th August 2019 at 06:02 PM. Reason: missing word |
|
|||
Thanks for the reply!
I can see that you're right. I was aware of the limitation of stacking softraid disciples, but I thought that you couldn't *boot* of crypto on raid5, not that it was outright not supported. It feels counterintuitive to me that the contents of the array can prevent the array from being *assembled*, but the limitation is clearly stated in the FAQ. I will ask on the mailing list as you suggest. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
C: address of an int in an array in a struct? | xmorg | Programming | 3 | 18th April 2011 02:31 PM |
Rescuing broken RAID5 gvinum volume | morfran | FreeBSD General | 1 | 26th May 2010 09:49 AM |
bringing up vlan interfaces | xiphias | FreeBSD General | 3 | 5th March 2010 04:04 PM |
Encrypting gvinum raid5 | oxy | FreeBSD General | 1 | 13th December 2008 05:59 PM |
gmirror array broken | stukov | FreeBSD General | 5 | 15th July 2008 08:45 PM |