昨天拔硬盘时,不能弹出,赶着要睡觉,就直接拔掉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