I'm setting up an OpenMediaVault VM on which I want to create a RAID1 mirror made up of 2 IronWolf 4Tb disks.
What would be the best way to do it?
1- Install mdadm on the hypervisor, create the raid and perform a passthrough of the /dev/md0 to the OMV VM?
qm set 101 -scsi1/dev/md0
2- Perform a passthrough of the disks to the OMV VM, and then install mdadm for creating the raid under /dev/md0
qm set 101 -scsi1 /dev/disk/by-id/wwn-0x50014ee259e88552
qm set 101 -scsi2 /dev/disk/by-id/wwn-0x500003983588044b
Or maybe the best practice is different?
Thanks in advance!
What would be the best way to do it?
1- Install mdadm on the hypervisor, create the raid and perform a passthrough of the /dev/md0 to the OMV VM?
qm set 101 -scsi1/dev/md0
2- Perform a passthrough of the disks to the OMV VM, and then install mdadm for creating the raid under /dev/md0
qm set 101 -scsi1 /dev/disk/by-id/wwn-0x50014ee259e88552
qm set 101 -scsi2 /dev/disk/by-id/wwn-0x500003983588044b
Or maybe the best practice is different?
Thanks in advance!