Ok.
think I found a pretty solid solution. I’ve thought that before so I might update when something goes wrong again…
I’m using the hardware raid feature of the quad sata board’s jmicron controllers. See link in above post on how to do this.
Together with zfs.
My first setup failed:
Two disks on controller 1 in RAID1
Two disks on controller 2 in RAID1
zpool create -f tank /dev/sda1 /dev/sdb1 (no mirror)
This way I dont write to the two controllers at the same time all the time.
But this failed after ~45min (disk disconnects)
My second setup seems to hold up:
Two disks on controller 1 in JBOD
Two disks on controller 2 in JBOD
zpool create tank mirror /dev/sda1 /dev/sdb1
So now I’m letting zfs do the mirroring. And the controllers dont have to write to two disks per controller at the same time. My thinking is. This makes it as easy as possible for the jmicron controllers (and their problems)
I have now rsynced 500G to that zpool over the course of a few hours. No disconnects yet.
edit: 8hours later and 1,4TB later. Still all good. No disconnects. This could be a winning setup