Error when "List and copy files"

How to use TestDisk to recover lost partition
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
Lelle99
Posts: 6
Joined: 15 Feb 2022, 20:37

Error when "List and copy files"

#1 Post by Lelle99 »

I really messed up my external ssd.
Disk management says raw.
When trying to "List and copy files", nothing recovered, only error.

Any chance that I can recover any files?


Stuff from the log:

Partition table type (auto): Intel
Disk \\.\PhysicalDrive1 - 1000 GB / 931 GiB - PNY PNY PRO ELITE PS
Partition table type: Intel

Analyse Disk \\.\PhysicalDrive1 - 1000 GB / 931 GiB - CHS 121599 255 63
Geometry from i386 MBR: head=255 sector=63
Current partition structure:
1 * HPFS - NTFS 0 32 33 121599 112 49 1953492992

search_part()
Disk \\.\PhysicalDrive1 - 1000 GB / 931 GiB - CHS 121599 255 63
HPFS - NTFS 0 32 33 121599 112 49 1953492992
exFAT, blocksize=262144, 1000 GB / 931 GiB

Results
* HPFS - NTFS 0 32 33 121599 112 49 1953492992
exFAT, blocksize=262144, 1000 GB / 931 GiB

interface_write()
1 * HPFS - NTFS 0 32 33 121599 112 49 1953492992


interface_write()
1 * HPFS - NTFS 0 32 33 121599 112 49 1953492992
Failed to startup volume: Invalid argument.
Failed to startup volume: Invalid argument.

1 * HPFS - NTFS 0 32 33 121599 112 49 1953492992
exFAT, blocksize=262144, 1000 GB / 931 GiB
exfat_ucstoutf8: iconv failed Invalid or incomplete multibyte or wide character

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

Re: Error when "List and copy files"

#2 Post by recuperation »

Try to duplicate your possibly broken drive as described in the manual.

Before doing so it is always revealing what your drive SMART parameters tell you:
viewtopic.php?f=5&t=10910
Lelle99
Posts: 6
Joined: 15 Feb 2022, 20:37

Re: Error when "List and copy files"

#3 Post by Lelle99 »

Hi

When you say "duplicate" what exactly do you mean and in which manual?
Here https://www.cgsecurity.org/testdisk.pdf ?
You mean I should create a disk image?

This is report from Smartmontools. Please comment if it contains something useful

Device Model: PNY PRO ELITE PSSD
Firmware Version: CS206P13
User Capacity: 500 107 862 016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
TRIM Command: Available
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
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: (65535) seconds.
Offline data collection
capabilities: (0x79) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 30) minutes.
Conveyance self-test routine
recommended polling time: ( 6) minutes.

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
9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 4258
12 Power_Cycle_Count 0x0012 100 100 000 Old_age Always - 21
168 Unknown_Attribute 0x0012 100 100 000 Old_age Always - 0
170 Unknown_Attribute 0x0003 100 100 010 Pre-fail Always - 151
173 Unknown_Attribute 0x0012 100 100 000 Old_age Always - 65538
192 Power-Off_Retract_Count 0x0012 100 100 000 Old_age Always - 18
194 Temperature_Celsius 0x0023 067 067 000 Pre-fail Always - 33 (Min/Max 33/33)
218 Unknown_Attribute 0x000b 100 100 050 Pre-fail Always - 0
231 Unknown_SSD_Attribute 0x0013 100 100 000 Pre-fail Always - 99
241 Total_LBAs_Written 0x0012 100 100 000 Old_age Always - 560

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 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.
recuperation
Posts: 3026
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Error when "List and copy files"

#4 Post by recuperation »

Lelle99 wrote: 16 Feb 2022, 11:45 Hi

When you say "duplicate" what exactly do you mean and in which manual?
Here https://www.cgsecurity.org/testdisk.pdf ?
You mean I should create a disk image?
Yes.

This is report from Smartmontools. Please comment if it contains something useful
Could you update your smartmontools-database and repost the file again?
Hopefully that will label the unknown attributes!
Lelle99
Posts: 6
Joined: 15 Feb 2022, 20:37

Re: Error when "List and copy files"

#5 Post by Lelle99 »

Hi

I found a script: update-smart-drivedb.ps1
This is what I get after running the script and then create report:

Device is: Not in smartctl database 7.3/5301

I will try to find time today to do the image
Lelle99
Posts: 6
Joined: 15 Feb 2022, 20:37

Re: Error when "List and copy files"

#6 Post by Lelle99 »

Hi
I couldn't find anything in the manual about how to create an image.
But I found it in the application.
Its been working 8h now and has reached 0.7%. This is of course taking too long.

Should we work on the original disk instead?
What is the next step?

Br
Lelle99
Posts: 6
Joined: 15 Feb 2022, 20:37

Re: Error when "List and copy files"

#7 Post by Lelle99 »

Hi

Image creation failed.
Image file is 50 MB.

The log is 8 MB full of this:
file_win32_pread(536,1,buffer,4776192(297/77/37)) read err: read after end of file

Please suggest next step
recuperation
Posts: 3026
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Error when "List and copy files"

#8 Post by recuperation »

Lelle99 wrote: 17 Feb 2022, 08:08 Hi
I couldn't find anything in the manual about how to create an image.
May I kindly ask you to really read the manual? :roll:
Seriously reading the table of contents should set you on the right track.
It is kind of sad being faced with this type of problems.
But I found it in the application.
Its been working 8h now and has reached 0.7%. This is of course taking too long.
The function in Testdisk is not suitable for your purpose and has stressed your drive for an additional 8 hours with virtually no outcome.
Should we work on the original disk instead?
What is the next step?
You should read the manual instead and it is not required to read it entirely.
Lelle99
Posts: 6
Joined: 15 Feb 2022, 20:37

Re: Error when "List and copy files"

#9 Post by Lelle99 »

Hi
Yes you mean ddrescue

I started it and just let it be.
Checking it now. It is stuck:
Current rate: 0 B/s
Non-tried: 1000 GB
Bad sector: 512 B
Time since last successful reads: 3d etc

The manual says "If the main boot sector is damaged, the filesystem is listed as raw or unreadable"
So next step is "7.4 Repairing FAT32, exFAT and NTFS boot sector using TestDisk",
Is this correct?

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

Re: Error when "List and copy files"

#10 Post by recuperation »

Lelle99 wrote: 21 Feb 2022, 16:04 Hi
Yes you mean ddrescue

I started it and just let it be.
Checking it now. It is stuck:
Current rate: 0 B/s
Non-tried: 1000 GB
Bad sector: 512 B
Time since last successful reads: 3d etc

The manual says "If the main boot sector is damaged, the filesystem is listed as raw or unreadable"
So next step is "7.4 Repairing FAT32, exFAT and NTFS boot sector using TestDisk",
Is this correct?

Br
No, this is not the next step.

Did you run ddrescue with admin rights?
ddrescue tries to jump over defective areas. If it didn't recover a single sector you should contact a professional recovery service.
Unfortunately you did not post a screenshot of the overview screen of ddrescue.
Locked