HardwareBanter

HardwareBanter (http://www.hardwarebanter.com/index.php)
-   Storage (alternative) (http://www.hardwarebanter.com/forumdisplay.php?f=31)
-   -   SMART Self-test duplicate logs? (http://www.hardwarebanter.com/showthread.php?t=199274)

Tom Del Rosso[_6_] November 19th 18 03:03 AM

SMART Self-test duplicate logs?
 
This drive does a long test every 2 weeks or 336 hours, but why does a
test sometimes get logged more than once?


Model Family: Hitachi Travelstar 5K320
Device Model: Hitachi HTS543216L9SA00

[...]

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining
LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00%
9 -
# 2 Extended offline Completed without error 00%
9 -
# 3 Extended offline Completed without error 00%
9 -
# 4 Extended offline Completed without error 00%
9 -
# 5 Extended offline Completed without error 00%
1 -
# 6 Extended offline Completed without error 00%
5 -
# 7 Extended offline Completed without error 00%
7 -
# 8 Extended offline Completed without error 00%
7 -
# 9 Extended offline Completed without error 00%
1 -
#10 Extended offline Completed without error 00%
9 -

--




Tom Del Rosso[_6_] November 19th 18 05:50 AM

SMART Self-test duplicate logs?
 
Lines got truncated. Trying again....

This drive does a long test every 2 weeks or 336 hours, but why does a
test sometimes get logged more than once?

Model Family: Hitachi Travelstar 5K320
Device Model: Hitachi HTS543216L9SA00

[...]

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining
LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 30689
# 2 Extended offline Completed without error 00% 30689
# 3 Extended offline Completed without error 00% 30689
# 4 Extended offline Completed without error 00% 30689
# 5 Extended offline Completed without error 00% 30351
# 6 Extended offline Completed without error 00% 30015
# 7 Extended offline Completed without error 00% 29707
# 8 Extended offline Completed without error 00% 29707
# 9 Extended offline Completed without error 00% 29371
#10 Extended offline Completed without error 00% 29039



VanguardLH[_2_] November 19th 18 08:44 AM

SMART Self-test duplicate logs?
 
Tom Del Rosso wrote:

Lines got truncated. Trying again....

This drive does a long test every 2 weeks or 336 hours, but why does a
test sometimes get logged more than once?

Model Family: Hitachi Travelstar 5K320
Device Model: Hitachi HTS543216L9SA00

[...]

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining
LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 30689
# 2 Extended offline Completed without error 00% 30689
# 3 Extended offline Completed without error 00% 30689
# 4 Extended offline Completed without error 00% 30689
# 5 Extended offline Completed without error 00% 30351
# 6 Extended offline Completed without error 00% 30015
# 7 Extended offline Completed without error 00% 29707
# 8 Extended offline Completed without error 00% 29707
# 9 Extended offline Completed without error 00% 29371
#10 Extended offline Completed without error 00% 29039


No mention of what software is running the test or it it uses its own
scheduler or the one in the OS (which is also not mentioned). If using
the OS schedule and the event is configured to wait until the computer
is idle and then resume an interrupted scheduled job, that could be one
reason why there is a doubled log entry. The lines you show don't
really show when the tests were executed or how long they ran (to make
sure they don't overlap, especially when the computer gets busy).

Tom Del Rosso[_6_] November 19th 18 04:06 PM

SMART Self-test duplicate logs?
 
I thought smartmontools output was easily recognizable. Of course it
uses the scheduler. Can the tests overlap? You start it once and it
will abort if there is a reboot, but then it doesn't restart by itself,
and if it did restart the 'power-on-hours' column would show a higher
number.




Tom Del Rosso[_6_] November 19th 18 04:08 PM

SMART Self-test duplicate logs?
 
Tom Del Rosso wrote:
Can the tests overlap?


By which I mean obviously they can't because if you try to start a
second test it refuses with a message that a test is already in
progress.




VanguardLH[_2_] November 19th 18 11:34 PM

SMART Self-test duplicate logs?
 
Tom Del Rosso wrote:

I thought smartmontools output was easily recognizable. Of course it
uses the scheduler. Can the tests overlap? You start it once and it
will abort if there is a reboot, but then it doesn't restart by itself,
and if it did restart the 'power-on-hours' column would show a higher
number.


My guess for your unidentified OS is that it is a Linux variant.
Windows users can visit this newsgroup, too. Perhaps SmartMon is
included, by default, in the the Linux distros. It isn't in Windows, so
the number of Windows users that use Smartmon is small and of that small
populace not all would recognize the output was from Smartmon.

I don't have a Linux box to check the options in its scheduler. In
another reply, you said there was a prompt that the job was already
running ("try to start a second test it refuses with message a test is
already running"). I'm assuming that is a message from Smartmon itself
refusing to start another process for itself rather than a message from
the scheduler of trying to run a 2nd copy of a scheduled job.

You get doubled Smartmon logs (presumably for the same scheduled job).
In each log, is one hard disk specified for getting tested, or does
Smartmon let you specify a range, list, or to scan all discovered disks?

From what I saw in the man pages for -t (tests), "Note also that if a
computer is shutdown or power cycled during a self-test, no harm should
result. The self-test will either be aborted or will resume
automatically." There is a "pending" argument to the -t switch.

Is the log reporting an aborted [long] test?

https://www.smartmontools.org/wiki/F...inginterrupted

There's nothing at the end of a Smartmon log to indicate why testing was
stopped or aborted which would would indicated the cause of a subsequent
Smartmon log?


All times are GMT +1. The time now is 12:02 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HardwareBanter.com