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.

I am not sure this is a real question or a bug I should report Ubuntu.

Using: Ubuntu 11.10, on a Intel Q6600, Samsung Spinpoint F4 2TB.

I have set my PC on Suspend and after I came back, pressed Enter and after logging in everything was back to normal. However, I had a message from Disk Utility that one disk reports errors. I entered Disk Utility, and my Samsung 2TB disk, the one on which my Ubuntu is installed, had the SMART Status turned red, with error message on it. The error was:

Spinup time failed Value 21, Threshold value was 25 (so the error was reported because 21 < 25) I restarted and booted up in Windows to see what HD Tune is reporting. Unfortunately it was exactly the same 21/25.

After reading up on Wiki about SMART and the errors, I discovered that Spinup time is the time required for the disk to reach full spinning speed in milliseconds.

Then it hit me that, in Ubuntu I had Suspended the system, making essentially all my hardware stop. And when I rebooted to Windows, the hardware doesn't really stop, so SMART's reading of the Spinup time was still from Ubuntu's suspension. So I did a full PC stop and then booted up again, both in Ubuntu and Windows to see if there are different readings. Both reported successful Spinup time, 68 (a little better then 21 :) ), although in Disk Utility I have a nice message: Failed in the Past

So now I am pretty sure that Ubuntu didn't handle the Suspend correctly, but then again should I worry about Imminent hardware failure ? Am I missing some drivers? Should I report this as a bug to Ubuntu?

Sorry if this was a bad place to ask this question.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

These gui tools are neat and all but the only thing that really matters is what the output of the short/extended run tests from the smart tests say. To put it into perspective, a SATA disk from cold plug takes about 14-20 secs to become available, including spinup. I bet that parameter measures the time it takes for the platter to reach a minimum speed so spinup can start. Like you said, an additional 4ms slow down was detected, that's not earth shattering.

Run the self-tests and see what they say.

sudo -s
apt-get install libatasmart-bin
sktest /dev/sdX short
watch -d 'skdump /dev/sdX | head -n 20'

When it's 100% just run skdump again without the stdout throttling. Then do the same thing with the extended test when the short one finishes, that one takes a while.

I'm not a huge fan of these gui tools, they don't have any heuristics so all the user sees is "failure" with no context of severity.

For reference: Wikipedia S.M.A.R.T. entry

03      0x03    Spin-Up Time    
Average time of spindle spin up (from zero RPM to fully operational [millisecs]).
share|improve this answer
    
Thanks. I will give it a try. Just to be clear, what will the output be like? will there be some type of report, and a conclusion? I was planning to run the self test (written on a bootable CD) from Samsung and see what that spits out. But I haven't had the time to get to it. –  bioShark Nov 21 '11 at 23:42
    
On the HDD in question, I have 5 partitions. I have run it for the current linux installation (45Gb), and in the watch the status is: Self-Test Execution Status: [The previous self-test routine completed without error or no self-test has ever been run.] and Attribute Parsing Verification: Good ^[1mOverall Status: BAD_ATTRIBUTE_IN_THE_PAST –  bioShark Nov 21 '11 at 23:57
    
Thanks, I'm gonna run the extended one when I have more time...it's suppose to take 334 minutes. –  bioShark Nov 22 '11 at 0:13
    
It runs in the background, it shouldn't be that invasive. Turns out skdump has a quick up/down status flag skdump --status /dev/sda GOOD –  ppetraki Nov 22 '11 at 0:36

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.