Hello, I need to turn of trim because the ssd doesn't support TRIM. *sigh*
I added an entry in tuneables:
vfs.zfs.trim 0
But it didn't affect and trim is still enabled and I get errors:
ahcich0: Timeout on slot 30 port 0
ahcich0: is 00000000 cs 00000000 ss 40000000 rs 40000000 tfd 50 serr 00000000 cmd 0000c817
(ada0:ahcich0:0:0:0): SEND_FPDMA_QUEUED DATA SET MANAGEMENT. ACB: 64 01 00 00 00 40 00 00 00 00 00 00
(ada0:ahcich0:0:0:0): CAM status: Command timeout
(ada0:ahcich0:0:0:0): Retrying command, 3 more tries remain
ahcich0: Timeout on slot 15 port 0
ahcich0: is 00000000 cs 00000000 ss 00008000 rs 00008000 tfd 40 serr 00000000 cmd 0000cf17
(ada0:ahcich0:0:0:0): SEND_FPDMA_QUEUED DATA SET MANAGEMENT. ACB: 64 01 00 00 00 40 00 00 00 00 00 00
(ada0:ahcich0:0:0:0): CAM status: Command timeout
(ada0:ahcich0:0:0:0): Retrying command, 2 more tries remain
ahcich0: Timeout on slot 22 port 0
ahcich0: is 00000000 cs 00000000 ss 00400000 rs 00400000 tfd 40 serr 00000000 cmd 0000d617
(ada0:ahcich0:0:0:0): SEND_FPDMA_QUEUED DATA SET MANAGEMENT. ACB: 64 01 00 00 00 40 00 00 00 00 00 00
(ada0:ahcich0:0:0:0): CAM status: Command timeout
(ada0:ahcich0:0:0:0): Retrying command, 1 more tries remain
ahcich0: Timeout on slot 29 port 0
ahcich0: is 00000000 cs 00000000 ss 20000000 rs 20000000 tfd 40 serr 00000000 cmd 0000dd17
(ada0:ahcich0:0:0:0): SEND_FPDMA_QUEUED DATA SET MANAGEMENT. ACB: 64 01 00 00 00 40 00 00 00 00 00 00
(ada0:ahcich0:0:0:0): CAM status: Command timeout
(ada0:ahcich0:0:0:0): Retrying command, 0 more tries remain
ahcich0: Timeout on slot 4 port 0
ahcich0: is 00000000 cs 00000000 ss 00000010 rs 00000010 tfd 40 serr 00000000 cmd 0000c417
(ada0:ahcich0:0:0:0): SEND_FPDMA_QUEUED DATA SET MANAGEMENT. ACB: 64 01 00 00 00 40 00 00 00 00 00 00
(ada0:ahcich0:0:0:0): CAM status: Command timeout
(ada0:ahcich0:0:0:0): Error 5, Retries exhausted
I doublechecked:
root@OPNsense:~ # sysctl vfs.zfs.trim
vfs.zfs.trim.max_interval: 1
vfs.zfs.trim.timeout: 30
vfs.zfs.trim.txg_delay: 32
vfs.zfs.trim.enabled: 1
root@OPNsense:~ # grep trim /boot/loader.conf
vfs.zfs.trim="0"
Hm, whats wrong here?
Best regards
Floh
Stupid me... ::)
WRONG:
vfs.zfs.trim 0
Correct:
vfs.zfs.trim.enabled 0
Now it's working as expected.
cu Floh