I recently added two new HDDs to my server which required me to use a pci sata card. Now the disks seem to work fine, i can read and write data to it, zfs status/scrub says they're fine and so does smartmontools. However i get these errors
So the error seems to be that somewhere along the line something doesn't understand TRIM commands. The disks seem to do support TRIM.
I tried multiple SATA cables so that should not be the cause.
But i basically have no idea about the stuff that is happening or how to debug it. Could it be a driver issue? Or is the pci card just bad? idk
Another question of mine is: how stupid would it be to either a) ignore this error as TRIM shouldn't be too important on HDDs (?!)
or b) disable zfs trim via `vfs.zfs.trim.enabled=0`.
Assuming (a) isn't totally stupid how would i disable the error reporting to not fill up my /var/log/messages?
I know that either of those are not correct things to do but I'm still curious.
For good measure:
Code:
Jul 13 20:30:58 host kernel: (ada1:ata3:0:0:0): DSM TRIM. ACB: 06 01 00 00 00 40 00 00 00 00 01 00
Jul 13 20:30:58 host kernel: (ada1:ata3:0:0:0): CAM status: ATA Status Error
Jul 13 20:30:58 host kernel: (ada1:ata3:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
Jul 13 20:30:58 host kernel: (ada1:ata3:0:0:0): RES: 51 04 00 00 00 00 00 00 00 01 00
Code:
TRIM Command: Available, deterministic, zeroed
But i basically have no idea about the stuff that is happening or how to debug it. Could it be a driver issue? Or is the pci card just bad? idk
Another question of mine is: how stupid would it be to either a) ignore this error as TRIM shouldn't be too important on HDDs (?!)
or b) disable zfs trim via `vfs.zfs.trim.enabled=0`.
Assuming (a) isn't totally stupid how would i disable the error reporting to not fill up my /var/log/messages?
I know that either of those are not correct things to do but I'm still curious.
For good measure:
Code:
$ uname -a
FreeBSD host 12.3-RELEASE-p5 FreeBSD 12.3-RELEASE-p5 GENERIC amd64