You are not logged in.
Pages: 1
Hello
Trying to do "smartctl -t short -l selftest /dev/sda1"
and I am a bit unsure of the result.
It says it will take 2min, but it only takes about a second.
This is what i get:
smartctl 5.39.1 2010-01-28 r3054 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Self-test routine in progress 80% 16498 -
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 2 minutes for test to complete.
Test will complete after Thu Mar 24 09:56:44 2011
Use smartctl -X to abort test.
Offline
It's not over!
# 1 Short offline Self-test routine in progress 80% 16498 -
Wait until it will reach the 100%
Offline
hmm, but it outputs 80% right away and stops there..
Offline
use smartctl -l selftest /dev/sda to view the log.
"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette
Offline
use smartctl -l selftest /dev/sda to view the log.
smartctl 5.39.1 2010-01-28 r3054 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 16498 -
# 2 Short offline Aborted by host 80% 16498 -
"Aborted by host" ?
I did not abort anything....
Same thing here, takes about ½ sec to print the whole message
Offline
well... see #1. It completed without error. So your hdd is good.
Also #2 got aborted because u started another test before completion of last one.
Last edited by vik_k (2011-03-25 07:57:15)
"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette
Offline
All i did was to press enter after entering the command, never interrupted it in any way..
I tried the same thing on another drive:
[root@venus]# smartctl -l selftest /dev/sdb
smartctl 5.39.1 2010-01-28 r3054 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Self-test routine in progress 90% 16517 -
[root@venus]#
Same thing, but stops at 90%?
Offline
dude... it hasn't stopped, it's running in background.
checkout the log after sometime & the Remaining would have decreased.
"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette
Offline
Ahh, okay! doh ...
Thanks mate
Offline
Hm I get "Completed: unknown failure 90%" on one hdd
Should I be worried, and how do I make the test continue?
Offline
check the errorlog first. smartctl -l error /dev/<drive>
also check smart data of the drive. smartctl -A ...
watch for raw value in Current_Pending_Sector, Offline_Uncorrectable, Reallocated_Sector_Ct lines.
if everything is 0, then i dont think there is anything to worry.
nd no prob.. always happy to help
"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette
Offline
smartctl -l error
last input: Error 2019 occurred at disk power-on lifetime: 10779 hours (449 days + 3 hours)
And the hd has been running for 688 days now.. guess thats ok if it hasnt complained since then.
smartctl -A on the other hand:
5 Reallocated_Sector_Ct 0x0033 007 007 036 Pre-fail Always FAILING_NOW 1922
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 125
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 162
Are those values to high?
Offline
which hdd model is that? & imo these values are way too high.
I replaced my previous hdd when it started giving errors and the Reallocated_Sector_Ct reached 80. also the FAILING_NOW is of concern.
check what smartctl -H <drive> has to say. and maybe u need to replace the drive.
"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette
Offline
Oh noo.. hmm, i cant remember where i bought my server, or my hdds.. its been a while.. is there any way to check with software what kind of hd it is?
does not look good at all:
[root@venus]# smartctl -H /dev/sdc
smartctl 5.39.1 2010-01-28 r3054 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
Failed Attributes:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 007 007 036 Pre-fail Always FAILING_NOW 1922
196 Reallocated_Event_Count 0x0033 007 007 036 Pre-fail Always FAILING_NOW 1922
Good thing i have a raid with mirrord disk, but i really want to replace it as soon as possible if its crashed.
Offline
by the way..
how do i check health status for scsi drives?
Offline
(nvm last post, i figured it out)
Offline
Pages: 1