2001-02-11 02:19:40

by Shawn Starr

[permalink] [raw]
Subject: [QUESTION]: IDE Driver support for S.M.A.R.T?

Does the current (E)IDE driver support SMART?

Will Linux report any S.M.A.R.T errors or warnings to the system log?

Shawn.



2001-02-11 02:39:53

by Jakob Oestergaard

[permalink] [raw]
Subject: Re: [QUESTION]: IDE Driver support for S.M.A.R.T?

On Sat, Feb 10, 2001 at 09:19:05PM -0500, Shawn Starr wrote:
> Does the current (E)IDE driver support SMART?

Yes.

[eagle:joe] $ ls /proc/ide/hda/smart_*
/proc/ide/hda/smart_thresholds
/proc/ide/hda/smart_values

>
> Will Linux report any S.M.A.R.T errors or warnings to the system log?

No.

You can set that up yourself with a script that compares the smart_thresholds
with the smart_values.

The values and thresholds are vendor/model/moonphase-specific,
so there's not really any way the kernel can make much sense out of them.

--
................................................................
: [email protected] : And I see the elder races, :
:.........................: putrid forms of man :
: Jakob ?stergaard : See him rise and claim the earth, :
: OZ9ABN : his downfall is at hand. :
:.........................:............{Konkhra}...............:

2001-02-11 04:03:38

by Andre Hedrick

[permalink] [raw]
Subject: Re: [QUESTION]: IDE Driver support for S.M.A.R.T?

On Sat, 10 Feb 2001, Shawn Starr wrote:

> Does the current (E)IDE driver support SMART?

Yes

> Will Linux report any S.M.A.R.T errors or warnings to the system log?

No.

> Shawn.

When? 2.5

Andre Hedrick
Linux ATA Development
ASL Kernel Development
-----------------------------------------------------------------------------
ASL, Inc. Toll free: 1-877-ASL-3535
1757 Houret Court Fax: 1-408-941-2071
Milpitas, CA 95035 Web: http://www.aslab.com

2001-02-11 16:21:58

by Alan

[permalink] [raw]
Subject: Re: [QUESTION]: IDE Driver support for S.M.A.R.T?

> Does the current (E)IDE driver support SMART?
Yes

> Will Linux report any S.M.A.R.T errors or warnings to the system log?

If you run SMART logging apps yes

2001-02-11 17:49:11

by Rogier Wolff

[permalink] [raw]
Subject: Re: [QUESTION]: IDE Driver support for S.M.A.R.T?

Alan Cox wrote:
> > Does the current (E)IDE driver support SMART?

> Yes

My server disk reports:

Vendor Specific SMART Attributes with Thresholds:
Revision Number: 9
Attribute Flag Value Worst Threshold Raw Value
( 1)Raw Read Error Rate 0x0029 100 253 020 000000000000
( 3)Spin Up Time 0x0027 078 078 020 000000000aff
( 4)Start Stop Count 0x0032 100 100 008 000000000014
( 5)Reallocated Sector Ct 0x0033 100 100 020 000000000000
( 7)Seek Error Rate 0x000b 100 100 023 000000000000
( 9)Power On Hours 0x0012 084 084 001 000000002ae7
( 11)Unknown Attribute 0x0013 100 100 020 000000000000
( 12)Power Cycle Count 0x0032 100 100 008 000000000014
( 13)Unknown Attribute 0x000b 100 100 023 000000000000
(199)UDMA CRC Error Count 0x001a 200 200 000 000000000000
(198)Offline Uncorrectable 0x0010 100 253 000 000000000000

(uptime of the machine is 81 hours longer than power on hours of the
disk. Seems that there is a small discrepancy... Hmm. Just checked:
The disk looses one hour every week)

I think that "Power on hours value = 084" means that the disk thinks
that it's seen about 1/6th of it's lifetime. The number seems to drop
by one about once every month.

Roger.

--
** [email protected] ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots.
* There are also old, bald pilots.