[轉(zhuǎn)]Mac的移動硬盤不能裝載該如何解決?

原文地址
昨天拔硬盤時,不能彈出,趕著要睡覺,就直接拔掉USB接口,誰料到今天再插進(jìn)去,電腦不能識別,無法裝載了.

我的天那, 里面很多重要資料,我以為硬盤壞了,要重新格盤了...T T

還好在網(wǎng)上找到了大神們的指點(diǎn):

  1. 先使用diskutil list 查看自己宗卷名字 我的是Netac 對應(yīng)的是/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 想手動裝載吧

然而并沒有卵用 依舊無法識別 出現(xiàn) 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 確實(shí)fsck在搞鬼

然后殺掉所有fsck的進(jìn)程 sudo pkill -f fsck

好啦! 拔掉硬盤再插進(jìn)去 看看桌面是否有盤符顯示粗來!!!

以下是參考大佬的解決辦法的鏈接:

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

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

友情鏈接更多精彩內(nèi)容