DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 7th August 2019
sklv sklv is offline
New User
 
Join Date: May 2019
Posts: 6
Default 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
According to bioctl, sd4 is the name of sd0's crypto volume.
Code:
# bioctl -i softraid0
Volume      Status               Size Device
softraid0 0 Online       254432315904 sd4     CRYPTO
          0 Online       254432315904 0:0.0   noencl <sd0a>
I have tried to google the bioctl error but the info i am able to find is involved and confusing. Any advice on how I could recover my raid5 array?

Last edited by sklv; 7th August 2019 at 06:02 PM. Reason: missing word
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 06:49 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick