mac mysql 移动硬盘_Mac的移动硬盘不能装载该如何解决?

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值