Boot pool status is DEGRADED when running in ESXi

Hi all,

I’m running TrueNAS Scale ElectricEel 24.10 in my ESXi virtual machine. Its boot volume is a 32GB VMDK image.

My issue is, I’m frequently seeing the error message says Boot pool status is DEGRADED: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected..
In the /var/log/error I see a lot of these error messages

Jan  5 10:10:11 truenas kernel: ata4.00: exception Emask 0x0 SAct 0x1400001 SErr 0x0 action 0x0
Jan  5 10:10:11 truenas kernel: ata4.00: irq_stat 0x40000008
Jan  5 10:10:11 truenas kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jan  5 10:10:11 truenas kernel: ata4.00: cmd 61/10:c0:d8:21:91/00:00:00:00:00/40 tag 24 ncq dma 8192 out
         res 41/02:00:00:00:00/00:00:00:00:00/00 Emask 0x401 (device error) <F>
Jan  5 10:10:11 truenas kernel: ata4.00: status: { DRDY ERR }
Jan  5 10:10:11 truenas kernel: I/O error, dev sda, sector 9511384 op 0x1:(WRITE) flags 0x100 phys_seg 1 prio class 2
Jan  5 10:13:22 truenas kernel: ata4.00: exception Emask 0x0 SAct 0x81000 SErr 0x0 action 0x0
Jan  5 10:13:22 truenas kernel: ata4.00: irq_stat 0x40000008
Jan  5 10:13:22 truenas kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jan  5 10:13:22 truenas kernel: ata4.00: cmd 61/08:98:f8:c8:60/00:00:01:00:00/40 tag 19 ncq dma 4096 out
         res 41/02:00:00:00:00/00:00:00:00:00/00 Emask 0x401 (device error) <F>
Jan  5 10:13:22 truenas kernel: ata4.00: status: { DRDY ERR }
Jan  5 10:13:22 truenas kernel: I/O error, dev sda, sector 23120120 op 0x1:(WRITE) flags 0x100 phys_seg 1 prio class 2
Jan  5 12:19:41 truenas kernel: ata4.00: exception Emask 0x0 SAct 0x28 SErr 0x0 action 0x0
Jan  5 12:19:41 truenas kernel: ata4.00: irq_stat 0x40000008
Jan  5 12:19:41 truenas kernel: ata4.00: failed command: WRITE FPDMA QUEUED
Jan  5 12:19:41 truenas kernel: ata4.00: cmd 61/20:18:80:63:60/00:00:01:00:00/40 tag 3 ncq dma 16384 out
         res 41/02:00:00:00:00/00:00:00:00:00/00 Emask 0x401 (device error) <F>
Jan  5 12:19:41 truenas kernel: ata4.00: status: { DRDY ERR }
Jan  5 12:19:41 truenas kernel: I/O error, dev sda, sector 23094144 op 0x1:(WRITE) flags 0x100 phys_seg 1 prio class 2

Could you instruct me what I should check next? How can I solve this error?

Thanks!