Re: Zfs e Bootcode

Franco Marchesini <[email protected]> Mon, 13 Mar 2017 14:28:48 +0100
Newsgroups gmane.os.freebsd.italian.esperti
Message-ID <CAP6J_dNT3vPJnaiH7VgCJJ0PDz0FO0WWXNB9HpRgZCeBTd-qLw@mail.gmail.com>
Ciao,

sto' proseguendo con le prove.
Lo smartctl -t long su -dev-ada0 non ha riportato errori.
Per togliermi lo sfizio lo sto' eseguendo su tutti e quattro i dischi.

Ho notato la presenza degli stessi errori sia su /dev/ada0 che /dev/ada1,
che per combinazione sono attaccati a porte sata600,
mentre gli altri due dischi, sempre gemelli, sono attaccati a porte sata300.

Prima c'era una bsd10 ed uno zpool in raidz1.

Adesso ho installato una 11 con due pool,
zpool con i dischi sata300 in mirroring e
zdata con i dischi sata600 in mirroring.

Ho fatto diversi test intensivi con bonnie++ senza riscontrare alcun errore.

Per comodita' di chi e' esperto allego lo smartctl -a dei 4 dischi ad adess=
o:

// =3D=3D=3D=3D=3D=3D /dev/ada0
smartctl -a /dev/ada0
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-RELEASE-p8 amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D
Model Family:     Western Digital Green
Device Model:     WDC WD20EZRX-00D8PB0
Serial Number:    WD-WCC4M2860040
LU WWN Device Id: 5 0014ee 2b4d0b664
Firmware Version: 80.00A80
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Mar 13 14:25:46 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D
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:      ( 249)	Self-test routine in progress...
					90% of test remaining.
Total time to complete Offline
data collection: 		(27360) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 276) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x7035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE
UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail
Always       -       0
  3 Spin_Up_Time            0x0027   175   171   021    Pre-fail
Always       -       4225
  4 Start_Stop_Count        0x0032   100   100   000    Old_age
Always       -       182
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail
Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age
Always       -       0
  9 Power_On_Hours          0x0032   086   086   000    Old_age
Always       -       10750
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age
Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age
Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age
Always       -       182
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age
Always       -       158
193 Load_Cycle_Count        0x0032   001   001   000    Old_age
Always       -       3368155
194 Temperature_Celsius     0x0022   116   107   000    Old_age
Always       -       31
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age
Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age
Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age
Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age
Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age
Offline      -       0

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

Error 11 occurred at disk power-on lifetime: 10695 hours (445 days + 15 hou=
rs)
  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
  -- -- -- -- -- -- --
  04 61 08 50 57 40 42  Device Fault; Error: ABRT at LBA =3D 0x02405750 =3D=
 37771088

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ca 00 08 50 57 40 42 08      00:09:22.108  WRITE DMA
  ca 00 08 50 57 40 42 08      00:09:22.096  WRITE DMA
  ca 00 08 50 57 40 42 08      00:09:22.083  WRITE DMA
  ca 00 08 50 57 40 42 08      00:09:22.055  WRITE DMA
  ca 00 08 50 57 40 42 08      00:09:22.025  WRITE DMA

Error 10 occurred at disk power-on lifetime: 10695 hours (445 days + 15 hou=
rs)
  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
  -- -- -- -- -- -- --
  04 61 08 50 57 40 42  Device Fault; Error: ABRT at LBA =3D 0x02405750 =3D=
 37771088

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ca 00 08 50 57 40 42 08      00:09:22.096  WRITE DMA
  ca 00 08 50 57 40 42 08      00:09:22.083  WRITE DMA
  ca 00 08 50 57 40 42 08      00:09:22.055  WRITE DMA
  ca 00 08 50 57 40 42 08      00:09:22.025  WRITE DMA

Error 9 occurred at disk power-on lifetime: 10695 hours (445 days + 15 hour=
s)
  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
  -- -- -- -- -- -- --
  04 61 08 50 57 40 42  Device Fault; Error: ABRT at LBA =3D 0x02405750 =3D=
 37771088

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ca 00 08 50 57 40 42 08      00:09:22.083  WRITE DMA
  ca 00 08 50 57 40 42 08      00:09:22.055  WRITE DMA
  ca 00 08 50 57 40 42 08      00:09:22.025  WRITE DMA

Error 8 occurred at disk power-on lifetime: 10695 hours (445 days + 15 hour=
s)
  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
  -- -- -- -- -- -- --
  04 61 08 50 57 40 42  Device Fault; Error: ABRT at LBA =3D 0x02405750 =3D=
 37771088

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ca 00 08 50 57 40 42 08      00:09:22.055  WRITE DMA
  ca 00 08 50 57 40 42 08      00:09:22.025  WRITE DMA

Error 7 occurred at disk power-on lifetime: 10695 hours (445 days + 15 hour=
s)
  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
  -- -- -- -- -- -- --
  04 61 08 50 57 40 42  Device Fault; Error: ABRT at LBA =3D 0x02405750 =3D=
 37771088

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ca 00 08 50 57 40 42 08      00:09:22.025  WRITE DMA

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining
LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Aborted by host               90%     10743       =
  -
# 2  Extended offline    Completed without error       00%     10738       =
  -

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.

// =3D=3D=3D=3D /dev/ada1
smartctl -a /dev/ada1
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-RELEASE-p8 amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D
Model Family:     Western Digital Green
Device Model:     WDC WD20EZRX-00D8PB0
Serial Number:    WD-WCC4M2870981
LU WWN Device Id: 5 0014ee 2b4d0c4d6
Firmware Version: 80.00A80
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Mar 13 14:26:37 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D
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:      ( 249)	Self-test routine in progress...
					90% of test remaining.
Total time to complete Offline
data collection: 		(27360) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 276) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x7035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE
UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail
Always       -       0
  3 Spin_Up_Time            0x0027   177   174   021    Pre-fail
Always       -       4116
  4 Start_Stop_Count        0x0032   100   100   000    Old_age
Always       -       184
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail
Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age
Always       -       2
  9 Power_On_Hours          0x0032   086   086   000    Old_age
Always       -       10673
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age
Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age
Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age
Always       -       184
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age
Always       -       160
193 Load_Cycle_Count        0x0032   001   001   000    Old_age
Always       -       3367985
194 Temperature_Celsius     0x0022   116   106   000    Old_age
Always       -       31
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age
Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age
Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age
Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age
Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age
Offline      -       0

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

