HDD Mac Data Recovery
Fix & Recover Corrupted Hard Drive On a Mac
Last updated: July 22, 2022

How to Fix & Recover a Corrupted Hard Drive On a Mac

When a Mac internal or external hard drive starts to experience problems, you may not have much time before you’re hit with data loss. In this article, we are going to show you how to repair a corrupted hard drive on a Mac and try to recover its data to a safe storage location. We will look at native macOS techniques as well as repair and recovery methods that use third-party software. Hopefully, one of our methods will fix your Mac’s hard drive and let you get back to work!

Signs of a Corrupted Hard Drive

A hard drive that has been corrupted will exhibit multiple signs that things are not quite right. You will start to notice some strange behavior that affects your ability to use the device. At first, it might be hard to isolate the problem and the issues may only occasionally be noticeable.

As time goes on, you can expect to see an increase in the number of unexplained occurrences that may be caused by a corrupt hard drive. The following symptoms are some of the most common signs that you are dealing with a corrupted hard drive.

  • You may have problems starting your Mac if the startup disk becomes corrupted.
  • Programs and applications using the device might quit unexpectedly or experience performance problems.
  • A corrupted drive may cause your computer to crash or hang and force you to reboot it.
  • Missing or misnamed files may start showing up if the external hard drive is corrupted.
  • You may not be able to efficiently work with files and have issues trying to save, move, create, or rename them.
  • A corrupted hard drive may cause your computer to randomly freeze and stop accepting input.

Reasons Behind Mac HDD Corruption

Multiple reasons can be at the root cause of HDD drive corruption. A wide variety of factors may be why you need to recover a corrupted hard drive on your Mac. Following are some of the most common issues that can lead to hard drive corruption as well as tactics that will minimize the chances you have problems with your device.

  • ⚠️ Unexpected power failures or spikes can cause hardware damage and result in external and internal hard drive corruption. Using a reliable surge protector and ensuring you have enough battery capacity can help minimize this type of corruption.
  • ⚙️ The mechanical components of an HDD can wear out over time, making it necessary to fix a Mac hard drive. As the components degrade, signs of corruption may start to appear along with strange noises or clicking sounds. We suggest taking a byte-level backup as soon as possible to protect your data if this happens. The next section of this article describes how to create a backup using a third-party tool.
  • 👾 Infection with malware can result in a hard drive showing signs of corruption. The best way to avoid this problem is to keep your hard disk free of unwanted and potentially malicious software. This means running antivirus and malware detection software on your machines and being careful when connecting the device to other computers.

Best Methods to Fix a Corrupted Hard Drive on a Mac

Several issues might need to be addressed simultaneously when determining if you need to fix a hard drive on your Mac. The following techniques are not all appropriate in every case of hard drive corruption.

Some of these methods describe ways to improve or establish connectivity with the external device. These are to be used when your Mac does not recognize the external drive. Other techniques can be used to save or retrieve the device’s data.

Find the method that is most appropriate for your situation. We recommend users consider the following tip in virtually all instances where external hard drive corruption is suspected.

Pro Tip: If a hard drive is showing signs of corruption, the first thing you should do is to take a low-level backup of the device. Don’t wait if you think the device has been corrupted. It can fail at any time and creating a valid backup is the single most effective step you can take to protect your valuable data.

This backup serves two equally important purposes. If the drive fails, you have a copy of the data stored on the device. A byte-level backup can also be used by specialized software to recover files that have been lost or deleted due to corruption.

🟣 Use Disk Drill’s Backup and Scan Features

Disk Drill is a comprehensive data recovery and protection software solution that can be used in multiple ways to fix a corrupted hard drive on a Mac. The tool has backup and scan features that help repair a hard disk on Mac.

Back up with Disk Drill

When working with corrupted hard drives, the potential always exists for the drive to completely fail. If this happens, your only chance of getting the data back may be to engage a data recovery service. This can be an expensive and time-consuming exercise that can be avoided if you take the right precautions.

Use the following steps to create a byte-to-byte backup of a hard drive. This backup can be used simply to store the data or as the basis for a recovery of the drive’s deleted and missing files. Make sure you get a clean backup of the device before it fails.

