昨天拔硬盤時,不能彈出,趕着要睡覺,就直接拔掉USB接口,誰料到今天再插進去,電腦不能識別,沒法裝載了.app
個人天那, 裏面不少重要資料,我覺得硬盤壞了,要從新格盤了...T Tui
還好在網上找到了大神們的指點:url
1) 先使用diskutil list 查看本身宗卷名字 個人是Netac 對應的是/dev/disk2spa
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 想手動裝載吧
.net
然而並無卵用 依舊沒法識別 出現 timed out waiting to mountcode
3)接着輸入 blog
diskutil unmountDisk /dev/disk2
- diskutil eject /dev/disk2
卸載是successful了可是eject 仍是timed out接口
媽呀~~ 救命.進程
4)這時有個大佬說ci
I was having the exact same issue where
unmountDisk
would work fine buteject
would result in the "timed out" message. I finally found a suggestion to see iffsck
was holding the disk hostage. A quickps aux | grep fsck
revealed that indeed it was hijacking the disk/volume as soon as it was plugged in.sudo pkill -f fsck
(or justkill
with the PID if you prefer) immediately allowed the volume to be mounted.
而後 輸入 ps aux | grep fsck 確實fsck在搞鬼
而後殺掉全部fsck的進程 sudo pkill -f fsck
好啦! 拔掉硬盤再插進去 看看桌面是否有盤符顯示粗來!!!
如下是參考大佬的解決辦法的連接:
sudo diskutil mount /dev/disk2
sudo diskutil mount /dev/disk2