Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can I reset the SMART results so it does not register previous results. My reason is that I was testing the hard drives closed together on a closed case. This made one of the HDD fail the Airflow Temperature reading.

After opening the case up (Which lowered the Temp of all drives 10 degrees Celsius in 5 minutes) and then separating the drives a bit more (3 less degrees) All results were good but since the Airflow reading failed in a previous reading, it always shows as failing.

So how can I reset the readings for SMART?

enter image description here

share|improve this question
1  
I think you can use Mhdd to turn off smart, It's with the floppy tools on sysresccd.org/System-tools not the best idea... but might be worth looking into. –  Mateo Sep 8 '13 at 17:31

3 Answers 3

up vote 2 down vote accepted

Hard drives have spare space for recovery reasons. The recovery happens automatically. Recovery tools only remap physically bad sectors to this spare space. Once remapped, when a read or write occur to a bad sector, the drive turns the access to the spare space, and hides the error.

To be honest I don't know of a way to reset SMART data. It's something that the hard drive maintains internally, and in any event it would be a bad thing to do.

SMART reports that your hard drive is failing! Resetting the counters will not change the fact that an error threshold for the drive has been exceeded.

So NO, you can't Reset S.M.A.R.T. history. It's installed at the factory for drive evaluation upon failure. SMART can only be disabled or enabled.

I hope this answers your question.

share|improve this answer
    
Hi Mitch, well as explained in the question, the failure is not real. It was because all HDD were put very closed together on a poor ventilated space. After changing that and testing again it was working perfectly except that it was still mentioning the past failure. For the moment I did the following sudo smartctl -l sataphy,reset /dev/sdd which solved the issue of Overall Assesment taking the previous failure into consideration which now appears normal, but the failure still appears for the specific attribute. Again, the HDD is actually not failing but the previous error still shows. –  Luis Alvarado Sep 8 '13 at 17:09
    
I understand, but it may appear normal, its only hidden. You asked if that can be reset, and the answer is NO. Even though you were able to hide the error, once the drive goes to the manufacturer for any reason, they can find out what actually went wrong with the drive over time. All I'm saying that the previous error still shows, and unless you can get your hands on tools used by manufactures, to rest the drive's SMART status, it will still show. –  Mitch Sep 8 '13 at 17:52

SMART data is not very standard between manufacturers, but the Hard Drive Temperature test should indicate if the drive's temperature has gone over a threshold in the past: http://en.wikipedia.org/wiki/S.M.A.R.T.#Known_ATA_S.M.A.R.T._attributes

The thinking is that an overheat increases your chances for failure. SMART isn't saying your drive is bad, but has an increased chance for failure in the future.

SMART is meant to be an audit of the drives history and is maintained by the drive itself, so you cannot "reset" or "clear" SMART values.

share|improve this answer

To my knowledge, the only way to stop it is to turn off SMART in the BIOS. This will only stop the HARDWARE, though.

Your OS will still query the drive for its SMART info and tell you it's failing.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.