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