Re: disk na odchodu?

Josef Krieglstein <[email protected]>
Newsgroups gmane.linux.region.czech
Message-ID <[email protected]>
Dobrý den,

ta vaše řádka ještě nemusí nic znamenat, důležitější je:
197 Current_Pending_Sector  0x0032   100   001   000    Old_age 
Always       -       216
a pak také FAILING_NOW, asi už nemá kam dál realokovat?

spusťte:
badblocks -svw /dev/sdf třeba 3x za sebou a pak pokus opakujte a začněte 
s smartmontools, pokud bude 197 nulové, pak to zkuste i s těmi soubory.

Josef Krieglstein


Dne 11. 4. 2018 v 15:54 jaroslav noví napsal(a):
> Ahoj všem,
>   
> dostal se mi do ruky disk, který měl bý dle vlastníka zamčený, nepoužitelný, vlastně nefunkční.
> Na datech, pokud tam nějaká byla nezáleželo, takže asi nebyla.
> Je to :
>     Model Family:     HGST Travelstar Z5K1000
>     Device Model:     HGST HTS541010A7E630
>   
> Po připojení jsem příkazem: fdisk -l zjistil, že ho můj systém detekoval jako: /dev/sdf
> a našl na něm dva oddíly. Jedem celkme malý, asi 250MB a druhý byl zbytek kapacity disku.
>   
> Připojit šel pouze menší oddíl. Byla na měm nějaká očesaná distrubuce linuxu.
> Druhý oddíl ohlásil při pokusu o připojení chybu, že žádný takový oddíl není. Asi to byl šifrovaný oddíl.
>   
> Když nezáleželo na datech, tak jsem po delším googlení a pak experimentování jsem kombinováním příkazů:
>     dd if=/dev/zero of=/dev/sdf
> a
>     smartctrl -a /dev/sdf
>     smartctrl -t long /dev/sdf
> a
>     hdparm --user-master u --security-set-pass pass /dev/sdf
>     hdparm --user-master u -security-erase pass /dev/sdf
>   
> jsem dosáhl toho, že vidím celou kapacitu disku. Bylo možné vytvořit oddíl, na oddílu vytvořit souborový systém.
>   
> Při pokusu na disk něco zapsat, asi 12GB dat, bylo to video, to trvalo pekelně dlouho, asi 5hodin a nedoadlo to úplně dobře.
> Dva soubory se nezapsaly.
>   
> Po dalších expereimentech jsem zjistil příkazem:
>     smartctrl -a /dev/sdf
> následující:
>   
> === START OF INFORMATION SECTION ===
> Model Family:     HGST Travelstar Z5K1000
> Device Model:     HGST HTS541010A7E630
> Serial Number:    S04001SSH1J75F
> LU WWN Device Id: 5 000cca 756cec8ce
> Firmware Version: SE0OA4A0
> User Capacity:    1 000 204 886 016 bytes [1,00 TB]
> Sector Sizes:     512 bytes logical, 4096 bytes physical
> Rotation Rate:    5400 rpm
> Form Factor:      2.5 inches
> Device is:        In smartctl database [for details use: -P show]
> ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
> SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
> Local Time is:    Wed Apr 11 15:27:24 2018 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: FAILED!
> Drive failure expected in less than 24 hours. SAVE ALL DATA.
> See vendor-specific Attribute list for failed Attributes.
>
> General SMART Values:
> Offline data collection status:  (0x00)    Offline data collection activity
>                      was never started.
>                      Auto Offline Data Collection: Disabled.
> Self-test execution status:      (  73)    The previous self-test completed having
>                      a test element that failed and the test
>                      element that failed is not known.
> Total time to complete Offline
> data collection:         (   45) seconds.
> Offline data collection
> capabilities:              (0x51) SMART execute Offline immediate.
>                      No Auto Offline data collection support.
>                      Suspend Offline collection upon new
>                      command.
>                      No 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:      (   2) minutes.
> Extended self-test routine
> recommended polling time:      ( 218) minutes.
> SCT capabilities:            (0x003d)    SCT Status supported.
>                      SCT Error Recovery Control 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   066   066   062    Pre-fail  Always       -       444727467
>    2 Throughput_Performance  0x0025   100   100   040    Pre-fail  Offline      -       0
>    3 Spin_Up_Time            0x0023   123   100   033    Pre-fail  Always       -       1
>    4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       1458
>    5 Reallocated_Sector_Ct   0x0033   001   001   005    Pre-fail  Always   FAILING_NOW 23688 (0 2461)
>    7 Seek_Error_Rate         0x002f   100   080   067    Pre-fail  Always       -       0
>    8 Seek_Time_Performance   0x0025   100   100   040    Pre-fail  Offline      -       0
>    9 Power_On_Hours          0x0032   090   090   000    Old_age   Always       -       4583
>   10 Spin_Retry_Count        0x0033   100   100   060    Pre-fail  Always       -       0
>   12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1455
> 183 Runtime_Bad_Block       0x0032   100   100   001    Old_age   Always       -       0
> 184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
> 187 Reported_Uncorrect      0x0032   084   001   000    Old_age   Always       -       173701547106033
> 188 Command_Timeout         0x0032   100   099   000    Old_age   Always       -       7451983282181
> 190 Airflow_Temperature_Cel 0x0022   068   052   045    Old_age   Always       -       32 (Min/Max 21/42)
> 191 G-Sense_Error_Rate      0x0032   006   006   000    Old_age   Always       -       24127
> 192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       12910789
> 193 Load_Cycle_Count        0x0032   090   090   000    Old_age   Always       -       108874
> 196 Reallocated_Event_Count 0x0032   001   001   000    Old_age   Always       -       2807
> 197 Current_Pending_Sector  0x0032   100   001   000    Old_age   Always       -       216
> 198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
> 199 UDMA_CRC_Error_Count    0x0036   100   100   000    Old_age   Always       -       0
> 223 Load_Retry_Count        0x002a   100   100   000    Old_age   Always       -       0
>   
>   
> Překvapila mě tahle položka:
> 187 Reported_Uncorrect      0x0032   084   001   000    Old_age   Always       -       173701547106033
>   
> Podle dokumentace by měla být malá. Tohle číslo je všechno, jen ne malé.
> Řekl bych, že tenhle disk to už má skoro za sebou.
>   
> Mám pravdu?
>   
> Díky za názory.
>   
> JN
>   
> _______________________________________________
> Linux mailing list
> [email protected]
> http://www.linux.cz/mailman/listinfo/linux

_______________________________________________
Linux mailing list
[email protected]
http://www.linux.cz/mailman/listinfo/linux
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.