Windows 8.1 CRC error reading volume.

#1
I am using CreateFile to open a snapshot volume, and ReadFile to read from it. On one system I had an attempt to read 1 mb fail with a CRC error. As I understand it, the drive should be doing its own bad sector mapping, but apparently it's not. I know that NTFS has bad sector handling, does that apply only to reading/writing at the file level? In other words, by reading at the volume level am I bypassing anything the OS might do to "hide" bad sectors?
 


Neemobeer

Windows Forum Team
Staff member
#2
Windows maintains bad sector information in the MFT so if you're bypassing the file system, then you'd need to do your own bad sector checking.
 


Neemobeer

Windows Forum Team
Staff member
#3
The 9th entry in the MFT so index 8 points to a file called $BadClus this file contains a list of all bad sectors. You would need SYSTEM access in order to read the MFT though.
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.