ddrescue를 사용하여 2012년 macbook pro 결함 디스크를 복구해 보세요.

ddrescue를 사용하여 2012년 macbook pro 결함 디스크를 복구해 보세요.

Macintosh HD 디스크에 갑자기 오류가 발생했습니다(시스템이 더 이상 부팅할 수 없습니다. diskutil이 B-트리 문제에 대해 불평했습니다. 과거에 다양한 diskutil 명령을 시도했지만 성공하지 못했습니다). ddrescue를 사용하여 복구하려면(현재는 Linux 기반 컴퓨터만 사용하고 있습니다) - 다음 명령을 사용하세요.

ddrescue -f -r0 -n -d /dev/sdc /storage/macos.img /storage/macos_recovery.log

오랜 시간이 흐른 끝에 오늘 처리가 종료되어 매우 실망스러운 결과가 나왔습니다. 구조하다 이것은 2012 MacBook에 장착된 기본 500GB HDD HFS+ 디스크입니다. 첫 번째 줄에서는 모든 것이 거의 잘 작동하므로 거기에 몇 가지 중요한 파일을 저장할 수 있을 것 같습니다(보통 100kb 미만이므로 희망이 있을까요?). img 파일에서 시도한 내용은 다음과 같습니다.

1 - 사진을 찍으려고 했는데 쓸모없는 txt 파일 외에는 아무것도 찾을 수 없었습니다.

2 - testdisk를 사용해 보았습니다. 분할되지 않은 디스크가 보고되었고(어차피 EFI GPT로 설정했습니다) 모든 곳에서 임의의 HFS+ 파티션이 발견되었습니다.

3 - 현재 gparted 파티션 복구를 시도 중입니다.

내 질문은 다음과 같습니다.

  • 디스크는 500GB이고 출력 img 파일은 931G입니다. 어떻게 이럴 수있어?
  • 이러한 손상 패턴의 원인은 무엇입니까? 나는 stackX 사이트에서 다양한 패턴을 본 적이 있지만(보통 선형 - 디스크 긁힘과 같은), 이와 같은 규칙적인 파도는 본 적이 없습니다. 이 문제가 해결될 수 있나요?
  • 파티션 맵을 수동으로 재구축할 수 있도록 2012 맥북 디스크에 대한 원본 정보를 어디서 찾을 수 있습니까(예: 복구 HD/Macintosh HD 파티션이 시작/끝나는 위치에 대한 정보)?

    • 혼란에서 회복하는 방법에 대한 다른 아이디어가 있습니까?

감사합니다!

편집 - smartctl -a의 출력

smartctl 7.0 2018-12-30 r4883 [x86_64-linux-5.3.6-xanmod5] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi/HGST Travelstar 5K750
Device Model:     APPLE HDD HTS547550A9E384
Serial Number:    J2260051KWP00D
LU WWN Device Id: 5 000cca 641f6db5d
Firmware Version: JE3AD70F
User Capacity:    500 107 862 016 bytes [500 GB]
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:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Sun Oct 27 09:14:48 2019 EDT
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:      (   0) The previous self-test routine completed
                    without error or no self-test has ever 
                    been run.
