![确定哪些文件存储在坏扇区中](https://linux22.com/image/1433916/%E7%A1%AE%E5%AE%9A%E5%93%AA%E4%BA%9B%E6%96%87%E4%BB%B6%E5%AD%98%E5%82%A8%E5%9C%A8%E5%9D%8F%E6%89%87%E5%8C%BA%E4%B8%AD.png)
我昨晚运行了 CHKDSK(日志如下),发现坏扇区中似乎存储了 4 KB 的数据。有没有办法找出哪些文件存储在(或至少部分存储在)这些坏扇区中?
Checking file system on C:
The type of the file system is NTFS.
A disk check has been scheduled.
Windows will now check the disk.
CHKDSK is verifying files (stage 1 of 5)...
519680 file records processed. File verification completed.
1795 large file records processed. 0 bad file records processed. 2 EA records processed. 140 reparse records processed. CHKDSK is verifying indexes (stage 2 of 5)...
673306 index entries processed. Index verification completed.
0 unindexed files scanned. 0 unindexed files recovered. CHKDSK is verifying security descriptors (stage 3 of 5)...
519680 file SDs/SIDs processed. Cleaning up 321 unused index entries from index $SII of file 0x9.
Cleaning up 321 unused index entries from index $SDH of file 0x9.
Cleaning up 321 unused security descriptors.
Security descriptor verification completed.
76814 data files processed. CHKDSK is verifying Usn Journal...
35149904 USN bytes processed. Usn Journal verification completed.
CHKDSK is verifying file data (stage 4 of 5)...
519664 files processed. File data verification completed.
CHKDSK is verifying free space (stage 5 of 5)...
35264341 free clusters processed. Free space verification is complete.
Windows has checked the file system and found no problems.
312221695 KB total disk space.
170332512 KB in 366718 files.
197720 KB in 76815 indexes.
4 KB in bad sectors.
634095 KB in use by the system.
65536 KB occupied by the log file.
141057364 KB available on disk.
4096 bytes in each allocation unit.
78055423 total allocation units on disk.
35264341 allocation units available on disk.
Internal Info:
00 ee 07 00 96 c4 06 00 aa 08 0c 00 00 00 00 00 ................
09 17 00 00 8c 00 00 00 00 00 00 00 00 00 00 00 ................
a8 6b 0e 00 50 01 0c 00 50 01 0c 00 00 00 0c 00 .k..P...P.......
Windows has finished checking your disk.
Please wait while your computer restarts.
答案1
您可能还没有丢失任何数据,所以我认为没有必要找出哪些特定文件存储在坏扇区中。当硬盘检测到某个扇区中的异常(例如,读/写速度比平时慢)时,它会立即将存储在那里的任何数据移动到特殊“保留”池中的扇区。然后,它会将问题扇区标记为“坏”,以确保它永远不会再使用。只有当您耗尽整个保留池时,您才会开始丢失数据。
你不应该试图找出哪些文件位于坏扇区中,而应该立即地备份此驱动器上的所有重要数据。即使只有一个坏扇区也是一个严重问题,可能表明驱动器即将发生故障;4KB 的坏扇区数量相当可观。当一个扇区发生故障时,其他扇区通常(但并非总是)会随之发生故障。备份数据后,安装 SMART 监控程序(有很多;只需在 Google 上搜索)并定期检查坏扇区数量。如果坏扇区数量增加,请更换驱动器。