Default smartd.conf behavior

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Default smartd.conf behavior

Preet
Hi,

My smartd.conf only has the line:

DEVICESCAN

With no directives explicitly specified. The docs say this means the
'-a' directive will be passed to all disks detected by DEVICESCAN.

What are the default settings for offline testing? Will smartd perform
regular offline (immediate?) tests if "-o on" isn't specified? I'm
actually a bit confused as to what checks smartd performs if you don't
specify anything.

What are the default settings for attribute autosave? Will attribute
values be saved to NV memory if "-S on" isn't specified? I see
attribute values change even though I haven't explicitly specified
"-S" (but maybe that's because that flag just happens to be set on the
disk?)

Thanks,

Preet

------------------------------------------------------------------------------
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
|

Re: Default smartd.conf behavior

Christian Franke
Preet wrote:
> My smartd.conf only has the line:
>
> DEVICESCAN
>
> With no directives explicitly specified. The docs say this means the
> '-a' directive will be passed to all disks detected by DEVICESCAN.

Which is the same as '-H -f -t -l error -l selftest -l selfteststs -C
197 -U 198'. See smartd.conf man page.


> What are the default settings for offline testing? Will smartd perform
> regular offline (immediate?) tests if "-o on" isn't specified? I'm
> actually a bit confused as to what checks smartd performs if you don't
> specify anything.

Smartd never starts any self-test unless '-s REGEXP' is specified.

Directive '-o on' sends the "SMART ENABLE AUTOMATIC OFF-LINE" ATA
command to the device and has no further effect. This command was only
specified in the original SMART Spec (see -o option on smartctl man page).

The effect (if any) is firmware specific.

Try '-l offlinests' directive in smartd.conf to track changes of the
offline data collection status.


> What are the default settings for attribute autosave? Will attribute
> values be saved to NV memory if "-S on" isn't specified? I see
> attribute values change even though I haven't explicitly specified
> "-S" (but maybe that's because that flag just happens to be set on the
> disk?)

In theory this is also firmware specific, in practice it is apparently
always enabled by default. I never needed to use '-S on'.


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