SMART a off-line testy disku

Zdenek Havrlik zdenek na lhotkanet.cz
Úterý Březen 16 20:37:31 CET 2004


kuk

co tohle to by nepomohlo ???

Standardně smartd kontroluje stav zařízení pravidelně ve 30-ti
minutových intervalech, což samozřejmě můžeme změnit pomocí volby -i při
spuštění smartd. viz.
http://www.linuxzone.cz/modules/tisk_clanku-nw.phtml?ids=7&idc=658

man smartd

smartd.conf


-o VALUE
              Enables or disables SMART Automatic Offline Testing when
smartd
              starts  up  and  has  no further effect.  The valid
arguments to
              this Directive are on and off.

              The delay between tests is  vendor-specific,  but  is 
typically
              four hours.

              Note that SMART Automatic Offline Testing is not part of
the ATA
              Specification.  Please see the smartctl -o  command-line 
option
              documentation for further information about this feature.


-S VALUE
              Enables or disables Attribute Autosave when smartd starts
up and
              has no further effect.  The valid arguments  to  this 
Directive
              are  on  and  off.   [Please  see  the  smartctl -S
command-line
              option.]

       -H     Check the SMART health status of the disk.   If  any 
Prefailure
              Attributes  are  less  than  or equal to their threshold
values,
              then disk failure is predicted in less than 24 hours, and
a mes-
              sage  at  priority ´CRITICAL´ will be logged to syslog. 
[Please
              see the smartctl -H command-line option.]

       -l TYPE
              Reports increases in the number of errors  in  one  of 
the  two
              SMART logs.  The valid arguments to this Directive are:

              error  - report if that the number of ATA errors reported
in the
              ATA Error Log has increased since the last check.

              selftest - report if that the number of errors reported 
in  the
              SMART  Self-Test  Log  has increased since the last
check.  Note
              that such errors will only be logged if you  run 
self-tests  on
              the  disk  (and it fails the tests!).  [Self-Tests can be
run by
              using the ´-t short´ and ´-t long´ options of smartctl 
and  the
              results  of  the  testing  can  be  observed  using the
smartctl
              ´-l selftest´ command-line option.]

              [Please see the smartctl -l command-line option.]







V Út, 16. 03. 2004 v 17:17, Jan Kasprzak píše:
> Michal Dobes wrote:
> : Jan Kasprzak napsal(a):
> : > rad bych se zeptal, jestli tady nekdo pouziva S.M.A.R.T., a pripadne
> : > jakou konfiguraci mate? Hlavne mi jde o to, jak spoustite takove ty
> : > off-line selftesty. Mam radic 3ware a na nem 8 disku.
> : 
> : Nebude urcity problem v tom, ze 3Ware radic ty IDE disky kompletne
> : prekryva svoji vlastni logikou a pak vuci systemu to vystupuje uz
> : jen jako SCSI disky v nejakem poli?
> : Jinak do toho radice jdou nejake testy nastavit primo, at je dela
> : on. Pokud je pusten 3dmd manazer.
> : 
> 	Ne, 3ware vubec nereste. Predstavte si ekvivalentni problem na
> jinem radici. 3ware umi primi pristup k SMART informacim jednotlivych
> fyzickych disku (to /dev/sda neni konkretni fyzicky disk, funguje to
> na kteremkoli volume toho radice; cislo disku se urcuje -d 3ware,<cislo>).
> 
> -Jan Kasprzak
-- 
Zdeněk Havrlík
Ředitel technického odboru ústředního výkonného výboru Lhotkanet.cz .
Project manager of infrastructure strategy development.
King of the Lhotkanet.cz Empire.

--
Bůh stvořil svět za šest dní. Sedmý den sednul do Tatry.
Pak přišli nevěřící a všechno to šlo do prd..e.

Na všechny teď hledím z patra, jezdím totiž vozem TATRA !!!!
--

        Tento e-mail neobsahuje VIRY,
jelikož nepocházi z prostředí systemu M$ Windows!!!



Další informace o konferenci Linux