From owner-freebsd-ports@FreeBSD.ORG Thu Mar 11 01:18:58 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39BF016A4CE for ; Thu, 11 Mar 2004 01:18:58 -0800 (PST) Received: from notes.hallinto.turkuamk.fi (notes.hallinto.turkuamk.fi [195.148.215.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D42843D53 for ; Thu, 11 Mar 2004 01:18:57 -0800 (PST) (envelope-from yurtesen@ispro.net.tr) Received: from ispro.net.tr ([195.148.208.31]) by notes.hallinto.turkuamk.fi (Lotus Domino Release 5.0.10) with ESMTP id 2004031111202019:34517 ; Thu, 11 Mar 2004 11:20:20 +0200 Message-ID: <40502F08.1080105@ispro.net.tr> Date: Thu, 11 Mar 2004 11:19:04 +0200 From: Evren Yurtesen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030808 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eduard Martinescu 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> In-Reply-To: <1078947603.6370.61.camel@sauron.crafts4life.com> X-MIMETrack: Itemize by SMTP Server on notes.hallinto.turkuamk.fi/TAMK(Release 5.0.10 |March 22, 2002) at 11.03.2004 11:20:20,|March 22, 2002) at 11.03.2004 11:20:23, Serialize complete at 11.03.2004 11:20:23 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed cc: freebsd-ports@freebsd.org Subject: Re: smartmontools startup script problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 09:18:58 -0000 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 >>> >>> >