Perform this operation as soon as you suspect the external HDD is corrupted. Create the backup before scanning or putting the device through any other activities that may cause stress.

  1. Download and install Disk Drill for Mac on a hard drive that is not showing signs of possible corruption. The software’s free trial version provides the byte-level backup tool.how to install disk drill
  2. Connect a storage device to store the backups and the affected external hard drive if necessary. Just in case there is malware associated with the corruption, it’s best not to create the backup in your main drive, even if you have available storage space.
  3. Launch the program and select Byte-to-byte Backup from the panel on the left.
  4. Select the drive or partition to be backed up and click the Create backup button.create byte-to-byte backup
  5. Choose the location and name for the backup file and click the Save button.click save button

Store the backup securely as you may be using it to recover the external drive if it fails.

Scan with Disk Drill

The byte-level backup you just created can be used to scan for lost and deleted data on the corrupted drive. Using this backup eliminates the need to subject the affected drive to additional usage as Disk Drill performs its extensive scanning. Every time you use the drive you risk further corruption or device failure.

  1. Connect the device or the byte-level backup of the hard disk to your Mac.
  2. Launch Disk Drill. The software’s free trial version can be used to scan your external drive.
  3. Select the HDD from the list of available disks.
  4. Click the Search for lost data button to initiate the scanning algorithms. Disk Drill scans the device on a sector-by-sector level to find lost and deleted data. This can involve a lot of disk activity which is why we suggest using the backup if possible to reduce the chance that the drive will be further damaged by the scan.select drive and start scan
  5. Preview the recoverable files found by Disk Drill. At this point, if you want to use the tool to recover the lost data, you need to upgrade to the Pro version.
  6. Select the files to be recovered and click the Recover button.preview and recover
  7. Provide a safe storage location for the recovered data that is not on the affected disk.
  8. Click OK to complete the procedure. It may take some time for your files to be recovered based on the number and size of the items.provide recovery path
💡 See also: We suggest you take a look at this information on how to recover deleted macOS data to learn more about using recovery software. If you want to know more about hard disk repair software tools, check out this page on Mac disk repair software.

🟣 Check your macOS Settings

You may need to make a simple macOS setting modification if you don’t see an external hard drive on your Mac. Try these steps:

  1. Open Finder > Preferences.
  2. In the General tab, make sure the box next to external disks is checked.show external disks

🟣 General suggestions for connectivity problems

These general suggestions offer simple methods of checking device connectivity and may be the reason your external drive is misbehaving. We suggest trying these techniques if you can’t see an external drive or if it is showing signs of corruption:

  • Connect the device to another port;
  • Use a different USB cable to connect the device to your Mac;
  • Make sure the device is fully powered;
  • If using a USB hub, try connecting the device directly to the computer’s USB port;
  • Try what is known as a “Slow Jam”. In some cases, inserting the device into the USB port very slowly and gently seems to improve connectivity.

🟣 Force Mount the External Drive

If you can see the device on your Mac but can’t access its data, you might need to mount the external drive. The easiest way to do this is with the Mount button inside the Disk Utility application. You can also use the following Terminal commands to force the system to mount the device.

  1. mount -t /dev/[diskname]
  2. mount force -t /dev/[diskname]
  3. diskutil verifyDisk /dev/[diskname]
  4. diskutil repairDisk /dev/[diskname]
  5. diskutil repairDisk /dev/[diskname]mount drive with terminal

🟣 Check for Installed Smart Drives

Problems with an SAT Smart drive driver may impact your ability to mount Smart drives like Drobo or Lacie devices. Removing the driver may be necessary to successfully mount your external hard drive.

🟣 Try Resetting the NVRAM and SMC

Resetting the NVRAM and SMC can help alleviate the signs of drive corruption. Many software-related problems with your Mac can be resolved by this type of reset.

Resetting the NVRAM

  1. Shut down the computer.
  2. Start it up by pressing the power button.
  3. Press the Cmd, Option, P, and R keys at the same time before the gray screen appears.
  4. Hold the keys until your computer restarts and you hear the startup sound a second time. On Macs with the T2 Security Chip, hold the keys until the Apple logo appears and disappears twice.
  5. Release the keys.Resetting the NVRAM

Resetting the SMC

The procedures for resetting the SMC for various Mac and MacBook models are available on this Apple support page. Following is an example of how to reset the SMC on a Mac desktop machine equipped with a T2 chip.

  1. Shut down your Mac, then unplug the power cord.
  2. Wait 15 seconds, then plug the power cord back in.
  3. Wait 5 seconds, then press the power button to turn on your Mac.

🟣 Use First Aid to fix an external Mac hard drive

