Page 1 of 1

[RESOLU] Aide pour smart

Posted: 04 Oct 2014 15:01
by ernie
Hello

Mon nas a été victime d'une coupure de courant. Le UPS est arrivé et cela le protegera dorénavant de toutes coupures.

Par contre je reconfigure tout et le rebuilding du raid 5 (après reformatage des 3 DD de 2 To) est super long (il me dit plus de 16 000 minutes).

J'ai fait la commande smartctl -a -d auto /dev/ada1 puis ada2 puis ada3. Voici les résultats:

1) ada1

Code: Select all

smartctl -a -d auto /dev/ada1
smartctl 6.2 2013-07-26 r3841 [FreeBSD 9.2-RELEASE-p4 amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST2000DM001-1CH164
Serial Number:    W1E8FN1G
LU WWN Device Id: 5 000c50 077fa5ed8
Firmware Version: CC27
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sat Oct  4 14:50:06 2014 UTC

==> WARNING: A firmware update for this drive may be available,
see the following Seagate web pages:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/223651en

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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
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: 		(  584) seconds.
Offline data collection
capabilities: 			 (0x73) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					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: 	 ( 210) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x3085)	SCT Status supported.

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   114   100   006    Pre-fail  Always       -       61701760
  3 Spin_Up_Time            0x0003   096   096   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       70
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   069   060   030    Pre-fail  Always       -       10459418
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       461
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       70
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   099   000    Old_age   Always       -       0 0 1
189 High_Fly_Writes         0x003a   098   098   000    Old_age   Always       -       2
190 Airflow_Temperature_Cel 0x0022   063   054   045    Old_age   Always       -       37 (Min/Max 31/37)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       26
193 Load_Cycle_Count        0x0032   098   098   000    Old_age   Always       -       5830
194 Temperature_Celsius     0x0022   037   046   000    Old_age   Always       -       37 (0 15 0 0 0)
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
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       324h+30m+01.062s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       2243847399
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       14057910281

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


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.
2) ada2

Code: Select all

nas4free: ~ # smartctl -a -d auto /dev/ada2
smartctl 6.2 2013-07-26 r3841 [FreeBSD 9.2-RELEASE-p4 amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST2000DM001-1CH164
Serial Number:    W1E8FNRA
LU WWN Device Id: 5 000c50 077fa551a
Firmware Version: CC27
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sat Oct  4 14:51:11 2014 UTC

==> WARNING: A firmware update for this drive may be available,
see the following Seagate web pages:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/223651en

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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
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: 		(  592) seconds.
Offline data collection
capabilities: 			 (0x73) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					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: 	 ( 223) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x3085)	SCT Status supported.

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   114   100   006    Pre-fail  Always       -       80287768
  3 Spin_Up_Time            0x0003   096   096   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       66
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   069   060   030    Pre-fail  Always       -       10328360
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       461
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       66
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0 0 0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   064   054   045    Old_age   Always       -       36 (Min/Max 30/36)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       23
193 Load_Cycle_Count        0x0032   098   098   000    Old_age   Always       -       5824
194 Temperature_Celsius     0x0022   036   046   000    Old_age   Always       -       36 (0 15 0 0 0)
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
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       324h+22m+33.832s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       2236266873
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       14050359667

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


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.
3) ada3

Code: Select all

 smartctl -a -d auto /dev/ada3
smartctl 6.2 2013-07-26 r3841 [FreeBSD 9.2-RELEASE-p4 amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST2000DM001-1CH164
Serial Number:    W1E8AB84
LU WWN Device Id: 5 000c50 077fad226
Firmware Version: CC27
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sat Oct  4 14:51:41 2014 UTC

==> WARNING: A firmware update for this drive may be available,
see the following Seagate web pages:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/223651en

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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
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: 		(  584) seconds.
Offline data collection
capabilities: 			 (0x73) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					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: 	 ( 216) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x3085)	SCT Status supported.

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   117   100   006    Pre-fail  Always       -       137940200
  3 Spin_Up_Time            0x0003   096   096   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       70
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   069   060   030    Pre-fail  Always       -       10176061
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       461
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       70
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0 0 0
189 High_Fly_Writes         0x003a   097   097   000    Old_age   Always       -       3
190 Airflow_Temperature_Cel 0x0022   062   053   045    Old_age   Always       -       38 (Min/Max 30/38)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       25
193 Load_Cycle_Count        0x0032   098   098   000    Old_age   Always       -       5805
194 Temperature_Celsius     0x0022   038   047   000    Old_age   Always       -       38 (0 14 0 0 0)
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
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       324h+29m+24.282s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       2234204124
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       14064136828

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


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.
Y a t il un soucis avec les DD ?

Si le rebuilding est en cours, je peux eteindre le nas si je souhaite vérifier les connections des DD ?

Merci par avance

Re: Aide pour smart

Posted: 04 Oct 2014 21:38
by ernie
Rebonsoir,

J'ai lancé un smart long via putty:
smartctl -t long /dev/ada1
idem pour ada2 et ada3.

Dans putty, il m'a été dit que cela serait fini vers 20h30. Mais où trouver les rapports ? Je trouve rien au niveau du webgui dans diagnostic/journal et je sélectionne smart, ni dans diagnostic/information/smart (que le resultat du smart de base il me semble).

Merci par avance.

