Couple of questions about Offline data collection [resent in plaintext]

classic Classic list List threaded Threaded
2 messages Options
l
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Couple of questions about Offline data collection [resent in plaintext]

l
Hello.

My questions could be silly and answers could be obvious, but I'll be glad if you point me to the right docs.

What exactly does the Offline data collection? As far as I understood, it's contrary to short and long self-tests, and results are written to "Offline" attributes such as "Offline_uncorrectable".
Long self-test, above all, tries to read and verify every sector of the hard drive. This test can run for 214 minutes on my 2TB Seagate Barracuda 7200.14, but the Offline data collection runs only for 575 seconds.
Does it mean that Offline data collection is not trying to read/verify every sector, and there could be dozens of unreadable sectors out there, and I'll know about them only after long selftest?
I'm curious because we're relying on weekly "short" self-tests routines, and I'm wondering whether or not auto offline data collection could be combined with short selftests.

The other question is about Auto Offline data collection: I cannot enable it on my drives:

# smartctl -c /dev/sda
=== START OF READ SMART DATA SECTION ===
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (  0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (  575) seconds.
Offline data collection
capabilities:                    (0x73) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.


# smartctl -s on -S on -o on /dev/sda
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
SMART Attribute Autosave Enabled.
SMART Automatic Offline Testing Enabled every four hours.

# smartctl -c /dev/sda                                                                                                                 
=== START OF READ SMART DATA SECTION ===
General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.

I've tried to issue the test with '-t offline', and I saw errors in '-l error' log, but the Auto collection cannot be enabled without any reasons.
The version is "smartctl 6.2 2013-07-26 r3841", kernel 3.10.0-514.6.1

Any hint is appreciated.

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Smartmontools-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Couple of questions about Offline data collection [resent in plaintext]

Christian Franke
[hidden email] wrote:
> Hello.
>
> My questions could be silly and answers could be obvious, but I'll be glad if you point me to the right docs.

See
https://www.smartmontools.org/wiki/Links#ATAATAPIReferences
https://www.smartmontools.org/wiki/Links#TheoriginalSMARTspecification


> What exactly does the Offline data collection? As far as I understood, it's contrary to short and long self-tests, and results are written to "Offline" attributes such as "Offline_uncorrectable".

This was possibly the original idea. What actually happens is hidden in
firmware and typically not documented by device vendors.


> Long self-test, above all, tries to read and verify every sector of the hard drive. This test can run for 214 minutes on my 2TB Seagate Barracuda 7200.14, but the Offline data collection runs only for 575 seconds.
> Does it mean that Offline data collection is not trying to read/verify every sector, and there could be dozens of unreadable sectors out there, and I'll know about them only after long selftest?

Yes.


> The other question is about Auto Offline data collection: I cannot enable it on my drives:
> ...
> # smartctl -s on -S on -o on /dev/sda
> ...
> # smartctl -c /dev/sda
> === START OF READ SMART DATA SECTION ===
> General SMART Values:
> Offline data collection status:  (0x00) Offline data collection activity
>                                          was never started.
>                                          Auto Offline Data Collection: Disabled.
>
> I've tried to issue the test with '-t offline', and I saw errors in '-l error' log, but the Auto collection cannot be enabled without any reasons.

Then the "SMART ENABLE AUTOMATIC OFF-LINE" ATA command is unsupported by
the drive firmware (see -o option on smartctl man page).

Regards,
Christian


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Smartmontools-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
Loading...