Error 6 occurred at disk power-on lifetime: 10632 hours (443 days + 0 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
  -- -- -- -- -- -- --
  04 61 00 00 00 00 40  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef aa 00 00 00 00 40 00      00:04:42.054  SET FEATURES [Enable read
look-ahead]
  ef 03 46 00 00 00 40 00      00:04:42.051  SET FEATURES [Set transfer mod=
e]
  ef 03 46 00 00 00 40 00      00:04:42.048  SET FEATURES [Set transfer mod=
e]
  ec 00 00 00 00 00 40 00      00:04:41.952  IDENTIFY DEVICE

Error 5 occurred at disk power-on lifetime: 10632 hours (443 days + 0 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
  -- -- -- -- -- -- --
  04 61 46 00 00 00 40  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 00 00 00 40 00      00:04:42.051  SET FEATURES [Set transfer mod=
e]
  ef 03 46 00 00 00 40 00      00:04:42.048  SET FEATURES [Set transfer mod=
e]
  ec 00 00 00 00 00 40 00      00:04:41.952  IDENTIFY DEVICE

Error 4 occurred at disk power-on lifetime: 10632 hours (443 days + 0 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
  -- -- -- -- -- -- --
  04 61 46 00 00 00 40  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 00 00 00 40 00      00:04:42.048  SET FEATURES [Set transfer mod=
e]
  ec 00 00 00 00 00 40 00      00:04:41.952  IDENTIFY DEVICE

Error 3 occurred at disk power-on lifetime: 10632 hours (443 days + 0 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
  -- -- -- -- -- -- --
  04 61 00 00 00 00 40  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef aa 00 00 00 00 40 00      00:40:29.910  SET FEATURES [Enable read
look-ahead]
  ef 03 46 00 00 00 40 00      00:40:29.903  SET FEATURES [Set transfer mod=
e]
  ef 03 46 00 00 00 40 00      00:40:29.898  SET FEATURES [Set transfer mod=
e]
  ec 00 00 00 00 00 40 00      00:40:29.897  IDENTIFY DEVICE

Error 2 occurred at disk power-on lifetime: 10632 hours (443 days + 0 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
  -- -- -- -- -- -- --
  04 61 46 00 00 00 40  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 00 00 00 40 00      00:40:29.903  SET FEATURES [Set transfer mod=
e]
  ef 03 46 00 00 00 40 00      00:40:29.898  SET FEATURES [Set transfer mod=
e]
  ec 00 00 00 00 00 40 00      00:40:29.897  IDENTIFY DEVICE

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.

// =3D=3D=3D=3D=3D=3D /dev/ada2

smartctl -a /dev/ada2
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-RELEASE-p8 amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D
Model Family:     Western Digital Green
Device Model:     WDC WD20EZRX-00D8PB0
Serial Number:    WD-WCC4M2860043
LU WWN Device Id: 5 0014ee 2b4d0bb75
Firmware Version: 80.00A80
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Mon Mar 13 14:27:09 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D
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:      ( 249)	Self-test routine in progress...
					90% of test remaining.
Total time to complete Offline
data collection: 		(26400) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 266) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x7035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE
UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail
Always       -       0
  3 Spin_Up_Time            0x0027   176   169   021    Pre-fail
Always       -       4166
  4 Start_Stop_Count        0x0032   100   100   000    Old_age
Always       -       182
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail
Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age
Always       -       0
  9 Power_On_Hours          0x0032   086   086   000    Old_age
Always       -       10762
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age
Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age
Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age
Always       -       182
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age
Always       -       157
193 Load_Cycle_Count        0x0032   001   001   000    Old_age
Always       -       3407894
194 Temperature_Celsius     0x0022   114   106   000    Old_age
Always       -       33
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age
Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age
Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age
Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age
Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age
Offline      -       0

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.


// =3D=3D=3D=3D=3D=3D /dev/ada3

smartctl -a /dev/ada3
smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-RELEASE-p8 amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D
Model Family:     Western Digital Green
Device Model:     WDC WD20EZRX-00D8PB0
Serial Number:    WD-WCC4N1107176
LU WWN Device Id: 5 0014ee 2b4d144fa
Firmware Version: 80.00A80
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Mon Mar 13 14:27:38 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D
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:      ( 249)	Self-test routine in progress...
					90% of test remaining.
Total time to complete Offline
data collection: 		(32340) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 325) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x7035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE
UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail
Always       -       0
  3 Spin_Up_Time            0x0027   179   174   021    Pre-fail
Always       -       6050
  4 Start_Stop_Count        0x0032   100   100   000    Old_age
Always       -       181
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail
Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age
Always       -       0
  9 Power_On_Hours          0x0032   086   086   000    Old_age
Always       -       10643
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age
Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age
Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age
Always       -       181
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age
Always       -       156
193 Load_Cycle_Count        0x0032   001   001   000    Old_age
Always       -       3404552
194 Temperature_Celsius     0x0022   119   111   000    Old_age
Always       -       31
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age
Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age
Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age
Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age
Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age
Offline      -       0

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.




Il 13/03/17, Paolo Faustini<[email protected]> ha scritto:
> Il 13/03/2017 12:16, Andrej Sossi ha scritto:
>
>> posso giudicare poco, ma 5 ore mi paiono tante. Potrebbe gi=E0 essere un
>> indizio che ci sia qualcosa che non va.
>
> Infatti: nella mia esperienza (commodity hw) siamo a 1tb per ora, sia
> facendo lo scrub che il resilvering, quindi se il disco ha meno di 5tb,
> e' possibile che nasconda altri errori.
>
> In ogni caso, come dicevo, sia che sia un sistema casaligo che uno in
> produzione (a maggior ragione) meglio indagare, come detto finora.
>
>
>
>
>> Ho letto parecchio riguardo ai sistemi S.M.A.R.T. e sinceramente non mi
>> convincono troppo. Tipicamente stressano i dischi e quindi possono
>> essere la causa di danneggiamenti.
>
> Mah, io mi trovo bene, ma ovviamente YMMV. I particolare lancio il "-t
> long" che rilegge tutto il disco e individua eventuali settori
> difettosi, solo manualmente, e non in automatico su una macchina in
> esercizio (che stia svolgendo le sue funzioni, sia produzione, test o
> altro) per non stressare il disco e/o diminuire il throughoutput. BTW se
> il disco e' piu' usato di tanto, ma non ho capito con quale logica, il
> test viene abortito.
>
>
>
>> Comunque non =E8 detto che il settore danneggiato sia all'inizio.
>
> Come detto e' stata la mia impressione dopo avere letto l' errore
> iniziale ( l' assenza di candidati validi alla formazione del pool),
> personalmente mi soccesse proprio una cosa del genere su un raidz-5:
> persi i settori iniziali di 2 dischi contemporaneamente e relativo
> errore di impossibilita' di riconoscere l' array. Quando ho avuito
> problemi simili "in mezzo al disco" ZFS si e' autocorretto o al massimo
> ha richiesto un resilver.
>
>
>
> Il
>> corrispettivo della tabella di allocazione in ZFS =E8 scritto in un punto
>> arbitrario del disco, c'=E8 ne sono pi=F9 di uno e migrano di posizione =
nel
>> tempo.
>>
>
> Nel mio caso ho immaginato si fossero azzerati i settori relativi al
> partizionamento, posti all' inizio.
>
>
>> Vedendo gli errori su ada0, avrei aggiunto in nuovo disco al pool come
>> clone di quello sospetto e poi avrei testato il disco sospetto su una
>> macchina separata (con badblock, come consigliato sopra). Ovviamente
>> opinione e metodologia personale.
>
> Si', infatti, oramai la ritengo una goodpratice anche su una macchia non
> critica, ammenoche non possa perdere tutto il contenuto delle pool.
>
>
>
> _______________________________________________
> Esperti mailing list
> [email protected]
> http://mailman.gufi.org/mailman/listinfo/esperti
>

_______________________________________________
Esperti mailing list
[email protected]
http://mailman.gufi.org/mailman/listinfo/esperti