Date: Sat, 6 Feb 2010 15:22:11 +0300 (MSK) From: Dmitry Morozovsky <marck@rinet.ru> To: Philip Paeps <philip@freebsd.org> Cc: ports@freebsd.org, Mike Jakubik <mike.jakubik@intertainservices.com> Subject: Re: FreeBSD Port: sysutils/smartmontools (daily_status_smart_devices with 3ware controller) Message-ID: <alpine.BSF.2.00.1002061519320.68152@woozle.rinet.ru> In-Reply-To: <20100203160244.GW948@rincewind.paeps.cx> References: <4B674A5D.8050905@intertainservices.com> <20100203160244.GW948@rincewind.paeps.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Feb 2010, Philip Paeps wrote: PP> On 2010-02-01 16:40:45 (-0500), Mike Jakubik <mike.jakubik@intertainservices.com> wrote: PP> > I am trying to obtain a daily smart status report on one of my servers PP> > which uses a 3ware controller. To access these devices from PP> > smartmontools you need to refer to each drive as 3ware,0 or 3ware,1. PP> > This doesn't seem to work well with the period script, ie. PP> > daily_status_smart_devices="3ware,0 3ware,1 3ware,2" does not produce PP> > any output. I have tried escaping the comma with \ but still nothing. PP> > Any ideas on how to get these to work with the daily periodic script? PP> PP> Not without modifying the periodic script. I make a copy of the script PP> provided by the port and modify it to specify the -d 3ware,n and get a list of PP> those 'n' from periodic.conf. Please try the patch attached. Note that you have to specify your 3ware disks as daily_status_smart_devices="twa0,0 twa0,1 twa0,2" (controller device name instead of "3ware") In no objection case I'll make this patch part of port distribution. Thanks! -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1002061519320.68152>