Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 11:19:04 +0200
From:      Evren Yurtesen <yurtesen@ispro.net.tr>
To:        Eduard Martinescu <martines@rochester.rr.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: smartmontools startup script problem
Message-ID:  <40502F08.1080105@ispro.net.tr>
In-Reply-To: <1078947603.6370.61.camel@sauron.crafts4life.com>
References:  <404286C0.4080207@ispro.net.tr> <1078933785.6362.51.camel@sauron.crafts4life.com> <404F477C.3040603@ispro.net.tr> <1078947603.6370.61.camel@sauron.crafts4life.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Here is the problem, I cant enable auto offline data collection every 4 
hours.

proxy:/usr/local/etc#smartctl -c /dev/ad0
smartctl version 5.30 Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

The SMART RETURN STATUS return value (smartmontools -H option/Directive)
  can not be retrieved with this version of ATAng, please do not rely on 
this value
=== 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.
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:                 ( 900) seconds.
Offline data collection
capabilities:                    (0x1b) SMART execute Offline immediate.
                                         Auto Offline data collection 
on/off support.
                                         Suspend Offline collection upon new
                                         command.
                                         Offline surface scan supported.
                                         Self-test supported.
                                         No Conveyance Self-test supported.
                                         No Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                         power-saving mode.
                                         Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                         No General Purpose Logging support.
Short self-test routine
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  15) minutes.

proxy:/usr/local/etc#smartctl -o on /dev/ad0
smartctl version 5.30 Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
The SMART RETURN STATUS return value (smartmontools -H option/Directive)
  can not be retrieved with this version of ATAng, please do not rely on 
this value
SMART Automatic Offline Testing Enabled every four hours.

proxy:/usr/local/etc#smartctl -c /dev/ad0
smartctl version 5.30 Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

The SMART RETURN STATUS return value (smartmontools -H option/Directive)
  can not be retrieved with this version of ATAng, please do not rely on 
this value
=== 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.
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:                 ( 900) seconds.
Offline data collection
capabilities:                    (0x1b) SMART execute Offline immediate.
                                         Auto Offline data collection 
on/off support.
                                         Suspend Offline collection upon new
                                         command.
                                         Offline surface scan supported.
                                         Self-test supported.
                                         No Conveyance Self-test supported.
                                         No Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                         power-saving mode.
                                         Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                         No General Purpose Logging support.
Short self-test routine
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  15) minutes.

proxy:/usr/local/etc#

Eduard Martinescu wrote:

> Ports was just recently updated to 5.30 (I submitted the patch a couple
> of days ago, and I recall seeing the PR closed).  I haven't actually
> tried to setup periodic offline tests.  Send me an email with your
> command line, and I will attempt to duplicate.
> 
> Ed
> On Wed, 2004-03-10 at 11:51, Evren Yurtesen wrote:
> 
> 
>>Hi,
>>
>>It is ok. I also think that the never version of smartmontools have a 
>>lot of nice features, like doing long offline tests etc. periodically.
>>
>>Will you update the freebsd port?
>>
>>I dont know if this is a FreeBSD issue but I am not able to activate 
>>periodic 4hour offline tests in my drives.? do you have such problem?
>>
>>Evren
>>
>>Eduard Martinescu wrote:
>>
>>
>>>Evren,
>>>Sorry it took so long for me to get back to you.  I guess I never
>>>noticed any issues because /usr/local/sbin is on the default path for
>>>ROOT for my system.  I can look at making a change to include the full
>>>path to the command for a future release of smartmontools.
>>>
>>>Ed
>>>On Sun, 2004-02-29 at 19:41, Evren Yurtesen wrote:
>>>
>>>
>>>
>>>>Hi,
>>>>
>>>>This smartmontools startup script doesnt function properly in my 
>>>>5.2-current machine. I fixed the problem by defining the whole path to 
>>>>smartd inside the script. Is this normal or something wrong with my 
>>>>system? how can I get the paths working at boot time? or should this be 
>>>>fixed in the port?
>>>>
>>>>Evren
>>>
>>>
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40502F08.1080105>