Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Recovering lost ext4 partition

  1. #11
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Recovering lost ext4 partition

    Re-read post #7 above. Please.

  2. #12
    Join Date
    Dec 2015
    Location
    Mexico City
    Beans
    23
    Distro
    Ubuntu

    Re: Recovering lost ext4 partition

    Result from sudo smartctl -a /dev/sda

    Code:
    sudo smartctl -a  /dev/sda
    [sudo] password for marcoa: 
    smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.15.0-62-generic] (local build)
    Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF INFORMATION SECTION ===
    Model Family:     Toshiba 2.5" HDD MQ01ABD...
    Device Model:     TOSHIBA MQ01ABD100
    Serial Number:    2361P302T
    LU WWN Device Id: 5 000039 49218185d
    Firmware Version: AX001A
    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:   ATA8-ACS (minor revision not indicated)
    SATA Version is:  SATA 2.6, 3.0 Gb/s (current: 3.0 Gb/s)
    Local Time is:    Thu Sep 19 21:06:13 2019 CDT
    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: 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:         (  120) 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:      ( 244) 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   100   100   050    Pre-fail  Always       -       0
      2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
      3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       1664
      4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       5185
      5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
      7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
      8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
      9 Power_On_Hours          0x0032   054   054   000    Old_age   Always       -       18634
     10 Spin_Retry_Count        0x0033   203   100   030    Pre-fail  Always       -       0
     12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       4735
    191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       2199
    192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       258
    193 Load_Cycle_Count        0x0032   096   096   000    Old_age   Always       -       49440
    194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       49 (Min/Max 12/75)
    196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
    197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
    198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
    199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       1
    220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       0
    222 Loaded_Hours            0x0032   057   057   000    Old_age   Always       -       17363
    223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       1
    224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
    226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       188
    240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0
    
    SMART Error Log Version: 1
    ATA Error Count: 2
        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 2 occurred at disk power-on lifetime: 18315 hours (763 days + 3 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 30 b0 9e 61 e6  Error: UNC 48 sectors at LBA = 0x06619eb0 = 107060912
    
      Commands leading to the command that caused the error were:
      CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
      -- -- -- -- -- -- -- --  ----------------  --------------------
      25 00 00 e0 9d 61 e0 00      00:15:27.848  READ DMA EXT
      25 00 00 e0 9c 61 e0 00      00:15:27.847  READ DMA EXT
      25 00 00 e0 9b 61 e0 00      00:15:27.756  READ DMA EXT
      25 00 00 e0 9a 61 e0 00      00:15:27.755  READ DMA EXT
      25 00 00 e0 99 61 e0 00      00:15:27.754  READ DMA EXT
    
    Error 1 occurred at disk power-on lifetime: 17623 hours (734 days + 7 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
      -- -- -- -- -- -- --
      84 41 b8 c7 c3 64 40  Error: ICRC, ABRT at LBA = 0x0064c3c7 = 6603719
    
      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 18 c0 98 ba ca 40 00      00:03:09.518  READ FPDMA QUEUED
      60 00 b8 c8 c2 64 40 00      00:03:09.514  READ FPDMA QUEUED
      60 08 b0 70 94 0b 40 00      00:03:09.514  READ FPDMA QUEUED
      60 08 a8 a0 1f 1d 40 00      00:03:09.514  READ FPDMA QUEUED
      60 08 a0 50 c1 cb 40 00      00:03:09.514  READ FPDMA QUEUED
    
    SMART Self-test log structure revision number 1
    Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
    # 1  Short offline       Completed without error       00%     18629         -
    # 2  Short offline       Completed without error       00%     18624         -
    
    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.
    Best regards,
    Marco Rios, Mexico City
    Lenovo G450 Laptop: UBUNTU 16.04 LTS 64 bits/4GB/Pentium(R) Dual-Core CPU T4400@2.20GHz×2 /Mobile Intel® GM45 Express Chipset

  3. #13
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Recovering lost ext4 partition

    https://kb.acronis.com/content/9181
    G-Sense_Error_Rate - vibration or dropping the HDD. That's a huge number. I've never seen one that high, but none of my HDDs even report that parameter. Google will find explanations for the other values.

    Old_Age and Pre-Fail seem to be the default for all storage. 10 yrs old or 1 month old, it doesn't matter. I just checked about 20 HDDs here, they all say Old_Age and Pre-Fail. Some have been in use over 10 yrs. I have excellent backups, so when they fail, it will be a minor inconvenience. One have more than 10 relocated sectors. Any value over 10 means I need to replace it. It is a 300GB HDD with almost 9 yrs of service. I have 3-4 replacement disks of that age, but not active, around here. They were in a disk array
    Code:
      5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       17
    https://en.wikipedia.org/wiki/S.M.A.....T._attributes has info on the different attributes.

  4. #14
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Recovering lost ext4 partition

    Did you back up partition table with sfdisk & with testdisk restore missing partition as L logical?
    As in post # 6?
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •