HD scan in Mountain Lion
You can try Disk Utility. Click Verify Disk to see if the disk is faulty.

My last HD failed after a year of use. The past month has made the computer really slow. Most HD manufacturer gives out a replacement if it fails within 3 years though.