There was a blackout in my home and my computer's hard drives' filesystems were corrupted.
I checked the system files and the hardware, and found no problem. But I did the stupid thing of running chkdsk /f X:
first and it had found and deleted corrupt attribute records from 16659 files.
Now I think all these files may be corrupted.
I took ownership of the "System Volume Information" folders and found the complete logs inside the Chkdsk folder there.
And I use nfi.exe to get the affected files from the sector numbers. I am trying to write a program using asyncio.create_subprocess_exec
to do that.
But first I want to understand the output of nfi.exe
.
PS C:\Users\Xeni> D:\downloads\nfi\nfi.exe D: 0x9379dc5NTFS File Sector Information Utility.Copyright (C) Microsoft Corporation 1999. All rights reserved.***Logical sector 154639813 (0x9379dc5) on drive D is in file number 551312.\Games\Saints Row 4\packfiles\pc\cache\dlc3.vpp_pc $STANDARD_INFORMATION (resident) $FILE_NAME (resident) $FILE_NAME (resident) $DATA (nonresident) logical sectors 154625064-154690687 (0x9376428-0x938647f)
What does the output mean? What is $DATA (nonresident)
? Does it mean the metadata and filename are kept but the data of the file is gone, the file is a "ghost file"?
I tried to Google search "$DATA (nonresident)"
and found absolutely nothing about its meaning.