ZFS on Hardware RAID

Ben RUBSON ben.rubson at gmail.com
Sun Jan 20 15:41:11 UTC 2019


The only thing I would try with a HW RAID card is to configure one volume per physical disk, so that ZFS can operate as intended.
Well, more or less, as there will still be some components in the path which should not be expected, such as the RAID card cache (you have ZFS ZIL & ARC / LARC2, upcoming allocation classes).
Thus, an IT-mode HBA, for some dozens of dollars / euros, is really worth the price !

ZFS does not really make sense with only one disk (what's the checksum benefit once it has failed ?), you could go with any other FS...

Regarding cache, be sure you can rely on your disks, as some (budget-ones ?) may lie answering data is on disk whereas it has only reached their write cache.
You can toggle write cache depending on your disks.
camcontrol mode /dev/<disk> -m8 | grep WCE

Regarding CPU usage, I'm pretty sure all checksum operations are well hardware-supported, CPU should not be a bottleneck here (disks will first be).

Ben



More information about the freebsd-fs mailing list