Re: Aide pour smart

Posted: 04 Oct 2014 22:02
by sleid
Bonjour, dans l'ajout des disques pour le raid 5 avez-vous coché Créer et initialiser le RAID ?

Re: Aide pour smart

Posted: 04 Oct 2014 22:05
by ernie
Oui

Re: Aide pour smart

Posted: 05 Oct 2014 13:46
by ernie
Il semblerait que mon 'High_Fly_Writes' soit élevé et peut être du à des vibrations.
J'ai lu que le fait de faire un raid les disques tournent et fonctionnent sur le même rythme, pouvant amener des vibrations (résonnance).

Comment lutter contre les vibrations ? Des vis en caoutchouc :)

Je suis preneur de conseil sur High_Fly_Writes et sur la lutte contre les vibrations.

Re: Aide pour smart

Posted: 05 Oct 2014 14:06
by lulu80
bonjour,
mon fils a c'est HDD de suspendu dans des baies 5" par des espèces de gros élastique noir il sont dans le vide :)

Re: Aide pour smart

Posted: 05 Oct 2014 14:37
by ernie
Quel type d élastique ?

Car le caoutchouc vieillit avec la température de 40 degré.

Si tu as des références je suis preneur.

Re: Aide pour smart

Posted: 05 Oct 2014 15:02
by lulu80
la référence ? la je sais pas mais je vais regarder de plus près sont truc ;) au début je rigoler de sont boitier mais c'est vrai que coter vibration ben ont entend pas
se petit sifflement des disques :?
mais part contre tu peut mettre des gros joint théorique que l'ont se sert en fonderie(j'étais dans une fonderie) ou dans les chauffage central ? sa doit se trouver dans les grandes surface de bricolage

Re: Aide pour smart

Posted: 05 Oct 2014 15:26
by ernie
Oui et suite à mes recherches, certains ont même utilisé des élastiques à sardine pour le camping :)

Je vais aller faire un tour du coté de mon magazin favori de bricolage

Re: Aide pour smart

Posted: 05 Oct 2014 15:36
by lulu80
ernie wrote:Oui et suite à mes recherches, certains ont même utilisé des élastiques à sardine pour le camping :)

Je vais aller faire un tour du coté de mon magazin favori de bricolage
lol , les élastique de camping ne sont pas assez résistante dans le temps mais les joints théorique pour eaux chaude oui ! vois dans un magasin de chauffage central
en pièces détacher sûr tu doit trouver le bon diamètre ;)
sur les côtés du disque il y a un cornière plastique de vissé avec deux petit crocher donc 4 élastique part disque (le disque il flotte dans l'aire )
sur la toile sa doit se trouver sûr

Re: Aide pour smart

Posted: 05 Oct 2014 21:55
by mtiburs
lulu80 wrote:
mais part contre tu peut mettre des gros joint théorique ...
Excusez moi de rentrer dans la converstaion ... mais ne s'agirait t'il pas de joints toriques ?

Re: Aide pour smart

Posted: 05 Oct 2014 22:06
by mtiburs
si vous tapez "silent bloc pour disques durs" dans un moteur de recherche (genre google), vous trouverez des choses très intéressantes ;)
... et beaucoup mieux que des "joints toriques" qui ne seront pas efficace à cause de la vis

Re: Aide pour smart

Posted: 05 Oct 2014 22:07
by mtiburs

Re: Aide pour smart

Posted: 05 Oct 2014 22:13
by ernie
Merci.

Et pour les baies en 3''5 au cas où vous aillez cela sous la main.

Re: Aide pour smart

Posted: 06 Oct 2014 11:29
by lulu80
mtiburs wrote:si vous tapez "silent bloc pour disques durs" dans un moteur de recherche (genre google), vous trouverez des choses très intéressantes ;)
... et beaucoup mieux que des "joints toriques" qui ne seront pas efficace à cause de la vis
bonjour ,
merci mtiburs pour la correction c'est bien de joints Toriques que je voulais parler :oops:
mais le montage que je vois il ni y a pas de vis entre le chassis de la tour et du Hdd ,une extrémité de l'élastique accroché au HDD et l'autre au chassis de la tour,
le HDD flotte dans les aires .

Re: Aide pour smart

Posted: 08 Oct 2014 22:20
by ernie
Hello

Je profite de ce sujet pour poser la question.

Une fois smart réglé dans nas4free pour se lancer régulièrement, où trouver les rapports ?

De même, est ce que les LOG lies au démon, aux systèmes sont enregistres quelque part ?

Comment enregistrer dans un fichier les résultats de smart ? Les logs ?

Re: Aide pour smart

Posted: 09 Oct 2014 02:01
by mtiburs
Bonjour,

En webgui:
Diagnostic/journal choisir smart

En ligne de commande:
cat /var/log/smartd.log

Re: Aide pour smart

Posted: 09 Oct 2014 05:34
by ernie
Merci

Et dans l onglet diagnostic/journal, il y a des information sur le System. Ou sont elles stockées ?

Re: Aide pour smart

Posted: 09 Oct 2014 08:07
by mtiburs
ernie wrote:MerciEt dans l onglet diagnostic/journal, il y a des information sur le System. Ou sont elles stockées ?
tout est dans /var/log/ et le fichier concerné pour le système est: system.log

Note: de sûr pour l'embedded :|