Hugo CACOTE | 2 Aug 2004 10:27
Picon
Picon

smart and regexpr for automatic testing


Dear all,

I have the following smartd configuration file.

/dev/sda -d 3ware,0 -a -I 194 -I 7 -s (S/../.././0|L/../../6/1)
/dev/sda -d 3ware,1 -a -I 194 -I 7 -s (S/../.././1|L/../../6/2)
/dev/sda -d 3ware,2 -a -I 194 -I 7 -s (S/../.././2|L/../../6/3)
/dev/sda -d 3ware,3 -a -I 194 -I 7 -s (S/../.././3|L/../../6/4)
/dev/sda -d 3ware,4 -a -I 194 -I 7 -s (S/../.././4|L/../../6/5)
/dev/sda -d 3ware,5 -a -I 194 -I 7 -s (S/../.././5|L/../../6/6)
/dev/sda -d 3ware,6 -a -I 194 -I 7 -s (S/../.././6|L/../../6/7)
/dev/sda -d 3ware,7 -a -I 194 -I 7 -s (S/../.././7|L/../../6/8)
/dev/sde -d 3ware,0 -a -I 194 -I 7 -s (S/../.././23|L/../../6/24)
/dev/sde -d 3ware,1 -a -I 194 -I 7 -s (S/../.././22|L/../../6/23)
/dev/sde -d 3ware,2 -a -I 194 -I 7 -s (S/../.././21|L/../../6/22)
/dev/sde -d 3ware,3 -a -I 194 -I 7 -s (S/../.././20|L/../../6/21)
/dev/sde -d 3ware,4 -a -I 194 -I 7 -s (S/../.././19|L/../../6/20)
/dev/sde -d 3ware,5 -a -I 194 -I 7 -s (S/../.././18|L/../../6/19)
/dev/sdh -d 3ware,0 -a -I 194 -I 7 -s (S/../.././0|L/../../6/1)
/dev/sdh -d 3ware,1 -a -I 194 -I 7 -s (S/../.././1|L/../../6/2)
/dev/sdh -d 3ware,2 -a -I 194 -I 7 -s (S/../.././2|L/../../6/3)
/dev/sdh -d 3ware,3 -a -I 194 -I 7 -s (S/../.././3|L/../../6/4)
/dev/sdh -d 3ware,4 -a -I 194 -I 7 -s (S/../.././4|L/../../6/5)
/dev/sdh -d 3ware,5 -a -I 194 -I 7 -s (S/../.././5|L/../../6/6)
/dev/sdk -d 3ware,0 -a -I 194 -I 7 -s (S/../.././23|L/../../6/24)
/dev/sdk -d 3ware,1 -a -I 194 -I 7 -s (S/../.././22|L/../../6/23)
/dev/sdk -d 3ware,2 -a -I 194 -I 7 -s (S/../.././21|L/../../6/22)
/dev/sdk -d 3ware,3 -a -I 194 -I 7 -s (S/../.././20|L/../../6/21)
/dev/sdk -d 3ware,4 -a -I 194 -I 7 -s (S/../.././19|L/../../6/20)
(Continue reading)

Hugo CACOTE | 1 Aug 2004 18:03
Picon
Picon

smart and regexpr for automatic testing

Dear all,

I have the following smartd configuration file.

