How to check hard drive health on Mac?

How to check your Mac's hard drive health status?

Internal storage is one of the most important components of any computer. This where the operating system and all software resides. Therefore, any crashes on the hard disk (HDD) or flash drive (SSD) might lead to a Mac failure or, even worse, data loss. Periodically checking the health status of the hard drive is a good precaution against any data loss or unexpected software crashes. Note that hard disks and especially flash drives often have a limited number of write cycles. Whether internal or external storage, drives are susceptible to failures over time.

Before data loss or problems accessing the Mac, you should be able to detect the warning signs of drive failures: random freezes, freezes when attempting to move files, errors stating that permissions are denied when attempting to access files or data (which previously were accessed regularly without problems). There might also be a number of other random or erratic issues relating to hard drive failure. Fortunately, Apple has included a built-in tool that is able to check and repair minor damage to storage. This method works on both internal and external storage (hard disk drive or flash drive). Furthermore, you can repair the startup disk by using the file system check function. In this article, we describe the methods available to check drive health status and attempt to repair bad sectors and other issues.

introduction

Table of Contents:

Check hard drive health via Disk Utility

As mentioned above, do not wait until you encounter erratic issues before checking the current status of the hard drive. To prevent any data loss or performance problems, periodically inspect the drive. This is quite simple using a built-in tool relating to the hard drive called Disk Utility. Use Spotlight by pressing the keyboard shortcut of Command and Spacebar, and then type Disk Utility. Alternatively, go to the Utilities folder under Application via Finder. Once you have launched the application, select one of connected drives from the list in the left hand sidebar. Click the First Aid button in the top middle of the window. You will be prompted to confirm your action. Click Run.

disk-utility-first-aid

If you are trying to check the status of a startup disk, another warning will pop up, stating that you are trying to verify a booted drive. To perform a complete check, the operating system will be frozen. If you are not performing any important, active tasks, click Run. All software will regain its full functionality immediately the verification process finishes.

disk-utility-freeze-apps

When the First Aid function completes, the resultant message will state that the hard drive is OK. Otherwise, click Repair disk (if suggested) or try repeating the First Aid procedure until the result indicates that the hard drive is OK. Disk Utility is sometimes unable to repair a booted drive - in this case, follow the next method.

[Back to Table of Contents]

Repair startup disk via macOS Recovery mode

If you have encountered a situation whereby Disk Utility is unable to repair the hard drive when it is booted, there is another way to access the tool without loading the Mac. You are advised to first create a backup of the storage - the easiest way to do this is by using Time Machine. When you have prepared a backup, shut down the Mac and then press and hold Option (Alt), Command, and R while starting the computer. Keep holding the keys until the Apple logo or spinning Globe appears. From the macOS Utilities window, select Disk Utility.

recovery-menu-disk-utility

Repeat the procedure to check the hard drive - select one of the connected drives from the list in the left hand sidebar. Next, click the First Aid button in the top middle of the window. You will be prompted to confirm your action. Click Run. Finally, click Repair disk if prompted and attempt to automatically repair the hard drive. Checking hard drive health status is good prevention against unexpected issues and data loss, however, also maintain regular backups, since hard drive failures can sometimes occur without any warning signs.

recovery-menu-first-aid

[Back to Table of Contents]

Use Single User Mode to repair hard drive

The most efficient method might be to boot the Mac into Single User Mode and use the fsck command - a shortcut to launch the file system check feature. First, create a backup and then shut down your computer. To access this mode, press and hold Command and S immediately after hearing the startup chime. In Single User Mode, you should see a lot of white text on a black display. Be patient, since this boot might take some time. Once booting is finished, each new line will be prepended with "localhost//". Type the following command and press Return to execute:

  • fsck -fy

single-user-start-scan

When the checking process is finished, look for a message stating 'The volume appears to be OK' in the results. Otherwise, repeat the system check until you receive this message. Finally, type reboot and press Return to exit Single User Mode. When the computer is completely booted, launch disk check via Disk Utility again to ensure everything is working properly. If none of these steps resolved the hard drive issues, contact Apple Store or a licensed technician.

single-user-mode-file-system-check-ok

Video Showing how to check Mac hard drive health status

[Back to Top]