ubuntu 拷贝文件中断后无法识别硬盘分区

  • 今天我用移动硬盘在Ubuntu 12.04拷贝数据,可能是系统响应过慢,拷贝到最后时未完成,就将硬盘移除。下次再插入硬盘硬盘时提示:
“Error mounting: mount exited with exit code 13: $MFTMirr does not match $MFT (record 0). Failed to mount '/dev/sdb1': 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.”


  • 多次卸载再插入也挂载不成功,于是按照提示去解决问题。
  • 先在windows server 2003上尝试用chkdsk /f命令去修复硬盘错误,但用 echo list volumn|diskpart 命令查不到该移动硬盘的卷名,查询结果如下

C:\Documents and Settings\Administrator>echo list volume|diskpart
Microsoft DiskPart Copyright (C) 1999-2001 Microsoft Corporation.
On computer: SCUTECH-LZX
DISKPART>
  卷 ###      Ltr  卷标         Fs     类型        大小     状态       信息
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  卷 0                                 磁盘分区       466 GB 状态良好

  卷 1         D                       DVD-ROM       0 B 状态良好
  卷 2         C                NTFS   磁盘分区        40 GB 状态良好     系统


  • 于是又在windows server 2008尝试修复。发现移动硬盘可以直接在该系统打开,查看到是D盘,于是修复D盘的移动硬盘,修复过程如下
C:\Users\Administrator>chkdsk D: /f
The type of the file system is NTFS.
Volume label is Seagate Backup Plus Drive.

CHKDSK is verifying files (stage 1 of 3)...
  13057 file records processed.
File verification completed.
  0 large file records processed.
  0 bad file records processed.
  0 EA records processed.
  0 reparse records processed.
CHKDSK is verifying indexes (stage 2 of 3)...
64 percent complete. (12906 of 16571 index entries processed)
Deleting index entry obackup-2.1.904-ubuntu-12.04.1-server-amd64 in index $I30 o
f file 5.
Deleting index entry obackup-2.1.911-ubuntu-12.04.1-server-amd64 in index $I30 o
f file 5.
  16571 index entries processed.
Index verification completed.
  0 unindexed files scanned.
  0 unindexed files recovered.
CHKDSK is verifying security descriptors (stage 3 of 3)...
  13057 file SDs/SIDs processed.
Security descriptor verification completed.
  1757 data files processed.
Correcting errors in the Master File Table (MFT) mirror.
Correcting errors in the Volume Bitmap.
Windows has made corrections to the file system.

 488383487 KB total disk space.
  56136052 KB in 11231 files.
      4840 KB in 1759 indexes.
         0 KB in bad sectors.
     93931 KB in use by the system.
     65536 KB occupied by the log file.
 432148664 KB available on disk.

      4096 bytes in each allocation unit.
 122095871 total allocation units on disk.
 108037166 allocation units available on disk.

  • obackup-2.1.904-ubuntu-12.04.1-server-amd64就是我之前拷贝出错的数据,现在将其index entry删除。
  • 重新将移动硬盘查到Ubuntu上,已经可以重新挂载并使用了,就这么简单~
    Ubuntu下使用移动硬盘不能挂载的问题
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值