Avery Fay | 2 Jan 2009 12:37

smartmontools tutorial for linux

Hello,

I recently wrote a tutorial for setting up smartmontools on linux. If
you think it's useful, feel free to add a link on the docs page of the
smartmontools website.

http://blog.shadypixel.com/monitoring-hard-drive-health-on-linux-with-smartmontools/

Cheers,
Avery

------------------------------------------------------------------------------
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
Gabriele Pohl | 3 Jan 2009 14:46
Picon

Re: smartmontools tutorial for linux

Hi Avery,

"Avery Fay" schrieb am 03.01.2009 10:33 Uhr
> I recently wrote a tutorial for setting up smartmontools on linux. If

clear language, complete info for beginners
and very nice layout ~ :-)

I like it and put a link on the website:
http://smartmontools.sourceforge.net/doc.html#tutorials 

Thank you!

Gabriele
_______________________________________________________________________
Täglich 1.000.000 Euro gewinnen! Jetzt kostenlos WEB.DE MillionenKlick 
spielen! https://millionenklick.web.de/?mc=mail <at> footer.mklick <at> home

------------------------------------------------------------------------------
Avery Fay | 3 Jan 2009 16:35

Re: smartmontools tutorial for linux

Gabriele Pohl wrote:
> Hi Avery,
> 
> "Avery Fay" schrieb am 03.01.2009 10:33 Uhr
>> I recently wrote a tutorial for setting up smartmontools on linux. If
> 
> clear language, complete info for beginners
> and very nice layout ~ :-)
> 
> I like it and put a link on the website:
> http://smartmontools.sourceforge.net/doc.html#tutorials 
> 
> Thank you!
> 
> Gabriele
> 

Thanks. Hopefully it helps some people out.

Avery

------------------------------------------------------------------------------
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
(Continue reading)

Bruce Allen | 4 Jan 2009 18:33
Picon
Favicon

Re: smartmontools tutorial for linux

Avery,

Thanks for the nice tutorial!  I'm sure it will be helpful.

Cheers,
 	Bruce

On Sat, 3 Jan 2009, Avery Fay wrote:

> Gabriele Pohl wrote:
>> Hi Avery,
>>
>> "Avery Fay" schrieb am 03.01.2009 10:33 Uhr
>>> I recently wrote a tutorial for setting up smartmontools on linux. If
>>
>> clear language, complete info for beginners
>> and very nice layout ~ :-)
>>
>> I like it and put a link on the website:
>> http://smartmontools.sourceforge.net/doc.html#tutorials
>>
>> Thank you!
>>
>> Gabriele
>>
>
> Thanks. Hopefully it helps some people out.
>
> Avery
>
(Continue reading)

Gabriele Pohl | 4 Jan 2009 20:04
Picon

Munins smart_ plugin got a manpage

Hi Avery and all,

your good example and my New Year's resolutions in mind ;)
I created a manpage for Munins [1] smart_ plugin.
http://muninexchange.projects.linpro.no/?search&cid=2&pid=363 
You find attached it hereby in TXT-Format.

Comments are welcome. 

Cheers, 
               Gabriele

[1] Homepage: http://munin.projects.linpro.no/ 
_______________________________________________________________________
Sensationsangebot verlängert: WEB.DE FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!* http://dsl.web.de/?ac=OM.AD.AD008K15039B7069a

NAME
    smart_ - Munin wildcard-plugin to monitor S.M.A.R.T. attribute values
    through smartctl

APPLICABLE SYSTEMS
    Node with Python interpreter and smartmontools
    (http://smartmontools.sourceforge.net/) installed and in function.

CONFIGURATION
  Create link in service directory
    To monitor a S.M.A.R.T device, create a link in the service directory of
(Continue reading)

Christian Schwang | 4 Jan 2009 21:56
Picon
Favicon

Reallocated_Event's give me a headache

Hey guys,

I just bought one of those shiny 500 GB Notebook drives from Samsung.
Naturally the first thing I did (after cloning) was to fire up smartctl 
to run a short + extended Self Test » Passed.

But when I look at the Smart Values, three things really worry me:
-> ever increasing Reallocated_Event_Count
-> ever increasing Current_Pending_Sector
-> ever increasing Offline_Uncorrectable

When I noticed the unusually high Reallocated_Event's and zero 
Reallocated_Sector's, I did a
   $ dd if=/dev/zero of=~/Bulk.zero bs=4096
to force Reallocation of bad blocks (should there be any).

Reallocated_Sectors stayed at zero, but Reallocated_Events and 
Pending_Sector kept increasing.
   $ dd if=~/Bulk.zero of=/dev/null bs=4096
showed no signs of Read Errors (despite increasing SMART Values for the 
3 mentioned Attributes)

So of course I'm a little concerned about the health of my new toy.
Should I be?

_______________________
=== SmartCTL Output ===
mac:~ TFS$ smartctl -a /dev/disk0
smartctl version 5.38 [i386-apple-darwin9.6.0] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
(Continue reading)

Justin Piszcz | 4 Jan 2009 23:33

Re: Reallocated_Event's give me a headache


On Sun, 4 Jan 2009, Christian Schwang wrote:

> Hey guys,
>
> I just bought one of those shiny 500 GB Notebook drives from Samsung.
> Naturally the first thing I did (after cloning) was to fire up smartctl
> to run a short + extended Self Test » Passed.
>
> But when I look at the Smart Values, three things really worry me:
> -> ever increasing Reallocated_Event_Count
> -> ever increasing Current_Pending_Sector
> -> ever increasing Offline_Uncorrectable
>

196 Reallocated_Event_Count 0x0032   100   100   000    Old_age 
Always       -       905
197 Current_Pending_Sector  0x0012   100   100   000    Old_age 
Always       -       327
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age 
Offline      -       490

Ouch, I would RMA it or make sure you run in a RAID-1 configuration so
when it dies you can RMA it.

Justin.
------------------------------------------------------------------------------
(Continue reading)

Dan Lukes | 5 Jan 2009 00:04
Picon

Re: Reallocated_Event's give me a headache

Christian Schwang napsal/wrote, On 01/04/09 21:56:
> Reallocated_Sectors stayed at zero, but Reallocated_Events and 
> Pending_Sector kept increasing.

> === START OF INFORMATION SECTION ===
> Device Model:     SAMSUNG HM500LI
> Serial Number:    S1HMJD0Q906094
> Firmware Version: 2TF00_00
> User Capacity:    500,107,862,016 bytes

> 196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   
> Always       -       905
> 197 Current_Pending_Sector  0x0012   100   100   000    Old_age   
> Always       -       327
> 198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   
> Offline      -       490

As far as I know, the RAW values of SMART attributes has no defined 
meaning. Althought most of disc have raw number of events here, your 
specific disk with specific firmware may have something totally 
different here.

The cooked values of such attributes show "there is no substantial problem".

You need more informations from other users of such disc unless you (or 
someone else) know what such raw values mean here.

						Dan

------------------------------------------------------------------------------
(Continue reading)

Alfred Ganz | 5 Jan 2009 03:09

long tests in standby mode

Ladies and Gentlemen,

I have a backup disk for which the Extended self-test has an anticipated
completion time of 90+ minutes, but under normal circumstances I would 
like to use it with an idle-time of something like 15 minutes. However, I 
would also like to occasionally run a long test from smartd.

When I tried to run a long test without keeping the disk non-idle, using
smartctl:
    smartctl -t long -d sat,12 -n standby -T permissive /dev/sdb
I found the disk idled, and I got an incompleted test reported:
    # 1  Extended offline    Aborted by host               60%       505
I presume that the aborting host is actually the SCSI over USB simulating
interface in the external disk box itself.
Note that I started out with using the disk prior to starting the above.
I am happy to report that with an ls command every ten minutes to prevent
the disk from going standby, I got:
    # 1  Extended offline    Completed without error       00%       506
which tells me that the disk should be fine. However, it also seems to
indicate that the state change to idle trumps a running self-test.

The idle time is currently set using sdparm, which shows:
    /dev/sdb: Maxtor    OneTouch          0125
Power condition mode page:
  IDLE        0  [cha: n, def:  0, sav:  0]
  STANDBY     1  [cha: y, def:  1, sav:  1]
  ICT         0  [cha: n, def:  0, sav:  0]
  SCT       9000  [cha: y, def:9000, sav:9000]
(where 9000 is in 1/10 sec, translating into 15 min). I am currently 
using the following line in smartd.conf:
(Continue reading)

Christian Franke | 5 Jan 2009 15:51
Picon
Favicon

Re: long tests in standby mode

Alfred Ganz wrote:
> I have a backup disk for which the Extended self-test has an anticipated
> completion time of 90+ minutes, but under normal circumstances I would 
> like to use it with an idle-time of something like 15 minutes. However, I 
> would also like to occasionally run a long test from smartd.
>
> When I tried to run a long test without keeping the disk non-idle, using
> smartctl:
>     smartctl -t long -d sat,12 -n standby -T permissive /dev/sdb
> I found the disk idled, and I got an incompleted test reported:
>     # 1  Extended offline    Aborted by host               60%       505
> I presume that the aborting host is actually the SCSI over USB simulating
> interface in the external disk box itself.
>   

This likely is the problem: The firmware of the USB bridge sends some 
ATA SET IDLE command to the drive, regardless of a running self-test.

> ...
> The idle time is currently set using sdparm, which shows:
>     /dev/sdb: Maxtor    OneTouch          0125
> Power condition mode page:
>   IDLE        0  [cha: n, def:  0, sav:  0]
>   STANDBY     1  [cha: y, def:  1, sav:  1]
>   ICT         0  [cha: n, def:  0, sav:  0]
>   SCT       9000  [cha: y, def:9000, sav:9000]
> (where 9000 is in 1/10 sec, translating into 15 min). I am currently 
> using the following line in smartd.conf:
>      /dev/sdb -d sat,12 -n standby,q -s (S/../.././03) -a -m root
>
(Continue reading)


Gmane