Check whether a Mac disk is about to fail
You can check the health of many disks using Disk Utility. Many disks include Self-Monitoring, Analysis and Reporting Technology (S. M A R.T) hardware, which lets a disk test itself for potential problems.
On your Mac, open Disk Utility in the Utilities folder in Applications.
Select the disk you want to check.
Click the Info button in the toolbar, then follow the onscreen instructions.
If you see a message saying the disk has a fatal hardware error, the disk has an irreparable hardware problem that can’t be fixed by Disk Utility or any other utility that repairs software problems. Back up as much of the data on the disk as possible, then replace the disk.
If you don’t see a message saying the disk has a hardware error but you still have problems with the disk, you can try to repair it with Disk Utility.