Disaster! I have a Helios-4 that's been running OpenMediaVault just fine for months. It has 4 8 gig drives in the raid. I've had some (house) power problems and noticed that two of the four drives where missing, not listed at all. Thought perhaps the connectors had gotten jostled, so re-seated everything. MUCH to my surprise when I powered back up, now all the physical drives are there, but the raid is gone. Do I have any hope of getting it back without losing all the files on it?
Here's the info:
root@helios4:~# cat /proc/mdstat
Personalities : [raid10]
unused devices: <none>
root@helios4:~# blkid
/dev/mmcblk0p1: UUID="1f489a8c-b3a3-4218-b92b-9f1999841c52" TYPE="ext4" PARTUUID="7fb57f23-01"
/dev/sda: UUID="d1e18bf2-0b0e-760b-84be-c773f4dbf945" UUID_SUB="9495186e-6df6-a7b1-c67b-4fd4ca1d6468" LABEL="helios4:Store" TYPE="linux_raid_member"
/dev/sdb: UUID="d1e18bf2-0b0e-760b-84be-c773f4dbf945" UUID_SUB="253f9091-6914-fe71-ab40-68961aa3dbb6" LABEL="helios4:Store" TYPE="linux_raid_member"
/dev/sdc: UUID="d1e18bf2-0b0e-760b-84be-c773f4dbf945" UUID_SUB="3186ee11-0837-b283-c653-37e39d1923d8" LABEL="helios4:Store" TYPE="linux_raid_member"
/dev/sdd: UUID="d1e18bf2-0b0e-760b-84be-c773f4dbf945" UUID_SUB="0da721df-e67c-8141-cc93-afe7e2e66f7a" LABEL="helios4:Store" TYPE="linux_raid_member"
/dev/zram0: UUID="93800f56-0eed-43cd-8c66-7159b0badb38" TYPE="swap"
/dev/zram1: UUID="9fe054d5-829c-4c59-be30-1950f8e3738d" TYPE="swap"
/dev/mmcblk0: PTUUID="7fb57f23" PTTYPE="dos"
/dev/mmcblk0p2: PARTUUID="7fb57f23-02"
root@helios4:~# fdisk -l | grep "Disk "
Disk /dev/mmcblk0: 29.8 GiB, 32010928128 bytes, 62521344 sectors
Disk identifier: 0x7fb57f23
Disk /dev/sda: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors
Disk /dev/sdb: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors
Disk /dev/sdc: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors
Disk /dev/sdd: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors
Disk /dev/zram0: 504.6 MiB, 529104896 bytes, 129176 sectors
Disk /dev/zram1: 504.6 MiB, 529104896 bytes, 129176 sectors
root@helios4:~# 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 spares=1 name=helios4:Store UUID=d1e18bf2:0b0e760b:84bec773:f4dbf945
root@helios4:~# mdadm --detail --scan --verbose