一名学生给了我一个硬盘,他说这个硬盘已经不能用了。我告诉他我至少会看一下,因为我的台式电脑上运行着 Ubuntu 13.10。我没有做出任何承诺,但我非常愿意帮助这位学生恢复他的数据。
sudo fdisk -l
显示:
Disk /dev/sdf: 250.1 GB, 250059350016 bytes`
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa6c460d8
Device Boot Start End Blocks Id System
/dev/sdf1 * 2048 409599 203776 7 HPFS/NTFS/exFAT
/dev/sdf2 409600 448610303 224100352 7 HPFS/NTFS/exFAT
/dev/sdf3 448610304 488183807 19786752 7 HPFS/NTFS/exFAT
/dev/sdf4 488183808 488395119 105656 c W95 FAT32 (LBA)`
/dev/sdf2
是我希望恢复的分区!所以我会去ntfsfix
解决任何问题。
不幸的是,sudo ntfsfix /dev/sdf2
结果是:
stead@ws-stead:/media/usb$ sudo ntfsfix /dev/sdf2
Mounting volume... $MFTMirr does not match $MFT (record 3).
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record 3...OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Failed to sync device /dev/sdf2: Input/output error
Error opening '/dev/sdf2': No such device or address
Remount failed: No such device or address
我已经在 Google 上搜索过这个错误一段时间了 - “同步失败”错误和“重新安装失败”,但都无济于事。查看输出,“没有这样的设备或地址”让我相信该设备正在断开连接并重新连接或以某种方式短路。fdisk -l
再次返回与上面列出的该设备相同的表。
下一步我应该使用其他工具吗?这看起来像是物理设备损坏,我应该放弃吗?
以下是系统日志中的一些令人讨厌的通知:
Oct 21 10:54:43 ws-stead kernel: [250925.728715] end_request: critical target error, dev sdf, sector 2936
Oct 21 10:54:43 ws-stead kernel: [250925.728721] Buffer I/O error on device sdf1, logical block 111
谢谢!我很乐意提供更多信息或澄清任何事项!