Hey guys, I'm considering moving to OMV as my DS211j is getting a bit long in the tooth. I'm trying to test out RAID management in OMV, as it was super simple on my Synology, and right out of the gate things are a bit concerning:
I built a RAID 1 mirror across 2 disks (a 2TB and 1TB). This went fine. Then I wanted to try "simulating" an HDD failure by removing the 1 TB drive. Then ultimately I wanted to test recovering the RAID with another 2 TB and test if the RAID automatically grew from 1 TB to 2 TB. Right away things are a bit troublesome, because as soon as I removed the 1 TB drive, the whole RAID is missing (even though the 2 TB drive is still there). How can I recover a RAID if OMV can't find the RAID? I'm a bit disappointed that HDD failures appear to be this troublesome, but perhaps I'm missing something.
root@overlord:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : inactive sdb[0](S)
1953383512 blocks super 1.2
unused devices: <none>
root@overlord:~# blkid
/dev/sdb: UUID="815bd3c7-4d40-f329-de69-3fa5ba7da76e" UUID_SUB="0693a8f6-abcc-3281-9f40-901a87cf9d17" LABEL="overlord:0" TYPE="linux_raid_member"
/dev/sda1: UUID="bd7d8f6a-a330-4b98-8041-9bbf1d361544" TYPE="ext4" PARTUUID="0481b79f-01"
/dev/sda5: UUID="7e27c80f-e717-4816-81ee-e0151793574e" TYPE="swap" PARTUUID="0481b79f-05"
root@overlord:~# fdisk -l | grep "Disk "
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0x0481b79f
root@overlord:~# cat /etc/mdadm/mdadm.conf
cat: /etc/mdadm/mdadm.confcat: No such file or directory
# 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=overlord:0 UUID=815bd3c7:4d40f329:de693fa5:ba7da76e
Alles anzeigen
root@overlord:~# mdadm --detail --scan --verbose
INACTIVE-ARRAY /dev/md0 num-devices=1 metadata=1.2 name=overlord:0 UUID=815bd3c7:4d40f329:de693fa5:ba7da76e
devices=/dev/sdb
Any help is appreciated!