Disk in RAW

Using TestDisk to repair the filesystem
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
hipoagu
Posts: 4
Joined: 03 Dec 2021, 12:50

Disk in RAW

#1 Post by hipoagu »

Hello,

My external hard drive enclosure broke down (connector) and after connecting my HD to a new enclosure Windows doesn't detect my drive anymore, it says it is RAW and ask for formatting, I didn't format.
In the Disk Management apparently there are 2 partitions, I can't actually remember having 2...but 1...
I downloaded and used TestDisk 7.2 Beta without success for now.
I followed 2 approaches in the User manual :
1) RECOVERING DELETED PARTITION USING TESTDISK
I followed all steps and apparently 2 partitions are there but i got nothing after step 9.6: Quick Search of partitions (which is nothing but quick, it took like 8h)

2)TestDisk: Repairing NTFS boot sector
start testdisk
• select the device containing the partition (avoid drive letter like D:)
• confirm the partition table type
• go in the Advanced menu
• select the NTFS partition
• choose Boot
• select RebuildBS -> after this step nothing appeared, I would not choose "List" as stated in de user manual 7.6 section


Need help!

Thanks so much in advance

recuperation
Posts: 2721
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Disk in RAW

#2 Post by recuperation »

hipoagu wrote: 03 Dec 2021, 13:03 Hello,

My external hard drive enclosure broke down (connector) and after connecting my HD to a new enclosure Windows doesn't detect my drive anymore, it says it is RAW and ask for formatting, I didn't format.
So far breaking connectors of external housings have not been observed in the wild. I rather suspected a driven fallen to the ground.
Check your SMART parameters as described here and post the log file:
viewtopic.php?f=5&t=10910

Was that you putting your hard disk into the old housing that broke down?
Or did you rather buy the combo housing/drive and left out some internal adapters when putting the old drive in a new housing?

Post your Testdisk log file and pictures, if possible.

hipoagu
Posts: 4
Joined: 03 Dec 2021, 12:50

Re: Disk in RAW

#3 Post by hipoagu »