/dev/sda -d 3ware,0 -a -I 194 -I 7 -s (S/../.././0|L/../../6/1)
/dev/sda -d 3ware,1 -a -I 194 -I 7 -s (S/../.././1|L/../../6/2)
/dev/sda -d 3ware,2 -a -I 194 -I 7 -s (S/../.././2|L/../../6/3)
/dev/sda -d 3ware,3 -a -I 194 -I 7 -s (S/../.././3|L/../../6/4)
/dev/sda -d 3ware,4 -a -I 194 -I 7 -s (S/../.././4|L/../../6/5)
/dev/sda -d 3ware,5 -a -I 194 -I 7 -s (S/../.././5|L/../../6/6)
/dev/sda -d 3ware,6 -a -I 194 -I 7 -s (S/../.././6|L/../../6/7)
/dev/sda -d 3ware,7 -a -I 194 -I 7 -s (S/../.././7|L/../../6/8)
/dev/sde -d 3ware,0 -a -I 194 -I 7 -s (S/../.././23|L/../../6/24)
/dev/sde -d 3ware,1 -a -I 194 -I 7 -s (S/../.././22|L/../../6/23)
/dev/sde -d 3ware,2 -a -I 194 -I 7 -s (S/../.././21|L/../../6/22)
/dev/sde -d 3ware,3 -a -I 194 -I 7 -s (S/../.././20|L/../../6/21)
/dev/sde -d 3ware,4 -a -I 194 -I 7 -s (S/../.././19|L/../../6/20)
/dev/sde -d 3ware,5 -a -I 194 -I 7 -s (S/../.././18|L/../../6/19)
/dev/sdh -d 3ware,0 -a -I 194 -I 7 -s (S/../.././0|L/../../6/1)
/dev/sdh -d 3ware,1 -a -I 194 -I 7 -s (S/../.././1|L/../../6/2)
/dev/sdh -d 3ware,2 -a -I 194 -I 7 -s (S/../.././2|L/../../6/3)
/dev/sdh -d 3ware,3 -a -I 194 -I 7 -s (S/../.././3|L/../../6/4)
/dev/sdh -d 3ware,4 -a -I 194 -I 7 -s (S/../.././4|L/../../6/5)
/dev/sdh -d 3ware,5 -a -I 194 -I 7 -s (S/../.././5|L/../../6/6)
/dev/sdk -d 3ware,0 -a -I 194 -I 7 -s (S/../.././23|L/../../6/24)
/dev/sdk -d 3ware,1 -a -I 194 -I 7 -s (S/../.././22|L/../../6/23)
/dev/sdk -d 3ware,2 -a -I 194 -I 7 -s (S/../.././21|L/../../6/22)
/dev/sdk -d 3ware,3 -a -I 194 -I 7 -s (S/../.././20|L/../../6/21)
/dev/sdk -d 3ware,4 -a -I 194 -I 7 -s (S/../.././19|L/../../6/20)

(Continue reading)

Bruce Allen | 2 Aug 2004 15:09
Picon
Favicon

Re: smart and regexpr for automatic testing

> /dev/sda -d 3ware,0 -a -I 194 -I 7 -s (S/../.././0|L/../../6/1)

> Is there any problem is specifying the hour of the tests by 1 instead of 
> 01 ? 

Yes.

> This is the only difference that I can see two digits hours or just 
> 1 digit hour.

You must use TWO digits to specify the hour.  To quote from the manual:

    HH  is the hour of the day, written with two decimal digits, and
    given in hours after midnight.  The range is 00 (midnight to
    just before 1am) to 23 (11pm to just before midnight) inclusive.

Bruce

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
Bruce Allen | 3 Aug 2004 10:46
Picon
Favicon

Re: darwin status

Dave,

I wanted to update this.  In mid-July 2004, Geoff Keating added Darwin
support to smartmontools.  To try it, you need to download a version of
smartmontools from the SouceForge CVS archive (instructions are on the
smartmontools web page http://smartmontools.sf.net/ ).  The first
smartmontools release with Darwin support will be the smartmontools 5.33
(experimental) release.

Cheers,
	Bruce

On Tue, 27 May 2003, Bruce Allen wrote:

> Hi Dave,
> 
> > I would like to know what the status is for the darwin version for
> > smartmontools?  The cvs repository looks stale.
> 
> The developer who was doing the Darwin port, Peter Cassidy, seems to have
> disappeared without a trace.  My last couple of emails failed to reach
> him.  I'll try again...
> 
> Bruce
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ObjectStore.
> If flattening out C++ or Java code to make your application fit in a
(Continue reading)

Leon Woestenberg | 3 Aug 2004 11:36

Support for SMART on Marvell 88SX50 SATA Controller

Dear all,

Marvell has a Linux SCSI device driver for their 4 and 8 port
SATA controllers which works along nicely in the 2.4.x kernels,
and with little modification, also under 2.6.x kernels.

Support for transport of the SMART ATA command is in the driver,
through a SCSI vendor unique command opcode (0x0c). Viewing the
logs needs a modified version of smartmontools according to the
docs.

I would like to add support for this device as having SMART along
with hot-swapand Software RAID makes a very powerful and low-cost
solution.

I assume I can start off with looking at the current 3ware support
and go from there?

Also, if anyone else is interested or has done previous work on this,
please let me know.

Regards,

Leon Woestenberg.

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
(Continue reading)

Bruce Allen | 3 Aug 2004 16:37
Picon
Favicon

Re: AW: Smartd

Hi Geoff,

I only wanted to ask if you've found out how to do StartupItems for smartd
under Mac OSX.

Thanks in advance.

On Tue, 3 Aug 2004, Daniel Porojan wrote:

> Hallo Geoff,
> 
> Ich wollte nur nachfragen ob Sie schon etwas gefunden haben wegen die
> StartupItems für den SMART (MAC OS X Panther).
> 
> Danke schon mal in voraus.
> 
> Viele Gruesse
> 
> Daniel
> 
> 
> Am 22.07.2004 17:46 Uhr schrieb "Bruce Allen" unter
> <ballen <at> gravity.phys.uwm.edu>:
> 
> >>>> Wie kann ich das Dämon smartd unter Mac OS X in der Ordner
> >>>> StartupItems
> >>>> automatisch starten lassen wenn ich das Computer neue strarte.
> >>>> 
> >>>> Danke schon mal in voraus.
> >>> 
(Continue reading)

Bruce Allen | 3 Aug 2004 16:47
Picon
Favicon

Re: Support for SMART on Marvell 88SX50 SATA Controller

Hi Leo,

I'd be delighted if you added support for Marvell SATA controllers into
os_linux.c.  I don't think anyone else has done work on this, though I
have a contact who has shown some interest.

Ed and I have been thinking about changing the names escalade_type and
escalade_port to controller_type and controller_port, and having
additional types defined.  If you follow this approach it should be easy
to add:
   int marvell_command_interface()
to os_linux.c, corresponding to a new device type '-d marvell'.  If you
can get this working, I'd be delighted to add you as a smartmontools
developer to help integrate this into CVS.

Definitely start by hacking escalade_command_interface() to turn it into
marvell_command_interface().

[PS: please copy mailing lists on future correspondence.]

Cheers,
	Bruce

On Tue, 3 Aug 2004, Leon Woestenberg wrote:

> Dear all,
> 
> Marvell has a Linux SCSI device driver for their 4 and 8 port
> SATA controllers which works along nicely in the 2.4.x kernels,
> and with little modification, also under 2.6.x kernels.
(Continue reading)

Bruce Allen | 3 Aug 2004 17:39
Picon
Favicon

Re: Bug#263259: smartmontools: smartd doesn't seem to be able to schedule long self-tests

Hi Zygo,

What appears in the smartd.conf should NOT be:
-s  './../.././..|S/../.././(01|07|13|19)|C/../.././(02|10|18)|O/../.././03'
it should be:
-s  (./../.././..|S/../.././(01|07|13|19)|C/../.././(02|10|18)|O/../.././03)

However I don't see if this explains why you can get everything EXCEPT for
long self-tests.

Can you comment, please?

Cheers,
	Bruce

On Tue, 3 Aug 2004, Zygo Blaxell wrote:

> Package: smartmontools
> Version: 5.32-1
> Severity: normal
> 
> The significant line in my smartd.conf is:
> 
> DEVICESCAN \
>         -a \
>         -o on \
>         -S on \
>         -n standby \
>         -s (see below) \
>         -m zblaxell \
(Continue reading)

Dan | 3 Aug 2004 20:22

Problems on FreeBSD 5.2.1-REL with Promise PDC20269

Hi, I'm having some problems getting smartctl working on FreeBSD-5.2.1 

I'm running a kernel version that should be valid (an earlier one on a
different box works fine - and there are no significant differences in the
kernel config) but no matter what I try, I get a 'kernel version not
supported' error; is this a generic error, or something I've broken in the
kernel config?

There's an IBM disk on the motherboard controller, and two Samsung
Spinpoints on a separate Promise controller:

atapci0: <VIA 82C686A UDMA66 controller> port 0xd800-0xd80f at device 4.1 on
pci0
atapci1: <Promise PDC20269 UDMA133 controller> port
0x8800-0x880f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 mem
0xe0800000-0xe0803fff irq 10 at device 11.0 on pci0
ad0: 12949MB <IBM-DJNA-371350> [26310/16/63] at ata0-master UDMA66
ad4: 152627MB <SAMSUNG SP1604N> [310101/16/63] at ata2-master UDMA100
ad6: 152627MB <SAMSUNG SP1604N> [310101/16/63] at ata3-master UDMA100

SMART is enabled in the motherboard BIOS, but I can't seem to get into the
Promise card BIOS (so I'm assuming/hoping support will be automatic...)

smartctl -T permissive -i ad0
smartctl version 5.32 Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

ATA support is not provided for this kernel version. Please ugrade to a
recent 5-CURRENT kernel (post 09/01/2003 or so)
Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
(Continue reading)

Guido Guenther | 3 Aug 2004 20:31
Gravatar

Re: AW: Smartd

On Tue, Aug 03, 2004 at 09:37:23AM -0500, Bruce Allen wrote:
> Hi Geoff,
> 
> I only wanted to ask if you've found out how to do StartupItems for smartd
> under Mac OSX.
I send an (although quiet short) reply to Geoff earlier this week.
Geoff, just let me know if you need any additional help. I'd rather
don't want to check in things into CVS "blindly".
 -- Guido

Gmane