I/O errors. Truenas 25.04.2.6

So, I struggled with 2 x 8TB HDD’s as stripe in truenas as zfs managed through a sata6 UGT-ST644R-stripe not set by UGT-ST644R but by truenas latest v24, truenas kept reporting I/O errors on one hdd copying through SMB to truenas dataset of the pool, so i exported/deleted the pool many times frustrated, finally had it, don’t know what was going on, 2 nearly new 8TB hdd’s, 1 brand new, second 27 power on counts, I decided to have the UGT-ST644R manage the stripe, raid0 stripe the 2 in 64k, added the “1” as truenas sees it, because the raid card creates the 2 > 1 before truenas sees it, created the smb pool/dataset, no more I/O errors.

This was the only way I could figure to fix the problem.

And it seems logical to do so for stripe 2xhdd’s/ssd’s, because, if one error happens in truenas while truenas handles 2 x stripe pool, the pool is gone/un-healthy/unusable. But as truenas handles the “1” as a pool, truenas can’t say, I/O erros on one of the drives etc. Also, it just seems logical to have any raid card handle raid period, because one hiccup from truenas os, even with zraid3 with 5 hdd’s, one I/O error, now you have down time to
find/figure whats up, just raid card them, set it up and be done.

Did you re-flash the UGT-ST644R to enable RAID on it? If not, it might not have been in IT mode (or pass through mode) before, which might explain the I/O errors.

My personal advice from personal experience; I’d never give TrueNAS disks which it doesn’t control since many functions rely on direct disk access. Also, striping 2 disks is inherently risky since you lose everything if one disk fails. But I have to assume that you’re aware of that. Also, keep in mind that if your RAID Controller fails, you most likely need the exact same make and model to even have a chance of recovering your RAID. Again: This is all in my experience and humble opinion.

Not sure about that being the I/O problem, seems to me, truenas os mis-handled something, just one small hiccup as I experienced, bam. yea,I am aware of raid0, just from one small truenas OS hicup > a stripex2 or even zraid with 5 disks, one hiccup from the os, its downtime and troubleshooting.

If I could, I’d raid 1+0 4-6 HDD’s and prob use fedora or something as NAS. I am not entirely sure about truenas yet, even with zraid1-3. Seems to me, just that one hiccup from the OS’s, your pool is scrapped.

A RAID controller not being in pass through mode is not a supported configuration. You can call that a mis-handle, but I’d urge you to read this:

What gives you that idea?

2 Likes

Do you really think a 20$ “RAID” card can keep your data safer than a enterprise grade ZFS NAS solution ?

Seems to be pretty solid this way. Truenas is badass.

It appears to me that @TrueNassaNeurT doesn’t understand how ZFS works. I don’t see how using a raid card could be reliable when used with the ZFS filesystem.

It would be wise to read up on ZFS and search the forums for bad experiences using raid cards.

I’m just going to point out that $200 RAID card is not going to be any better, in fact, it may be worse if it has a battery backup.

My point is that it’s not the price that makes RAID unsuitable for pairing with ZFS. It’s the tech itself.

Mirroring what others say… that card is suspect. RAID mode or otherwise

It uses a Marvell SATA controller, which is easily one of the worst of these defective-by-design controllers. the only other worse chip are the ones from VIA technologies. Anything but I suppose Asmedia chips are going to have various quirks and defects and using them with ZFS will only notice these problems, not cause them.

Asmedia (on a quality card, with no multipliers or whatnot) are really the only PCIe SATA cards that I’ve seen work at all reliably with TrueNAS Scale. but you should really buy a SAS HBA as they are much better supported. and you won’t be playing a gamble if the white-label OEM implemented the chip on their card correctly..