I've got an HP Microserver running an admittedly older version of OMV. There was a power cut in our area yesterday, and when the mains returned and the server fired up it was missing it's main storage array. The missing array is held on 2 x WD Red 3TB disks, and it's a RAID 1 mirror.
Here is the diagnostic info that was listed in the pinned message about raid issues:
openmediavault:~$ cat /proc/mdstat
Personalities :
md0 : inactive sdb[1](S)
2930265560 blocks super 1.2
unused devices: <none>
openmediavault:~$ sudo blkid
/dev/sdc1: UUID="7f4de168-00d0-4b79-bbdd-11f68bc77d38" TYPE="ext4"
/dev/sdc5: UUID="d8afab16-b5df-4a3b-b2e1-58441d71deec" TYPE="swap"
/dev/sdb: UUID="2d60afa6-bcee-fcde-f5e4-c2f94abe77c3" LABEL="openmediavault:Mirror1" TYPE="linux_raid_member"
openmediavault:~$ sudo fdisk -l | grep "Disk "
Unable to read /dev/sda
openmediavault:~$ cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
# Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
# To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
# used if no RAID devices are configured.
DEVICE partitions
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# definitions of existing MD arrays
ARRAY /dev/md0 metadata=1.2 name=openmediavault:Mirror1 UUID=2d60afa6:bceefcde:f5e4c2f9:4abe77c3
openmediavault:~$ sudo mdadm --detail --scan --verbose
mdadm: md device /dev/md0 does not appear to be active.
I also ran a quick badblock check on sda
openmediavault:~$ sudo badblocks /dev/sda
0
4
5
6
7
^C
Interrupted at block 579256
I guess this means that the sda drive is toast, but I'm hoping that as the volume was a mirror I might be able to get the array back up with sdb only so I can recover the data. Please can anyone tell me what commands I should use to go about that?