1

I have a iMac (Late 2013) which has a standard 1TB 7200 RPM hard drive. Long story short, I noticed a dramatic slowdown in Windows (in Bootcamp) and on the Mac. After installing DriveDx, it reported that I had around 8,600 Reported Uncorrectable Errors. To my knowledge, that essentially means bad blocks/sectors.

After looking at this post, I followed the fsck_hfs commands. I actually checked for bad blocks first using the /sbin/fsck_hfs -S /dev/disk0s2 and then ran the /sbin/fsck_hfs -drfy /dev/disk0s2 command.

After running the check Debug, Repair, Force command five times, all it would return is "The volume was modified" which to my research says that it is not complete, and that you should run it again.

A couple of questions. Does this command actually do anything to fix bad blocks? And if not, is there another command to actually fix the problem?

Thanks.

2

Your disk is failing.

To answer your questions - yes, it attempts to rescue the data and mark the bad blocks so they won't be used in the future and no, there is no command to fix bad blocks. Bad blocks are physical problems on the storage media.

The -S option, per the man page (man fsck_hfs):

Cause fsck_hfs to scan the entire device looking for I/O errors. It will attempt to map the blocks with errors to names, similar to the -B option.

(emphasis mine)

When you run fsck_hfs, it attempts to repair the file system - there's no guarantee that it fixes it.

In a previous post, I referenced that the hard drive in the iMac generally has a 3 year warranty (2 years after 2012) so basically, you're about 4 to 5 years into a drive expected to last about 3. Chances are, it's failing.

I suggest replacing the drive.

| improve this answer | |
  • Do you think zeroing the drive would help? – ThoughToo Jun 12 '17 at 3:12
  • In the linked post - I reference another answer about "stress testing the drive;" And no...this has no benefit. – Allan Jun 12 '17 at 3:25
  • 1 more thing, DriveDx says that the drive is "Failing" but in Disk Utility, the SMART status says it is "Verified." Which one is that is more reliable? Thanks – ThoughToo Jun 12 '17 at 4:18
  • DriveDX is more reliable. Smartmontools will also give you better info. DiskUtil's SMART status is like the "check engine light" in your car. Sometimes it only comes on AFTER the engine has blown up. – Allan Jun 12 '17 at 10:47
0

If the drive is failing, zeroing it may stress it even further causing total failure and data loss. It is a big risk, but you sometimes a reformat will buy a few weeks of time before the errors return. Make sure you back everything up as soon as possible. Since it probably a physical problem with drive any fix in the disk utility will be like a band-aid. It will try to skip the bad block but the disk will continue to deteriorate.

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .