zoukankan      html  css  js  c++  java
  • Ubuntu 磁盘挂载错误

    一、错误

    报错原因:

    在删除或者复制移动时,磁盘或者u盘等外接硬件设备,忽然掉落(断掉,接口松动),在次挂载磁盘时就会出现错误

    错误日志:

    $MFTMirr does not match $MFT (record 0).
    Failed to mount '/dev/sdc1': 输入/输出错误
    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.

    二、解决方法

    简单解决:

    linux ~ # ntfsfix /dev/sdc1
    Mounting volume... $MFTMirr does not match $MFT (record 0).
    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
    Checking the alternate boot sector... OK
    NTFS volume version is 3.1.
    NTFS partition /dev/sdc1 was processed successfully.

    重新插入磁盘:

    linux ~ # df -hT
    文件系统       类型      容量  已用  可用 已用% 挂载点
    udev           devtmpfs  1.9G     0  1.9G    0% /dev
    tmpfs          tmpfs     383M  9.4M  374M    3% /run
    /dev/sda1      ext4      459G   70G  366G   16% /
    tmpfs          tmpfs     1.9G   21M  1.9G    2% /dev/shm
    tmpfs          tmpfs     5.0M  4.0K  5.0M    1% /run/lock
    tmpfs          tmpfs     1.9G     0  1.9G    0% /sys/fs/cgroup
    /dev/sdb1      ext4      9.3G  213M  8.6G    3% /boot
    cgmfs          tmpfs     100K     0  100K    0% /run/cgmanager/fs
    tmpfs          tmpfs     383M     0  383M    0% /run/user/122
    tmpfs          tmpfs     383M   16K  383M    1% /run/user/1000
    /dev/sdc1      fuseblk   932G  161G  772G   18% /media/linux/Seagate Backup Plus Drive

    重新挂载之后就ok了

  • 相关阅读:
    数据特征分析:5.相关性分析
    数据特征分析:4.正态分布与正态性检验
    go-文件操作
    图-迪杰斯特拉算法
    图-克鲁斯卡尔算法
    图-普利姆算法
    go-客户信息关系系统
    go-家庭收支记账软件例子
    采用邻接表表示图的深度优先搜索遍历
    广度优先搜索遍历连通图
  • 原文地址:https://www.cnblogs.com/sky-k/p/9394771.html
Copyright © 2011-2022 走看看