I am using the RAM disk for building in Visual Studio (obj + bin folders), and I am running Windows 10 Pro, fully patched.
The RAM disk is configured as follows:
Size: 15.360 MB
Had Disk Emulation: NO
Save Contents to Image: YES
Mount as Removable: NO
Allocate within the specified NUMA node only: NO
Save contents to associated image every, min: 60
The error has happened 2 times in about 12 hours. Everything worked fine for years with VS2019, and although I cannot see how installation of VS2022 could have any effect, it is the only thing that has changed. RAM Disk 4.3 has worked fine with VS2019 until yesterday's installation of VS2022.
The eventlog has the following:
QuoteThe system failed to flush data to the transaction log. Corruption may occur in VolumeId: Z:, DeviceName: \Device\000000d5.
Failure status: {Write Protect Error}
The disk cannot be written to because it is write protected. Please remove the write protection from the volume %hs in drive %hs.
Device GUID: {00000000-0000-0000-0000-000000000000}
Device manufacturer:
Device model:
Device revision:
Device serial number:
Bus type: <unknown>