zoukankan      html  css  js  c++  java
  • Mac的移动硬盘不能装载该如何解决?

    昨天拔硬盘时,不能弹出,赶着要睡觉,就直接拔掉USB接口,谁料到今天再插进去,电脑不能识别,无法装载了.

    我的天那, 里面很多重要资料,我以为硬盘坏了,要重新格盘了...T T

    还好在网上找到了大神们的指点:

    1) 先使用diskutil list 查看自己宗卷名字 我的是Netac 对应的是/dev/disk2

    SiegdeMBP:~ sieg$ diskutil list
    /dev/disk0 (internal, physical):
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:                 Apple_APFS Container disk1         121.1 GB   disk0s2
    
    /dev/disk1 (synthesized):
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      APFS Container Scheme -                      +121.1 GB   disk1
                                     Physical Store disk0s2
       1:                APFS Volume Macintosh HD            105.3 GB   disk1s1
       2:                APFS Volume Preboot                 66.7 MB    disk1s2
       3:                APFS Volume Recovery                1.0 GB     disk1s3
       4:                APFS Volume VM                      2.1 GB     disk1s4
    
    /dev/disk2 (external, physical):
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:     FDisk_partition_scheme                        *640.1 GB   disk2
       1:                  Apple_HFS Netac                   640.1 GB   disk2s1
    
    /dev/disk3 (external, physical):
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:     FDisk_partition_scheme                        *2.0 TB     disk3
       1:               Windows_NTFS                         2.0 TB     disk3s1

    2)然后输入 sudo diskutil mount /dev/disk2 想手动装载吧 

    然而并没有卵用 依旧无法识别  出现 timed out waiting to mount

    3)接着输入 

    • diskutil unmountDisk /dev/disk2
    • diskutil eject /dev/disk2

    卸载是successful了但是eject 还是timed out

    妈呀~~ 救命.

    4)这时有个大佬说

    I was having the exact same issue where unmountDisk would work fine but eject would result in the "timed out" message. I finally found a suggestion to see if fsck was holding the disk hostage. A quick ps aux | grep fsck revealed that indeed it was hijacking the disk/volume as soon as it was plugged in. sudo pkill -f fsck (or just kill with the PID if you prefer) immediately allowed the volume to be mounted. 

    然后 输入 ps aux | grep fsck 确实fsck在搞鬼

    然后杀掉所有fsck的进程 sudo pkill -f fsck 

    好啦!  拔掉硬盘再插进去  看看桌面是否有盘符显示粗来!!!

     

    以下是参考大佬的解决办法的链接:

    https://apple.stackexchange.com/questions/235309/external-drive-does-not-mount-after-plug-off-without-eject

    sudo diskutil mount /dev/disk2

    sudo diskutil mount /dev/disk2

  • 相关阅读:
    Url Rewrite IIS 配置
    GridView”的控件 必须放在具有 runat=server 的窗体标记内 “错误提示”
    C#运算符优先级
    Web.config 文件中的 system.webServer
    类型“System.Data.Objects.DataClasses.EntityObject”在未被引用的程序集中定义。
    商城产品分类设计思路
    Jquery几秒自动跳转
    MVC 的 视图中 @section 是什么作用?
    C#异常性能影响
    VSS错误:The Sourcesafe Web service cannot be accessed at the specified address
  • 原文地址:https://www.cnblogs.com/kaffeetrinken/p/10596740.html
Copyright © 2011-2022 走看看