昨天拔硬盤時,不能彈出,趕着要睡覺,就直接拔掉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 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