DATA SET MANAGEMENT errors

I am running newest Homeassistant version on hassio in a Virtualbox container on a Macbook Air. The image is on an external Samsung SSD 840 EVO formatted using APFS. I often get these errors in the syslog:

[Mon Jun  3 00:44:23 2024] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[Mon Jun  3 00:44:23 2024] ata1.00: failed command: DATA SET MANAGEMENT
[Mon Jun  3 00:44:23 2024] ata1.00: cmd 06/01:01:00:00:00/00:00:00:00:00/a0 tag 7 dma 512 out
                                    res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[Mon Jun  3 00:44:23 2024] ata1.00: status: { DRDY }
[Mon Jun  3 00:44:23 2024] ata1: hard resetting link
[Mon Jun  3 00:44:24 2024] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[Mon Jun  3 00:44:24 2024] ata1.00: Security Log not supported
[Mon Jun  3 00:44:24 2024] ata1.00: Security Log not supported
[Mon Jun  3 00:44:24 2024] ata1.00: configured for UDMA/133
[Mon Jun  3 00:44:24 2024] ata1.00: device reported invalid CHS sector 0
[Mon Jun  3 00:44:24 2024] ata1: EH complete

My search says that this command tries to do TRIM, but I found trim only happens once a week on hassio? Also, if I execute fstrim -a on on a commandline, there is no error…