Hello,
What broke down was the USB port on the old enclosure. When i realized the external HDD drive was just off, did not receive power due to broken connection.
I bough a new enclosure and connected the drive just fine and windows detects unformated RAW as 2 partitions 115GB/815GB...i am 99% sure i just had 1 partition....probably 815GB was what was occupied by my data (photos, music...things i would like to recover :( )

I ran smartctl -a -d sat,12 /dev/sde > myreport.txt

smartctl 7.2 2020-12-30 r5155 [x86_64-w64-mingw32-w10-20H2] (sf-7.2-1)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sde [SAT] failed: \\.\PhysicalDrive4: Open failed, Error=2

also
smartctl -a -d sat,12 /dev/sdf > myreport_f.txt

smartctl 7.2 2020-12-30 r5155 [x86_64-w64-mingw32-w10-20H2] (sf-7.2-1)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdf [SAT] failed: \\.\PhysicalDrive5: Open failed, Error=2

The disk is now presented in 2 drives, E: and F:, both of them inaccessible by Windows.
Attachments
2021-12-03_12-54-48.png
2021-12-03_12-54-48.png (6.4 KiB) Viewed 6150 times

recuperation
Posts: 2721
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Disk in RAW

#4 Post by recuperation »

You can try out the other variations of paramter -d with the smartctl command.
If that fails you connect the drive internally to a computer you would not need the -d parameter anymore.

You should post your testdisk logfile as well.
Depending on the outcome of smartmontools you might rather duplicate the drive instead of putting it unter the stress of an 8h run of partition searching.

hipoagu
Posts: 4
Joined: 03 Dec 2021, 12:50

Re: Disk in RAW

#5 Post by hipoagu »

Thanks.

Got it running using directly drive letter of both partitions (D: and E: currently).
Both of course gave same result as they are in same disk

Find attached the smartmontools result

smartctl 7.2 2020-12-30 r5155 [x86_64-w64-mingw32-w10-1909] (sf-7.2-1)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: SAMSUNG SpinPoint M8 (AF)
Device Model: SAMSUNG HN-M101MBB
Serial Number: S2R8J9BB616748
LU WWN Device Id: 5 0024e9 20582977a
Firmware Version: 2AR10001
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Size: 512 bytes logical/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 3.0, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Fri Dec 03 22:00:25 2021 RST
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: (13500) 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: ( 225) minutes.
SCT capabilities: (0x003f) 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 100 100 051 Pre-fail Always - 4566
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 089 080 025 Pre-fail Always - 3457
4 Start_Stop_Count 0x0032 074 074 000 Old_age Always - 26624
5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 11161
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 770
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 305
181 Program_Fail_Cnt_Total 0x0022 100 100 000 Old_age Always - 6
191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 4907
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 051 047 000 Old_age Always - 49 (Min/Max 21/53)
195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 10
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 899
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 770
225 Load_Cycle_Count 0x0032 057 057 000 Old_age Always - 434345

SMART Error Log Version: 1
No Errors Logged

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 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 [00% 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.

recuperation
Posts: 2721
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Disk in RAW

#6 Post by recuperation »

hipoagu wrote: 03 Dec 2021, 22:01 Got it running using directly drive letter of both partitions (D: and E: currently).
Both of course gave same result as they are in same disk
I am not aware that the windows version allows for using a drive letter to designate the drive. smartctl is drive-specific and not partition-specific.

ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 4566
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 089 080 025 Pre-fail Always - 3457
4 Start_Stop_Count 0x0032 074 074 000 Old_age Always - 26624
5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 11161
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 770 looks dangerous, don't know
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 305
181 Program_Fail_Cnt_Total 0x0022 100 100 000 Old_age Always - 6
191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 4907
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 051 047 000 Old_age Always - 49 (Min/Max 21/53)drive running too hot, reduces drive life expectance
195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 10 already 10 unreadable sectors, drive is dying, duplicate drive using ddrescue as described in the manual
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 899 looks dangerous, don't know
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 770
225 Load_Cycle_Count 0x0032 057 057 000 Old_age Always - 5 43434 after running for a total time of 1,x years the heads of your drive seem to have been parked too often

hipoagu
Posts: 4
Joined: 03 Dec 2021, 12:50

Re: Disk in RAW

#7 Post by hipoagu »

I am a noob. What next ? it was just a power failure. Partitions and data should be recoverable right? What am i doing wrong?
I followed the Testdisk steps for Boot sector fix and Partition recovery but no readable partition comes up
What is the ddrescue you suggest, where will all drive go to and how to get the data inside afterwards?

(i guess I'lll need a 1TB additional drive?)
Attachments
2021-12-03_15-13-11.png
2021-12-03_15-13-11.png (85.6 KiB) Viewed 6092 times
2021-12-03_15-12-57.png
2021-12-03_15-12-57.png (76.2 KiB) Viewed 6092 times
2021-12-03_19-38-21.png
2021-12-03_19-38-21.png (32.58 KiB) Viewed 6092 times

recuperation
Posts: 2721
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Disk in RAW

#8 Post by recuperation »

hipoagu wrote: 03 Dec 2021, 22:57 I am a noob. What next ? it was just a power failure.
Maybe. But consulting this forum disclosed that your drive is sick.
Partitions and data should be recoverable right?
I never know.
What am i doing wrong?
Assuming that some medecine in Testdisk will heel every hard drive sickness.
I followed the Testdisk steps for Boot sector fix and Partition recovery but no readable partition comes up
What is the ddrescue you suggest,
Finding that out is your homework. I won't explain. I already gave you a hint!!!

where will all drive go to
to the steel recycler

and how to get the data inside afterwards?
Trying using Photorec or third party recovery software.
(i guess I'lll need a 1TB additional drive?)
Yes.

Locked