Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AppleMacFinder

macrumors 6502a
Original poster
Dec 7, 2009
796
152
I am sharing this solution, so that the people who have the same problem would be able find this thread through search engine and follow the advice

My Macbook Pro has two partitions:
first is "Mac OS X Extended (Journaled)" -- where Mac OS X is installed, and the
second has ~0.5 TB ExFat filesystem (for storing torrent downloads + other junk)

Recently, I have noticed the disappearance of ExFat partition from Finder,
and when I went to Disk Utility I was unpleasantly surprised: instead of ExFat partition,
all that I saw was disk0s4 grey partition which had "--" size, appeared as MS-DOS partition,
was impossible to mount, and when I tried to Verify/Repair it failed shamelessly!

The error log for this failure could be seen below (date/time removed for convenience):

Code:
**********
Disk Utility started.

Verifying volume “disk0s4”
Starting verification tool: 
Checking file system
** /dev/disk0s4

Invalid sector size: 0

Error: This disk needs to be repaired. Click Repair Disk.

Disk Utility stopped verifying “disk0s4”: This disk needs to be repaired.
Click Repair Disk.

Verify and Repair volume “disk0s4”
Starting repair tool: 
Checking file system
** /dev/disk0s4

Invalid sector size: 0

Volume repair complete.
Updating boot support partitions for the volume as required.
Error: Disk Utility can’t repair this disk. Back up as many of your files
as possible, reformat the disk, and restore your backed-up files.

Disk Utility stopped repairing “disk0s4”: Disk Utility can’t repair this disk.
Back up as many of your files as possible, reformat the disk, and restore
your backed-up files.

**********

Googling didn't reveal much, and although I have found some posts that suggested using chkdsk {drive letter}: /f command from Windows Bootcamp, that was not an option for me : I don't use Bootcamp+Windows, and for installing it I would have had to spend a lot of time and mess with still-alive Mac OS X partition, which was the least thing I wanted! Not to mention the fact that experienced Mac/Linux users should be able to accomplish their purposes without having to use Windows...

Then, I have found this wonderful article by Craig Smith,

which suggested to use sudo fsck_exfat -d disk0s4 terminal command.

It scanned this troubled partition and asked to update the boot region.
I agreed, and was told that the volume was repaired successfully.

Then, I have restarted the Disk Utility. Initially, it looked like the problem has not been fixed - grey disk0s4 MS-DOS zero-sized partition was still present. But this time I was able to successfully verify and repair the partition! :)

P.S. Some users have suggested that the Mac OS X implementation of ExFat support is somewhat buggy.
Here are related threads:

https://discussions.apple.com/thread/6602285?start=0&tstart=0
https://discussions.apple.com/thread/4154638?tstart=0&tstart=0
 
I am sharing this solution, so that the people who have the same problem would be able find this thread through search engine and follow the advice

My Macbook Pro has two partitions:
first is "Mac OS X Extended (Journaled)" -- where Mac OS X is installed, and the
second has ~0.5 TB ExFat filesystem (for storing torrent downloads + other junk)

Recently, I have noticed the disappearance of ExFat partition from Finder,
and when I went to Disk Utility I was unpleasantly surprised: instead of ExFat partition,
all that I saw was disk0s4 grey partition which had "--" size, appeared as MS-DOS partition,
was impossible to mount, and when I tried to Verify/Repair it failed shamelessly!

The error log for this failure could be seen below (date/time removed for convenience):

Code:
**********
Disk Utility started.

Verifying volume “disk0s4”
Starting verification tool:
Checking file system
** /dev/disk0s4

Invalid sector size: 0

Error: This disk needs to be repaired. Click Repair Disk.

Disk Utility stopped verifying “disk0s4”: This disk needs to be repaired.
Click Repair Disk.

Verify and Repair volume “disk0s4”
Starting repair tool:
Checking file system
** /dev/disk0s4

Invalid sector size: 0

Volume repair complete.
Updating boot support partitions for the volume as required.
Error: Disk Utility can’t repair this disk. Back up as many of your files
as possible, reformat the disk, and restore your backed-up files.

Disk Utility stopped repairing “disk0s4”: Disk Utility can’t repair this disk.
Back up as many of your files as possible, reformat the disk, and restore
your backed-up files.

**********

Googling didn't reveal much, and although I have found some posts that suggested using chkdsk {drive letter}: /f command from Windows Bootcamp, that was not an option for me : I don't use Bootcamp+Windows, and for installing it I would have had to spend a lot of time and mess with still-alive Mac OS X partition, which was the least thing I wanted! Not to mention the fact that experienced Mac/Linux users should be able to accomplish their purposes without having to use Windows...

Then, I have found this wonderful article by Craig Smith,

which suggested to use sudo fsck_exfat -d disk0s4 terminal command.

It scanned this troubled partition and asked to update the boot region.
I agreed, and was told that the volume was repaired successfully.

Then, I have restarted the Disk Utility. Initially, it looked like the problem has not been fixed - grey disk0s4 MS-DOS zero-sized partition was still present. But this time I was able to successfully verify and repair the partition! :)

P.S. Some users have suggested that the Mac OS X implementation of ExFat support is somewhat buggy.
Here are related threads:

https://discussions.apple.com/thread/6602285?start=0&tstart=0
https://discussions.apple.com/thread/4154638?tstart=0&tstart=0

OMG! THANK YOU SO MUCH! THANK YOU SOOOOOOOOO MUCH!
I had 130GB of ALL my important data on that disk to use it on Bootcamp Windows and Mac. Sadly Time Machine doesn't backup harddrives in other formats than HFS. THANK YOU!

All my data is back.

Thank you.
Seriously.

I wish you a wonderful day!
 
  • Like
Reactions: AppleMacFinder
THANKS A LOT. solved my issue. Stupid iOS scared the heck out of me. Worked like a charm. "verify Disk" failed but "repair disk" did the trick after the sudo command was entered in the terminal.
 
  • Like
Reactions: AppleMacFinder
I ah... just found this, and it's saving 20 years worth of personal data off a backup drive that died during a file move several months ago that I thought was gone forever.

...never go down to just one drive, for any reason. In that 4hour period, it will choose to die.
 
Last edited:
  • Like
Reactions: AppleMacFinder
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.