NTFS 备份映像无法挂载

NTFS 备份映像无法挂载

我在格式化之前制作了 NTFS 分区的映像,但现在无法挂载。我很确定我之前挂载过这个映像。

root@z:/var/backup# mkdir Storage-disk
root@z:/var/backup# mount Storage-disk.img Storage-disk
ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read vcn 0x2: Input/output error
Failed to mount '/var/backup/Storage-disk.img': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

我尝试在图像上运行 ntfsfix,但没有成功。

root@z:/var/backup# ntfsfix Storage-disk.img
Mounting volume... pread: Input/output error
Failed to calculate number of free MFTs: Input/output error.
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
pread: Input/output error
Failed to calculate number of free MFTs: Input/output error.
Remount failed: Input/output error.

不用说,我真的希望这个备份能够起作用:-(请帮忙!

更新: ntfsmount说:

root@z:/var/backup# ntfsmount Storage-disk.img Storage-disk
pread: Input/output error
Failed to calculate number of free MFTs: Input/output error.
Failed to mount '/var/backup/Storage-disk.img': Input/output error.
NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
The usage of the /f parameter is very IMPORTANT! No modification was
made to NTFS by this software.
Mount failed.

chkdsk /f如何在映像上运行?我是否必须创建一个分区并在其上写入映像?我该怎么做?

答案1

你试过在 Windows 中运行磁盘扫描程序吗?我一直都是用这种方法修复有问题的分区。

答案2

这也可能是由于包含映像的文件系统(基本上是storage-disk.img存储映像的设备)出现错误。您是否尝试使用 fsck 检查该设备?

如果成功,则有以下选项:

  1. 制作副本(使用 cp 或ntfs克隆)并尝试使用强制选项
  2. 使用测试磁盘
  3. 通过在虚拟机上运行 Windows 并使用 ChkDsk 进行修复。

相关内容