I was having a problem with a 1 TB expansion getting a random write error which looked like it was ejecting and then reconnecting. This would happen while I was running a python program which was constructing sqlite databases from raw data. The program would encounter a disk write error, a windows notification would show up saying that there was a problem with the drive, and the event log would show 2 errors:
-
{Delayed Write Failed} Windows was unable to save all the data for the file D:\FirebaseAnalytics\bs2\db\bs2_20220207.db. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.
-
The IO operation at logical block address 0x1ca6ad8 for Disk 2 (PDO name: \Device\00000199) was retried.
What fixed the problem for me was changing the windows USB drive policy setting from “Quick removal” to “Better performance”. (Device Manager / disk drives / USB Disk 3.2 SCSI Disk Device properties / Policies Tab)
The error occurred for me both on Bios 3.02 and 3.07. My other expansion cards are a USB-C card and 2 USB-A cards. I have the Windows 10 Framework Laptop Driver Bundle 12_16_21 installed. It was only changing the policy setting that has fixed the error for me. I’ll note that I didn’t get the error when performing a CrystalDiskMark test. It only happened when running my python program.