'InnoDB: preallocating 147456 bytes for file XXX.ibd failed with error 2

I'm using official MariadDB 10.7 docker image, Windows 10. Had this error started today that kept repeating, tried everything:

- mysqlcheck -Ar
- delete docker image with all the data
- chkdsk -F
- dump and restore of table
- change MariaDB version
- different PC configs (nvme -> SSD)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source