Both Windows and Linux hosts can use a tool known as smartctl (provided by the smartmontools package) to check health of hard disks within a system and provide details regarding SMART (Self-Monitoring, Analysis, and Reporting Technology) attributes, this can be useful for performing self-checks and manual review.
You can download smartmontools via https://www.smartmontools.org/ or via YUM on linux using yum install smartmontools.
To check disk information, you’ll need to run the following:
smartctl -a /dev/sdX
Where X is the drive you wish to check. More information can be found here: https://www.smartmontools.org/wiki/FAQ
Alternatively, On Windows you can also use the built-in "CHKDSK" utility or third-party tools such as CrystalDiskInfo or Hard Disk Sentinel to monitor your disk's health and status.