Lista pecet@man.lodz.pl
[Lista archiwów] [Inne Listy]

Re: [PECET] Dysk ST1000LM035 i nagły pad, ale dziwny

To: pecet@man.lodz.pl
Subject: Re: [PECET] Dysk ST1000LM035 i nagły pad, ale dziwny
From: Roman Tyczka <romantyczka@hate.you.spammer>
Date: Sat, 13 Nov 2021 09:07:31 +0100
On 12.11.2021 18:22, ptoki wrote:
Najpierw puscic kopie na inny dysk.
Podczas kopiowania wyjdzie czy on naprawde jest w stanie dobrym czy jednak 
glupieje.
Potem ten obraz sobie skopiowac na bok i sprobowac przywrocic partycje. Jest 
troche programow ktore to potrafia.

Obstawiam ze jakims cudem winda nadpisala tablice partycji przy udziale usera 
albo bez.

Albo dysk juz leciwy i sie sektor zerowy odmagnesowal. Zdarza sie czasem.
Mam już fizycznie ten dysk, najpierw spróbowałem zamontować partycję,
jest taki błąd:

~$ sudo mount --verbose /dev/sdd1 /home/roman/storage/ntfs
Corrupt attribute. vcn = 0xa280, num_clusters = 0xa240
ntfs_mapping_pairs_decompress() failed: Błąd wejścia/wyjścia
Failed to load $MFT: Błąd wejścia/wyjścia
Failed to mount '/dev/sdd1': Błąd wejścia/wyjścia
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

Co z tego wynika? Próbować chkdsk na win? Nie ukrywam, że wolałbym pod
linuksem, bo win mam tylko w wirtualce.

Obstawiam hardware problem.
Podepnij, sprobuj zamontowac, zobacz co dmesg -T powie.

Nie czytasz uważnie. Przecież podpiąłem ten dysk i spróbowałem montować, podałem komunikat jaki zwróciło mount.

Obstawiam ze mount troche trwa i dmesg pokaze mase bledow IO.

Nie ma błędów IO. Prawdopodobnie sypnięta jest tylko struktura, chcę ją naprawić, ale nie wiem jakiego narzędzia najlepiej użyć, jedna szkoła mówi, że najlepsze są narzędzia systemowe producenta systemu plików, więc pytam czy warto puścić pod chkdsk. Ale może pod linuksem też jest coś takiego?

A teraz szukam terabajta miejsca, żeby zrobić obraz za pomocą dd przed
eksperymentami.


[..]

Poszperaj po livecd w styly system rescue, tam sa narzedzia do odbudowy 
partycji i filesystemow.

Nie muszę livecd startować, podpiąłem go pod mój system (Linuks) i tylko metodyka i nazwy softu mi są potrzebne.

Moze uszkodzony jest tylko kawalek wiec reszte da sie jakos zgrac.

Zajrzyj tez ponownie w smarta. Moze teraz sie statsy pojawia i bedzie widac w 
jaki sposob pada.

Jak bedzie duzo sektorow do realokacji to dane moga isc sie pasc ale dysk po 
ponownym formacie sie zacznie zachowywac lepiej. Mialem pare takich gdzie 
sektory zdychaly ale po przejechaniu badblocksami  sie ogarnelo i dysk jest 
nadal sprawny.

Ten dysk jest nieważny, ważne są dane, oczywiście ktoś nie robił kopii a ma tam zarówno dokumenty z pracy, bazę swojej działalności, jak i prywatne fotki z wielu lat.


Oto aktualny SMART zrobiony nie przez USB (dysk był w kieszeni) tylko po bezpośrednim podpięciu do SATA:

smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.11.0-40-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Mobile HDD
Device Model:     ST1000LM035-1RK172
Serial Number:    WL1LWFFW
LU WWN Device Id: 5 000c50 0be57dc64
Firmware Version: SBC3
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-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Nov 13 09:05:40 2021 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM level is:     254 (maximum performance)
Rd look-ahead is: Enabled
Write cache is:   Enabled
DSN feature is:   Unavailable
ATA Security is:  Disabled, frozen [SEC2]

=== 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:                (    0) seconds.
Offline data collection
capabilities:                    (0x71) SMART execute Offline immediate.
                                        No Auto Offline data collection 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:        ( 168) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x303d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR--   083   065   006    -    196959232
  3 Spin_Up_Time            PO----   098   098   000    -    0
  4 Start_Stop_Count        -O--CK   097   097   020    -    3747
  5 Reallocated_Sector_Ct   PO--CK   100   100   010    -    0
  7 Seek_Error_Rate         POSR--   064   060   045    -    2305043
9 Power_On_Hours -O--CK 099 099 000 - 938 (166 223 0)
 10 Spin_Retry_Count        PO--C-   100   100   097    -    0
 12 Power_Cycle_Count       -O--CK   097   097   020    -    3738
