smartctl funziona davvero ??

Riconoscimento, installazione e configurazione delle periferiche.
Avatar utente
radivi
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 834
Iscrizione: sabato 3 febbraio 2007, 12:36
Località: Abruzzo

smartctl funziona davvero ??

Messaggio da radivi »

Ho diversi computer in ufficio, tutti con Ubuntu. Uno di loro ha dovuto subire un trapianto di HD causa rottura, allora mi sono scaricato smartmontools per controllare atri hd per prevenire il problema.
Possibile che ho tutti, dico tutti  gli HD che sono pieni solo di prefail e oldage, anche il nuovo MAxtor con 6 giorni di vita!! :o
E' così affidabile questo test o può essere ingannato da q.cosa ?
Grazie  ;D
Batlh ghob ylpab
Avatar utente
Spinus
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1397
Iscrizione: mercoledì 21 febbraio 2007, 23:09

Re: smartctl funziona davvero ??

Messaggio da Spinus »

Io lo uso da un po' di tempo e non mi ha mai segnalato alcunché...cmq me lo aveva consigliato un prof del Poli dicendo che veniva usato per monitorare gli hd dei server e, quindi, credo sia abbastanza affidabile!
Prima di installarlo mi si era rotto l'hd del portatile ed, effettivamente, il bios mi aveva segnalato gli errori dei sensori SMART (che sono usati da smartctl), però ormai era troppo tardi: invece con smartctl puoi impostare i test ogni 4 ore e (in teoria) ti accorgi prima dei problemi.

P.S. hai provato a controllare i cavi? Se non ricordo male una volta mi ha dato un errore strano che se si è risolto quando ho cambiando cavo.. :P
kiwiproject.wordpress.com

Linux user # 465110
Avatar utente
Janvitus
Amministratore
Amministratore
Messaggi: 18777
Iscrizione: lunedì 25 aprile 2005, 15:52
Desktop: GNOME Shell / Xfce
Sesso: Maschile
Località: Potenza
Contatti:

Re: smartctl funziona davvero ??

Messaggio da Janvitus »

E' uno dei programmi più affidabili in giro ;)
+Fedora 39 • +Xubuntu 23.10
Avatar utente
radivi
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 834
Iscrizione: sabato 3 febbraio 2007, 12:36
Località: Abruzzo

Re: smartctl funziona davvero ??

Messaggio da radivi »

allora qualcuno mi può spiegare l'arcano ?
eccovi l'output del comando >smartctl -a /dev/hda
del nuovo disco di appena 6 giorni di vita

Codice: Seleziona tutto

 sudo smartctl -a /dev/hda
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:     MAXTOR STM3250820A
Serial Number:    9QE2Q3Q9
Firmware Version: 3.AAE
User Capacity:    250,059,350,016 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:    Tue Aug 28 14:55:08 2007 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                 ( 430) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine 
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  92) minutes.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   110   100   006    Pre-fail  Always       -       27109141
  3 Spin_Up_Time            0x0003   097   096   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       13
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   100   253   030    Pre-fail  Always       -       17180683164
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       22
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       22
187 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
189 Unknown_Attribute       0x003a   100   100   000    Old_age   Always       -       0
190 Unknown_Attribute       0x0022   059   051   045    Old_age   Always       -       690552873
194 Temperature_Celsius     0x0022   041   049   000    Old_age   Always       -       41 (Lifetime Min/Max 0/37)
195 Hardware_ECC_Recovered  0x001a   079   058   000    Old_age   Always       -       77393356
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
202 TA_Increase_Count       0x0032   100   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 39 (device log contains only the most recent five errors)
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 39 occurred at disk power-on lifetime: 6 hours (0 days + 6 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 00 00 00 e0  Error: ICRC, ABRT at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 08 68 59 1c e0 00      00:00:34.158  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:23.589  READ DMA EXT
  25 03 08 60 59 1c e0 00      00:00:23.154  READ DMA EXT
  25 03 08 30 59 1c e0 00      00:02:44.506  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:02:44.072  READ DMA EXT

Error 38 occurred at disk power-on lifetime: 6 hours (0 days + 6 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 00 00 00 e0  Error: ICRC, ABRT at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 08 68 59 1c e0 00      00:00:34.158  READ DMA EXT
  25 03 08 60 59 1c e0 00      00:00:23.589  READ DMA EXT
  25 03 08 30 59 1c e0 00      00:00:23.154  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:22.720  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:02:44.072  READ DMA EXT

Error 37 occurred at disk power-on lifetime: 6 hours (0 days + 6 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 00 00 00 e0  Error: ICRC, ABRT at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 08 60 59 1c e0 00      00:00:34.158  READ DMA EXT
  25 03 08 30 59 1c e0 00      00:00:23.589  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:23.154  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:22.720  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:22.286  READ DMA EXT

Error 36 occurred at disk power-on lifetime: 6 hours (0 days + 6 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 00 00 00 e0  Error: ICRC, ABRT at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 08 30 59 1c e0 00      00:00:34.158  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:23.589  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:23.154  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:22.720  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:22.286  READ DMA EXT

Error 35 occurred at disk power-on lifetime: 6 hours (0 days + 6 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 00 00 00 e0  Error: ICRC, ABRT at LBA = 0x00000000 = 0

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 08 68 59 1c e0 00      00:00:34.158  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:23.589  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:23.154  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:22.720  READ DMA EXT
  25 03 08 68 59 1c e0 00      00:00:22.286  READ DMA EXT

SMART Self-test log structure revision number 1

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Sono io che non capisco o il disco è avviato al galoppo verso la pensione??  ???
PS è l'unico HD a bordo macchina
Batlh ghob ylpab
Avatar utente
Spinus
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1397
Iscrizione: mercoledì 21 febbraio 2007, 23:09

Re: smartctl funziona davvero ??

Messaggio da Spinus »

Potrebbe essere stato un problema temporaneo...magari il computer si è spento male e all'accensione ha dato il problema.. infatti c'è un solo errore ripetuto sul settore 0! Io lo userei un po' per vedere se ci sono altri errori, perchè adesso vedo che ha solo 22 ore di Uptime...
Dovresti attivare i test automatici ogni 3-4 ore, e attivare gli avvisi in caso di problemi gravi: se guardi nel man dovrebbe esserci uno script d'esempio che manda una avviso agli utenti loggati in caso di problemi (però non mi ricordo esattamente dov'è :P)
kiwiproject.wordpress.com

Linux user # 465110
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: sm9500 e 28 ospiti