Por curiosidade, eu corri GNU ddrescue
em um Um disco rígido Seagate ST1000LM024 HN-M101MBB com setores inválidos conhecidos e, em seguida, visualizei o ddrescue
mapfile com ddrescueview .
Quando ampliei esse padrão interessante apareceu:
Aslacunasverdes(setoresbonscontíguos)sãogeralmente2440setoreslógicos(1249280bytes)grandes,easseçõesvermelhas(setoresruinseprovavelmentedanificadosfisicamente)sãoquasesempre1setorfísico(4setoreslógicos,4096bytes)grandes.
Mantendoessepadrãoemmente,fizumcálculoparaestimarquantossetoresestariamnapista.Odiscorígidogiraem5400rotationsperminute
,ataxadeleiturasustentadanessapartedaunidadeédecercade109mebibytespersecond
(testeiissoemumaunidadedomesmomodelosemsetoresdefeituosos),umafaixagiraemtornode360degrees
eumsetorlógicoé512bytes
.
((109MiB/s / 5400rpm * 360 degrees) / 512 bytes) = 2480
A estimativa mostra que há aproximadamente 2480 setores lógicos na trilha afetada. O padrão acontece a cada 2444 setores lógicos .
Isto sugere que o dano físico se parece com uma tira muito fina que se dirige para dentro praticamente tangente ao círculo do prato. A tira fina cabe em um arco menor que 0.001639°
. Esse dano, seja o que for, parece ser um corte microscópico.
Existem outras características do padrão que não consigo entender.
Porqueosdanosaparecemassim?Oquepoderiacriarumpadrãodedanotãoordenado?
#smartctl-a/dev/sdfsmartctl6.42014-10-07r4002[x86_64-linux-4.3.0-0.bpo.1-amd64](localbuild)Copyright(C)2002-14,BruceAllen,ChristianFranke,www.smartmontools.org===STARTOFINFORMATIONSECTION===ModelFamily:SeagateMomentusSpinPointM8(AF)DeviceModel:ST1000LM024HN-M101MBBSerialNumber:S314J90G121745LUWWNDeviceId:50004cf20f07d081FirmwareVersion:2BA30003UserCapacity:1,000,204,886,016bytes[1.00TB]SectorSizes:512byteslogical,4096bytesphysicalRotationRate:5400rpmFormFactor:2.5inchesDeviceis:Insmartctldatabase[fordetailsuse:-Pshow]ATAVersionis:ATA8-ACST13/1699-Drevision6SATAVersionis:SATA3.0,6.0Gb/s(current:6.0Gb/s)LocalTimeis:SatMar1910:02:272016CDTSMARTsupportis:Available-devicehasSMARTcapability.SMARTsupportis:Enabled===STARTOFREADSMARTDATASECTION===SMARToverall-healthself-assessmenttestresult:PASSEDGeneralSMARTValues:Offlinedatacollectionstatus:(0x00)Offlinedatacollectionactivitywasneverstarted.AutoOfflineDataCollection:Disabled.Self-testexecutionstatus:(121)Thepreviousself-testcompletedhavingthereadelementofthetestfailed.TotaltimetocompleteOfflinedatacollection:(12480)seconds.Offlinedatacollectioncapabilities:(0x5b)SMARTexecuteOfflineimmediate.AutoOfflinedatacollectionon/offsupport.SuspendOfflinecollectionuponnewcommand.Offlinesurfacescansupported.Self-testsupported.NoConveyanceSelf-testsupported.SelectiveSelf-testsupported.SMARTcapabilities:(0x0003)SavesSMARTdatabeforeenteringpower-savingmode.SupportsSMARTautosavetimer.Errorloggingcapability:(0x01)Errorloggingsupported.GeneralPurposeLoggingsupported.Shortself-testroutinerecommendedpollingtime:(2)minutes.Extendedself-testroutinerecommendedpollingtime:(208)minutes.SCTcapabilities:(0x003f)SCTStatussupported.SCTErrorRecoveryControlsupported.SCTFeatureControlsupported.SCTDataTablesupported.SMARTAttributesDataStructurerevisionnumber:16VendorSpecificSMARTAttributeswithThresholds:ID#ATTRIBUTE_NAMEFLAGVALUEWORSTTHRESHTYPEUPDATEDWHEN_FAILEDRAW_VALUE1Raw_Read_Error_Rate0x002f100100051Pre-failAlways-1187222Throughput_Performance0x0026252252000Old_ageAlways-03Spin_Up_Time0x0023092092025Pre-failAlways-24944Start_Stop_Count0x0032100100000Old_ageAlways-965Reallocated_Sector_Ct0x0033252252010Pre-failAlways-07Seek_Error_Rate0x002e252252051Old_ageAlways-08Seek_Time_Performance0x0024252252015Old_ageOffline-09Power_On_Hours0x0032100100000Old_ageAlways-418810Spin_Retry_Count0x0032252252051Old_ageAlways-011Calibration_Retry_Count0x0032100100000Old_ageAlways-2112Power_Cycle_Count0x0032100100000Old_ageAlways-10213Read_Soft_Error_Rate0x003a100100000Old_ageAlways-0181Program_Fail_Cnt_Total0x0022100100000Old_ageAlways-655675191G-Sense_Error_Rate0x0022100100000Old_ageAlways-56192Power-Off_Retract_Count0x0022100100000Old_ageAlways-25193Load_Cycle_Count0x0032089089000Old_ageAlways-111986194Temperature_Celsius0x0002058050000Old_ageAlways-42(Min/Max14/50)195Hardware_ECC_Recovered0x003a100100000Old_ageAlways-0196Reallocated_Event_Count0x0032252252000Old_ageAlways-0197Current_Pending_Sector0x0032037037000Old_ageAlways-10437198Offline_Uncorrectable0x0030252252000Old_ageOffline-0199UDMA_CRC_Error_Count0x0036200200000Old_ageAlways-0200Multi_Zone_Error_Rate0x002a100100000Old_ageAlways-3688240Head_Flying_Hours0x0032100100000Old_ageAlways-4186241Total_LBAs_Written0x0032097094000Old_ageAlways-4770327242Total_LBAs_Read0x0032096094000Old_ageAlways-5931956254Free_Fall_Sensor0x0032252252000Old_ageAlways-0SMARTErrorLogVersion:1Warning:ATAerrorcount13458inconsistentwitherrorlogpointer4ATAErrorCount:13458(devicelogcontainsonlythemostrecentfiveerrors)CR=CommandRegister[HEX]FR=FeaturesRegister[HEX]SC=SectorCountRegister[HEX]SN=SectorNumberRegister[HEX]CL=CylinderLowRegister[HEX]CH=CylinderHighRegister[HEX]DH=Device/HeadRegister[HEX]DC=DeviceCommandRegister[HEX]ER=Errorregister[HEX]ST=Statusregister[HEX]Powered_Up_Timeismeasuredfrompoweron,andprintedasDDd+hh:mm:SS.ssswhereDD=days,hh=hours,mm=minutes,SS=sec,andsss=millisec.It"wraps" after 49.710 days.
Error 13458 occurred at disk power-on lifetime: 4188 hours (174 days + 12 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
-- -- -- -- -- -- --
40 51 08 28 ec cb e2 Error: UNC 8 sectors at LBA = 0x02cbec28 = 46918696
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 28 ec cb e2 08 00:02:49.684 READ DMA
b0 d5 01 00 4f c2 00 08 00:02:49.684 SMART READ LOG
ef 10 02 00 00 00 a0 08 00:02:49.684 SET FEATURES [Enable SATA feature]
27 00 00 00 00 00 e0 08 00:02:49.684 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 08 00:02:49.684 IDENTIFY DEVICE
Error 13457 occurred at disk power-on lifetime: 4188 hours (174 days + 12 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
-- -- -- -- -- -- --
40 51 08 28 ec cb e2 Error: UNC 8 sectors at LBA = 0x02cbec28 = 46918696
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 28 ec cb e2 08 00:02:49.681 READ DMA
b0 da 00 00 4f c2 00 08 00:02:49.681 SMART RETURN STATUS
ef 10 02 00 00 00 a0 08 00:02:49.681 SET FEATURES [Enable SATA feature]
27 00 00 00 00 00 e0 08 00:02:49.681 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 08 00:02:49.681 IDENTIFY DEVICE
Error 13456 occurred at disk power-on lifetime: 4188 hours (174 days + 12 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
-- -- -- -- -- -- --
40 51 08 28 ec cb e2 Error: UNC 8 sectors at LBA = 0x02cbec28 = 46918696
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 28 ec cb e2 08 00:02:49.677 READ DMA
b0 d1 01 01 4f c2 00 08 00:02:49.677 SMART READ ATTRIBUTE THRESHOLDS [OBS-4]
ef 10 02 00 00 00 a0 08 00:02:49.677 SET FEATURES [Enable SATA feature]
27 00 00 00 00 00 e0 08 00:02:49.677 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 08 00:02:49.677 IDENTIFY DEVICE
Error 13455 occurred at disk power-on lifetime: 4188 hours (174 days + 12 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
-- -- -- -- -- -- --
40 51 08 28 ec cb e2 Error: UNC 8 sectors at LBA = 0x02cbec28 = 46918696
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 28 ec cb e2 08 00:02:49.674 READ DMA
b0 d0 01 00 4f c2 00 08 00:02:49.674 SMART READ DATA
ef 10 02 00 00 00 a0 08 00:02:49.674 SET FEATURES [Enable SATA feature]
27 00 00 00 00 00 e0 08 00:02:49.674 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 08 00:02:49.674 IDENTIFY DEVICE
Error 13454 occurred at disk power-on lifetime: 4188 hours (174 days + 12 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
-- -- -- -- -- -- --
40 51 08 28 ec cb e2 Error: UNC 8 sectors at LBA = 0x02cbec28 = 46918696
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 28 ec cb e2 08 00:02:49.670 READ DMA
ec 00 01 00 00 00 00 08 00:02:49.670 IDENTIFY DEVICE
ef 10 02 00 00 00 a0 08 00:02:49.670 SET FEATURES [Enable SATA feature]
27 00 00 00 00 00 e0 08 00:02:49.670 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 08 00:02:49.670 IDENTIFY DEVICE
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed: read failure 90% 4101 933752
# 2 Short offline Completed: read failure 90% 4101 933752
# 3 Short offline Completed: read failure 90% 4101 1417744
# 4 Short offline Completed without error 00% 3607 -
# 5 Short offline Completed without error 00% 3002 -
# 6 Short offline Completed without error 00% 2338 -
# 7 Short offline Completed without error 00% 1044 -
# 8 Short offline Completed without error 00% 334 -
# 9 Short offline Completed without error 00% 0 -
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Completed_read_failure [90% left] (0-65535)
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.
ddrescue
mapfile