Disk Utility is a macOS system application that can be used to perform many disk-related activities. In some cases, the First Aid feature can fix issues with an external hard drive. Use the following steps with First Aid to repair an external HDD.

  1. Open Disk Utility.
  2. Select the drive from the list of available devices.
  3. Click First Aid from the top of the window.
  4. Click Run to attempt a repair on the device.run first aid in disk utility

🟣 Format the drive

You might need to format a corrupted external drive so it can be recognized by your Mac. Formatting removes the drive’s logical links to its data but does not physically remove the files. After formatting the drive, its files can be recovered with data recovery software. Use the following procedure to format an external hard drive on your Mac.

  1. Connect the external drive to your Mac.
  2. Start the Disk Utility app.
  3. Select the drive from the panel on the left.
  4. Select Erase. If you want to recover data from the device after the format is complete, don’t select any extra security options.
  5. Name the device and select your desired file format.
  6. Click the Erase button.
  7. Click Done when the process completes.erase your drive

🟣 Try booting in safe mode

Rebooting your Mac in safe mode may enable you to access the drive so you can use it for normal operation or to back it up before conducting a recovery. Very often, rebooting in safe mode can clear up difficult to isolate software issues that might be plaguing your external drive.

Different procedures are used for rebooting to safe mode using machines with Intel chips or Apple silicon. Check out this Apple support page for the appropriate steps for your computer.

🟣 Use the macOS Console

The macOS Console application lets users monitor system messages and review log reports. The tool provides a method of seeing what’s going on inside your Mac.

To open the console, go to:

Applications > Utilities > Console.

check messages in console mac

You can look at various types of reports that furnish details about apps and events. You may be able to determine what’s going on with your external HDD by reviewing the report logs. Detailed instructions on using Console are available on this Apple support page.

🟣 Rebuild the HFS tree

The Hierarchical File System (HFS) that controls access to data on the device may be damaged. You can rebuild the HFS tree. You should restart your Mac and log in as an administrator. When the machine restarts, open Terminal and execute the following command:

sudo fsck_hfs -f /dev/[diskname]

rebuild hfs catalog

After the tree is rebuilt, try disconnecting and reconnecting the drive to see if the issue has been resolved. With any luck, you will now be able to access all of the files on the device.

FAQ

We like Disk Drill for repairing an external hard drive on a Mac due to its simple and effective recovery procedures and its free additional features. Disk Drill has superior scanning capabilities and supports virtually all file formats and devices types you will encounter with your Mac. If you’d like to explore other options, we have put together a list of the best data recovery software for Mac to help you decide which solution best fits your needs.
Yes, it is possible to use the Terminal app to attempt a repair an external HDD on a Mac. After determining the drive name, enter the following command in Terminal: diskutil repairVolume /Volumes/[Drive Name].
If your Macintosh HD is not showing up in Disk Utility, it may be that it just needs to be mounted. Since you can’t access it in Disk Utility, use the following commands in Terminal, using the appropriate device name for your environment. instead of disk1.

  1. mount -t /dev/disk1
  2. mount force -t /dev/disk1
  3. diskutil verifyDisk /dev/disk1
  4. diskutil repairDisk /dev/disk1
  5. diskutil repairDisk /dev/disk1
If your Mac freezes while you are performing First Aid on an external disk drive, your best bet is to force quit by holding down the power button for around 10 seconds. Consider rebooting into safe mode when you come back up to verify everything is operating smoothly.
When you get a ‘disk utility can’t repair this disk‘ message, it indicates that the directory structure of the device is severely damaged. In this case, you should consider reformatting the external drive and using data recovery software to save its data.
You can recover lost data from an SSD drive if TRIM is not enabled. External SSDs connected via USB do not support TRIM, so could be recovered. Internal disks that are corrupted to the point that your system cannot boot may indicate TRIM is not working and would enable data to be recovered in the same way as ah HDD.

Conclusion

The methods and techniques outlined above should be able to resolve most of your issues with a corrupted internal or external hard drive. You might find that the issues you thought were being caused by corruption were due to a bad cable or connection. In other cases, you may need to reformat the device and use data recovery software to retrieve its data.

You should always err on the side of caution when dealing with potential hard drive corruption. We suggest that the first thing to do if you suspect drive corruption is to create a byte-level backup to protect your data and provide a potential platform for a data recovery exercise.

Jeff Cochin has spent a better part of his writing career helping users recover lost data from their personal and work devices. When not describing the best way to avoid a costly data loss, Jeff likes to spend time outside and go on short cycling adventures.
Scroll to top