Read out the S.M.A.R.T. data to see if the drive had issues, versus the cabling or motherboard.

With Linux: smartctl -a /dev/sdX