Total time to complete Offline 
data collection:        (   45) seconds.
Offline data collection
capabilities:            (0x5b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    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:    ( 139) 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     0x000b   049   049   062    Pre-fail  Always   FAILING_NOW 625027130
  2 Throughput_Performance  0x0005   100   100   040    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0007   176   176   033    Pre-fail  Always       -       1
  4 Start_Stop_Count        0x0012   091   091   000    Old_age   Always       -       14740
  5 Reallocated_Sector_Ct   0x0033   001   001   005    Pre-fail  Always   FAILING_NOW 597
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   040    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   077   077   000    Old_age   Always       -       10420
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   092   092   000    Old_age   Always       -       13180
160 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
191 G-Sense_Error_Rate      0x000a   095   095   000    Old_age   Always       -       65545
192 Power-Off_Retract_Count 0x0032   096   096   000    Old_age   Always       -       3813930958943
193 Load_Cycle_Count        0x0012   019   019   000    Old_age   Always       -       810746
194 Temperature_Celsius     0x0002   222   222   000    Old_age   Always       -       27 (Min/Max 4/46)
195 Hardware_ECC_Recovered  0x000a   100   100   000    Old_age   Always       -       0
196 Reallocated_Event_Count 0x0032   050   050   000    Old_age   Always       -       1351
197 Current_Pending_Sector  0x0022   001   001   000    Old_age   Always       -       58752
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0
223 Load_Retry_Count        0x000a   100   100   000    Old_age   Always       -       0
254 Free_Fall_Sensor        0x0032   036   036   000    Old_age   Always       -       8589951106

SMART Error Log Version: 1
Warning: ATA error count 65535 inconsistent with error log pointer 4

ATA Error Count: 65535 (device log contains only the most recent five errors)
    CR = Command Register [HEX]
    FR = Features Register [HEX]
    SC = Sector Count Register [HEX]
    SN = Sector Number Register [HEX]
    CL = Cylinder Low Register [HEX]
    CH = Cylinder High Register [HEX]
    DH = Device/Head Register [HEX]
    DC = Device Command Register [HEX]
    ER = Error register [HEX]
    ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 65535 occurred at disk power-on lifetime: 10410 hours (433 days + 18 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 38 e8 1c 00  Error: UNC at LBA = 0x001ce838 = 1894456

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 08 58 38 e8 1c 40 00   1d+22:15:55.577  READ FPDMA QUEUED
  ef 10 02 00 00 00 a0 00   1d+22:15:55.576  SET FEATURES [Enable SATA feature]
  27 00 00 00 00 00 e0 00   1d+22:15:55.576  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00   1d+22:15:55.573  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00   1d+22:15:55.573  SET FEATURES [Set transfer mode]

Error 65534 occurred at disk power-on lifetime: 10410 hours (433 days + 18 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 38 e8 1c 00  Error: UNC at LBA = 0x001ce838 = 1894456

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 08 80 38 e8 1c 40 00   1d+22:15:55.186  READ FPDMA QUEUED
  ef 10 02 00 00 00 a0 00   1d+22:15:55.186  SET FEATURES [Enable SATA feature]
  27 00 00 00 00 00 e0 00   1d+22:15:55.186  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00   1d+22:15:55.183  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00   1d+22:15:55.183  SET FEATURES [Set transfer mode]

Error 65533 occurred at disk power-on lifetime: 10410 hours (433 days + 18 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 10 38 e8 1c 00  Error: UNC at LBA = 0x001ce838 = 1894456

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 10 48 38 e8 1c 40 00   1d+22:15:54.805  READ FPDMA QUEUED
  60 00 38 28 3c 84 40 00   1d+22:15:54.799  READ FPDMA QUEUED
  60 00 30 28 3a 84 40 00   1d+22:15:54.765  READ FPDMA QUEUED
  60 f8 28 30 42 06 40 00   1d+22:15:54.762  READ FPDMA QUEUED
  60 f8 20 30 41 06 40 00   1d+22:15:54.760  READ FPDMA QUEUED

Error 65532 occurred at disk power-on lifetime: 10410 hours (433 days + 18 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 38 e8 1c 00  Error: UNC at LBA = 0x001ce838 = 1894456

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 08 98 38 e8 1c 40 00   1d+22:14:48.581  READ FPDMA QUEUED
  ef 10 02 00 00 00 a0 00   1d+22:14:48.580  SET FEATURES [Enable SATA feature]
  27 00 00 00 00 00 e0 00   1d+22:14:48.580  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00   1d+22:14:48.577  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00   1d+22:14:48.576  SET FEATURES [Set transfer mode]

Error 65531 occurred at disk power-on lifetime: 10410 hours (433 days + 18 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 10 38 e8 1c 00  Error: UNC at LBA = 0x001ce838 = 1894456

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 10 28 38 e8 1c 40 00   1d+22:14:48.189  READ FPDMA QUEUED
  60 00 20 28 3c 84 40 00   1d+22:14:48.183  READ FPDMA QUEUED
  60 00 f0 28 3a 84 40 00   1d+22:14:48.150  READ FPDMA QUEUED
  60 f8 e8 30 42 06 40 00   1d+22:14:48.147  READ FPDMA QUEUED
  60 f8 e0 30 41 06 40 00   1d+22:14:48.145  READ FPDMA QUEUED

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

하드 드라이브가 녹색 섹션(양호 섹터)에서는 소음 없이 완벽하게 작동하는 것을 확인했지만, 불량 섹터에서 이상한 소음이 발생하기 시작했습니다(반복적으로 낮고 조용한 노크 소리 및 일부 높은 음조의 "오래된 하드 드라이브" "읽기) ) 소음). 어제 디스크를 열어보니 헤드가 정지 위치로 돌아가서 탑플레이트가 완벽해 보이네요. 불타거나 옮겨진 것은 없는 것 같습니다. 이 소음이 어디서 나오는지 아시나요?

관련 정보