184 End-to-End_Error        -O--CK   100   100   099    -    0
187 Reported_Uncorrect      -O--CK   100   100   000    -    0
188 Command_Timeout         -O--CK   100   100   000    -    2
189 High_Fly_Writes         -O-RCK   100   100   000    -    0
190 Airflow_Temperature_Cel -O---K 067 054 040 - 33 (Min/Max 20/33)
191 G-Sense_Error_Rate      -O--CK   100   100   000    -    8
192 Power-Off_Retract_Count -O--CK   100   100   000    -    28
193 Load_Cycle_Count        -O--CK   099   099   000    -    3747
194 Temperature_Celsius     -O---K   033   046   000    -    33 (0 14 0 0 0)
197 Current_Pending_Sector  -O--C-   100   100   000    -    0
198 Offline_Uncorrectable   ----C-   100   100   000    -    0
199 UDMA_CRC_Error_Count    -OSRCK   200   200   000    -    0
240 Head_Flying_Hours       ------   100   253   000    -    935 (235 183 0)
241 Total_LBAs_Written      ------   100   253   000    -    883758686
242 Total_LBAs_Read         ------   100   253   000    -    1033970854
254 Free_Fall_Sensor        -O--CK   100   100   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      5  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  NCQ Command Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x24       GPL     R/O    512  Current Device Internal Status Data log
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa1       GPL,SL  VS      24  Device vendor specific log
0xa2       GPL     VS    8160  Device vendor specific log
0xa8       GPL,SL  VS     136  Device vendor specific log
0xa9       GPL,SL  VS       1  Device vendor specific log
0xab       GPL     VS       1  Device vendor specific log
0xb0       GPL     VS    8920  Device vendor specific log
0xbe-0xbf  GPL     VS   65535  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL,SL  VS      16  Device vendor specific log
0xc2       GPL,SL  VS     240  Device vendor specific log
0xc3       GPL,SL  VS       8  Device vendor specific log
0xc4       GPL,SL  VS      24  Device vendor specific log
0xc9       GPL,SL  VS       1  Device vendor specific log
0xca       GPL,SL  VS      16  Device vendor specific log
0xd3       GPL     VS    1920  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (5 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
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.

SCT Status Version:                  3
SCT Version (vendor specific):       522 (0x020a)
Device State:                        Active (0)
Current Temperature:                    33 Celsius
Power Cycle Min/Max Temperature:     20/33 Celsius
Lifetime    Min/Max Temperature:     14/49 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        94 minutes
Min/Max recommended Temperature:      1/61 Celsius
Min/Max Temperature Limit:            2/60 Celsius
Temperature History Size (Index):    128 (74)

Index    Estimated Time   Temperature Celsius
  75    2021-11-05 01:56     ?  -
  76    2021-11-05 03:30    31  ************
  77    2021-11-05 05:04     ?  -
  78    2021-11-05 06:38    31  ************
  79    2021-11-05 08:12     ?  -
  80    2021-11-05 09:46    34  ***************
  81    2021-11-05 11:20     ?  -
  82    2021-11-05 12:54    22  ***
  83    2021-11-05 14:28     ?  -
  84    2021-11-05 16:02    22  ***
  85    2021-11-05 17:36     ?  -
  86    2021-11-05 19:10    31  ************
  87    2021-11-05 20:44     ?  -
  88    2021-11-05 22:18    33  **************
  89    2021-11-05 23:52     ?  -
  90    2021-11-06 01:26    25  ******
  91    2021-11-06 03:00     ?  -
  92    2021-11-06 04:34    25  ******
  93    2021-11-06 06:08     ?  -
  94    2021-11-06 07:42    23  ****
  95    2021-11-06 09:16     ?  -
  96    2021-11-06 10:50    27  ********
  97    2021-11-06 12:24    35  ****************
  98    2021-11-06 13:58     ?  -
  99    2021-11-06 15:32    25  ******
 100    2021-11-06 17:06     ?  -
 101    2021-11-06 18:40    26  *******
 102    2021-11-06 20:14    35  ****************
 103    2021-11-06 21:48     ?  -
 104    2021-11-06 23:22    21  **
 105    2021-11-07 00:56     ?  -
 106    2021-11-07 02:30    21  **
 107    2021-11-07 04:04     ?  -
 108    2021-11-07 05:38    22  ***
 109    2021-11-07 07:12     ?  -
 110    2021-11-07 08:46    22  ***
 111    2021-11-07 10:20     ?  -
 112    2021-11-07 11:54    25  ******
 113    2021-11-07 13:28     ?  -
 114    2021-11-07 15:02    30  ***********
 115    2021-11-07 16:36     ?  -
 116    2021-11-07 18:10    33  **************
 117    2021-11-07 19:44     ?  -
 118    2021-11-07 21:18    21  **
 119    2021-11-07 22:52     ?  -
 120    2021-11-08 00:26    22  ***
 121    2021-11-08 02:00     ?  -
 122    2021-11-08 03:34    24  *****
 123    2021-11-08 05:08     ?  -
 124    2021-11-08 06:42    25  ******
 125    2021-11-08 08:16     ?  -
 126    2021-11-08 09:50    22  ***
 127    2021-11-08 11:24     ?  -
   0    2021-11-08 12:58    24  *****
   1    2021-11-08 14:32     ?  -
   2    2021-11-08 16:06    28  *********
   3    2021-11-08 17:40     ?  -
   4    2021-11-08 19:14    26  *******
   5    2021-11-08 20:48     ?  -
   6    2021-11-08 22:22    29  **********
   7    2021-11-08 23:56     ?  -
   8    2021-11-09 01:30    20  *
   9    2021-11-09 03:04     ?  -
  10    2021-11-09 04:38    21  **
  11    2021-11-09 06:12     ?  -
  12    2021-11-09 07:46    32  *************
  13    2021-11-09 09:20     ?  -
  14    2021-11-09 10:54    25  ******
  15    2021-11-09 12:28     ?  -
  16    2021-11-09 14:02    25  ******
  17    2021-11-09 15:36     ?  -
  18    2021-11-09 17:10    25  ******
  19    2021-11-09 18:44     ?  -
  20    2021-11-09 20:18    29  **********
  21    2021-11-09 21:52     ?  -
  22    2021-11-09 23:26    32  *************
  23    2021-11-10 01:00     ?  -
  24    2021-11-10 02:34    28  *********
  25    2021-11-10 04:08     ?  -
  26    2021-11-10 05:42    26  *******
  27    2021-11-10 07:16     ?  -
  28    2021-11-10 08:50    21  **
  29    2021-11-10 10:24     ?  -
  30    2021-11-10 11:58    14  -
  31    2021-11-10 13:32     ?  -
  32    2021-11-10 15:06    15  -
  33    2021-11-10 16:40     ?  -
  34    2021-11-10 18:14    23  ****
  35    2021-11-10 19:48     ?  -
  36    2021-11-10 21:22    31  ************
  37    2021-11-10 22:56     ?  -
  38    2021-11-11 00:30    25  ******
  39    2021-11-11 02:04     ?  -
  40    2021-11-11 03:38    32  *************
  41    2021-11-11 05:12     ?  -
  42    2021-11-11 06:46    32  *************
  43    2021-11-11 08:20     ?  -
  44    2021-11-11 09:54    32  *************
  45    2021-11-11 11:28     ?  -
  46    2021-11-11 13:02    33  **************
  47    2021-11-11 14:36     ?  -
  48    2021-11-11 16:10    32  *************
  49    2021-11-11 17:44     ?  -
  50    2021-11-11 19:18    31  ************
  51    2021-11-11 20:52     ?  -
  52    2021-11-11 22:26    32  *************
  53    2021-11-12 00:00     ?  -
  54    2021-11-12 01:34    31  ************
  55    2021-11-12 03:08     ?  -
  56    2021-11-12 04:42    38  *******************
  57    2021-11-12 06:16     ?  -
  58    2021-11-12 07:50    36  *****************
  59    2021-11-12 09:24     ?  -
  60    2021-11-12 10:58    36  *****************
  61    2021-11-12 12:32     ?  -
  62    2021-11-12 14:06    32  *************
  63    2021-11-12 15:40     ?  -
  64    2021-11-12 17:14    21  **
  65    2021-11-12 18:48     ?  -
  66    2021-11-12 20:22    23  ****
  67    2021-11-12 21:56     ?  -
  68    2021-11-12 23:30    24  *****
  69    2021-11-13 01:04    29  **********
  70    2021-11-13 02:38    29  **********
  71    2021-11-13 04:12    29  **********
  72    2021-11-13 05:46    35  ****************
  73    2021-11-13 07:20     ?  -
  74    2021-11-13 08:54    20  *

SCT Error Recovery Control:
           Read: Disabled
          Write: Disabled

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 1) ==
0x01  0x008  4            3738  ---  Lifetime Power-On Resets
0x01  0x010  4             938  ---  Power-on Hours
0x01  0x018  6       883759550  ---  Logical Sectors Written
0x01  0x020  6         2847066  ---  Number of Write Commands
0x01  0x028  6      1033986060  ---  Logical Sectors Read
0x01  0x030  6         5836049  ---  Number of Read Commands
0x01  0x038  6               -  ---  Date and Time TimeStamp
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4             934  ---  Spindle Motor Power-on Hours
0x03  0x010  4             934  ---  Head Flying Hours
0x03  0x018  4            3747  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4               0  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x03 0x038 4 0 --- Number of Realloc. Candidate Logical Sectors
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04 0x010 4 2 --- Resets Between Cmd Acceptance and Completion
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x000a  2            3  Device-to-host register FISes sent due to a COMRESET
0x0001  2            0  Command failed due to ICRC error
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS

--
pzdr
Roman

<Pop. w Wątku] Aktualny Wątek [Nast. w Wątku>