解决macOS硬盘HFS+分区无法挂载问题


问题描述

一直使用West Digital的My Passport移动硬盘分区作为Mac的Time Machine,硬盘分区情况如下所示。硬盘情况可以在About This Mac–>System Report–>USB中可以查看。

My Passport 0810:
Capacity: 1 TB (1,000,170,586,112 bytes)
Removable Media: No
BSD Name: disk2
Logical Unit: 0
Partition Map Type: MBR (Master Boot Record)
USB Interface: 0
Volumes:
MyPassport:
Capacity: 500.16 GB (500,158,169,088 bytes)
Available: 325.81 GB (325,814,714,368 bytes)
Writable: Yes
File System: ExFAT
BSD Name: disk2s1
Mount Point: /Volumes/MyPassport
Content: Windows_NTFS
Volume UUID: EAC35A57-4C28-39F1-BE70-941C76CCFC78
Mac:
Capacity: 500.01 GB (500,009,271,296 bytes)
Available: 153.15 GB (153,149,779,968 bytes)
Writable: Yes
File System: Case-Sensitive Journaled HFS+
BSD Name: disk2s2
Mount Point: /Volumes/Mac
Content: Apple_HFS
Volume UUID: A9582469-C540-3ED9-951D-3126EDF55316

之前退出硬盘的时候都是“Eject All”,最近手贱只Eject其中的Mac分区。然后妥妥的发现Mac无法识别该Mac分区,而且另外一个分区MyPassport弹出没有反应。Disk Utility工具一直转圈无法进入到磁盘修复的界面。尝试网上提到的很多办法,都没有用。

解决方法

  1. 强制拔出USB
  2. 打开terminal,并输入`sudo fsck_hfs -fy /dev/`,我需要的修复的分区是/Volumes/Mac,所以命令应该是`sudo fsck_hfs -fy /dev/disk2s2`,此时不执行该命令
  3. 再次插入移动硬盘的USB,同时执行步骤2中的命令,执行情况如下图所示。执行完成之后,重新拔出USB在插上就OK了

screen-shot-2017-01-17-at-22-03-22

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s