ubuntu无法挂载硬盘

<转>Ubuntu11.04 32位系统
以前都可以自动挂载移动硬盘,今天在移动硬盘里拷贝大量的文件(12GB以上,单位的软件仓库)拷贝到一半,可能是移动硬盘底座的USB数据线接口松动了,造成操作失败,

并且提示有一个500GB的分区无法挂载,其他的分区正常,重启Ubuntu系统,系统很久都没能自动重启,我强制关机,拔掉移动硬盘的USB数据连接线,然后再次开机,进入系统还是无法正常挂载这个500GB的分区,
启动一个虚拟机XP系统,给这个虚拟机分配无法挂载的移动硬盘,检测到该移动硬盘的分区都是正常可以使用的,排除了硬盘出现硬件故障的可能,唯独在Ubuntu系统下面无法自动挂载,也不能手动挂载,

sudo mount -t ntfs-3g /dev/sdb6 /home/media/P
(我尝试在终端下手动挂载这个硬盘分区)
$MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sdb6': 输入/输出错误
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.
心里想,也许是这个分区的配置文件因为USB数据线的松动断开连接的时候给损坏了,只要修复好配置文件的错误,就可以
所以尝试打开终端输入以下
sudo ntfsfix /dev/sdb6
(ntfsfix是一个NTFS格式硬盘分区的修复工具,我的Ubuntu系统里已经默认安装有这个修复工具)sdb6是我的电脑中那个移动硬盘里面的不能挂载的分区
[sudo] password for binker: 提示输入用户密码
然后开始输出以下提示
Mounting volume... 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 0...OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdb6 was processed successfully.(到这里就是提示硬盘分区配置文件已经成功修复)
binker@binker-laptop:~$
完成,现在已经可以正常挂载
:em11
总结一下
如果大家以后在Ubuntu系统下面遇到NTFS格式的移动硬盘哪个分区不能挂载的话,可以尝试sudo ntfsfix /dev/你相应的分区(在这里那个不能挂载的硬盘分区是sdb6)

猜你喜欢

转载自psiitoy.iteye.com/blog/1390554
今日推荐