This message shows up in terminal windows from time to time.
Any ideals on what is doing it and how to correct it.

WARNING: Your hard drive is failing
Device: /dev/sda [SAT], 1 Offline uncorrectable sectors

WARNING: Your hard drive is failing
Device: /dev/sda [SAT], 2 Offline uncorrectable sectors

smartctl shows the disk is fine in both short and long test on disk and partitions. At one time the machine was reporting all kinds of soft errors with smartctl, and I replaced the disk with this new one, and it continued to get the soft errors. Then installed a pci sata controller instead of the on-board controller, and errors stopped? So, I assumed the issue was with the onboard controller, and not the disk, since it was brand new, and had put the old disk in another machine, and it also has no issues. But the above error messages come up, and I would like to correct it, but don't know what comand or program could resolve it.