昨天拔硬盘时,不能弹出,赶着要睡觉,就直接拔掉USB接口,谁料到今天再插进去,电脑不能识别,无法装载了.
我的天那, 里面很多重要资料,我以为硬盘坏了,要重新格盘了...T T
还好在网上找到了大神们的指点:
1) 先使用diskutil list 查看自己宗卷名字 我的是Netac 对应的是/dev/disk2
SiegdeMBP:~ sieg$diskutil list/dev/disk0 (internal, physical):#: TYPENAME SIZE IDENTIFIER0: GUID_partition_scheme *121.3GB disk01: EFI EFI 209.7MB disk0s12: Apple_APFS Container disk1 121.1GB disk0s2/dev/disk1 (synthesized):#: TYPENAME SIZE IDENTIFIER0: APFS Container Scheme - +121.1GB disk1
Physical Store disk0s21: APFS Volume Macintosh HD 105.3GB disk1s12: APFS Volume Preboot 66.7MB disk1s23: APFS Volume Recovery 1.0GB disk1s34: APFS Volume VM 2.1GB disk1s4/dev/disk2 (external, physical):#: TYPENAME SIZE IDENTIFIER0: FDisk_partition_scheme *640.1GB disk21: Apple_HFS Netac 640.1GB disk2s1/dev/disk3 (external, physical):#: TYPENAME SIZE IDENTIFIER0: FDisk_partition_scheme *2.0TB disk31: 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
好啦! 拔掉硬盘再插进去 看看桌面是否有盘符显示粗来!!!
以下是参考大佬的解决办法的链接:
sudo diskutil mount /dev/disk2
sudo diskutil mount /dev/disk2