So I tried to use OMV to manage my 3 HDDs (each 4 TB) in a raid-5 Array. Everything worked fine until the system was shutdown because of powerloss. When I was booting up again my raid was gone. But it was not only gone, as far as I understand the logs it was deleted and all disks were formatted... How could this happen?
Is there a way to recover the raid/data somehow? I tried mdadm --assemble and so on of course but it won't work because the superblocks are gone and the devices can't be assigned to any array. My idea would be to just recreate the raid again from scratch and run some data recovery software on it but I'm not sure if this works or if there is another solution.
Here some background information:
OMV guest is running on VMWare Workstation on a Windows Host. All 3 disks were passed through physically.
To copy the data first, I created a degraded raid-5 array first:
Then I mounted the raid using OMV (in Web-GUI) and copied the data. Afterwards I recovered the array with the 3rd disk and it was stated clean.
After shutdown everything was gone and formatted:
cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>
blkid:
/dev/sda1: UUID="afa8270c-6e80-432e-900e-ed5d7b395d6c" TYPE="ext4"
/dev/sda5: UUID="c49b3b4f-c9d2-4cd0-9cf7-a9abcfbcf6c6" TYPE="swap"
/dev/sdb: PTUUID="277dc189-b7ca-42fe-8397-2fccfd1ffe58" PTTYPE="gpt"
/dev/sdc: PTUUID="53072c8a-b8d7-43f4-8de2-eb7b7550efee" PTTYPE="gpt"
/dev/sdd: PTUUID="283a0b71-1a5f-449a-ab90-f75dac4cd04a" PTTYPE="gpt"
In the mdadm.conf the raid is listed: