[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: caractéristique d'un dd sata



Mercredi 13 septembre 2006, 20:54:55 CEST, Thierry B a écrit :
>[...] 
> Hello,
> 
> ca me donne ca mnt:
> 
> # smartctl -i -d ata /dev/sda
> smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce
> Allen Home page is http://smartmontools.sourceforge.net/
> 
> === START OF INFORMATION SECTION ===
> Device Model:
> Serial Number:
> Firmware Version: 3.AAC
> User Capacity:    320,072,933,376 bytes
> Device is:        Not in smartctl database [for details use: -P showall]
> ATA Version is:   7
> ATA Standard is:  Exact ATA specification draft version not indicated
> Local Time is:    Wed Sep 13 20:47:45 2006 CEST
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled

Donc ça marche.

> Par contre, qd je fais:
> 
> # /etc/init.d/smartmontools restart
> Restarting S.M.A.R.T. daemon: smartd (failed)
> 
> 
> Apparemment, il n'arrive pas à lancer smartd:
> 
> J'ai decommenter cette ligne dans le smartd.conf:
> 
> # Linux-specific example: monitor a SATA (Serial ATA) disk which uses
> # the libata driver.  This requires a Linux 2.6.15 or later kernel.
> # Note that the disk is addressed via a SCSI device, but the
> # underlying disk type is actually ATA
> /dev/sda -a -s on -d ata
> 
> Une idée, pour que smartd fonctionne en plus de smartctl lol?

Regarde /var/log/daemon.log, smartd y donne des infos. Il devrait dire
pourquoi il ne se lance pas.

Vérifie aussi qu'il n'y a pas d'autres lignes non commentées dans
smartd.conf, notamment DEVICESCAN...

Personnellement, je mets : /dev/hda -a -m root@localhost
(
 -m ...      : envoie un courriel en cas de pépin ;

 -a          : -H -f -t -l error -l selftest -C 197 -U 198 ;
 -H          : (health) surveiller la santé du disque et reporter les
               erreurs ;
 -f          : (fail) surveiller d'autres erreurs ;
 -l error    
 -l selftest : surveille les logs ;
 -C 197      : vérifie que l'attribut « Current_Pending_Sector » (n°197)
               n'est pas à zéro ;
 -U 198      : vérifie l'attribut « Offline_Uncorrectable » (n°198).
)

[
  lol = laughing out loud : rire très fort ; je ne vois pas trop ce que
  ça a à voir avec la question...
  (parfois, lol = lots of love...)
]

-- 
 Sylvain Sauvage



Reply to: