LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-30-2022, 06:37 PM   #1
mrokii
LQ Newbie
 
Registered: Mar 2022
Posts: 7

Rep: Reputation: 0
data recovery from a disappeared partition


Hi there,

I have an hdd (platter, not ssd) that got put into read-only state suddenly. After a restart (which I probably shouldn't have done), the drive is shown as containing no partitions. I tried testdisk to find the partition but to no avail. So, I guess I can't use that to recover files to another disk, right?

smartctl shows the drives' information (type and such) but when it comes to smart data these all fail with "input/output error".

I have a spare drive available, so I wondered if it would help to use ddrescue to clone the drive and then to work with the image. I actually started it as a test and let it run for a while, but it showed thousands of read errors in its output.

So, any suggestions what I could try to get that "lost" partition back or access its files to recover them as a whole or selectively would be greatly appreciated.
Tia.
 
Old 03-31-2022, 07:13 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,213

Rep: Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539
Hello, mrokii & welcome to LQ.

99.999% chance your drive is dud.Going on the information you give, it just may be an electronic failure rather than a platter failure.

I had success in the past restoring a Seagate drive replacing the pcb by buying new from the manufacturer. But they were only 15 miles away and electronics and indeed costs were different then. It might be worth a shot.

That aside, the more you mess with it, the worse it gets and the more you waste time. I keep a usb backup disk. Get one.
 
1 members found this post helpful.
Old 03-31-2022, 07:24 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,314

Rep: Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172Reputation: 4172
Quote:
Originally Posted by mrokii View Post
I have a spare drive available, so I wondered if it would help to use ddrescue to clone the drive and then to work with the image. I actually started it as a test and let it run for a while, but it showed thousands of read errors in its output.
Seems you've done the sensible things, but ddrescue is more robust than almost anything else you can get FOSS - if it's not processing the disk, it looks like a lost cause.
 
Old 04-01-2022, 03:28 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,303
Blog Entries: 1

Rep: Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191
Quote:
Originally Posted by mrokii View Post
I have a spare drive available, so I wondered if it would help to use ddrescue to clone the drive and then to work with the image. I actually started it as a test and let it run for a while, but it showed thousands of read errors in its output.
It might succeed in spite of read errors if you give it enough time. A better estimation could follow from us seeing the output from when you tried. Don't get your hopes up too high though.
 
1 members found this post helpful.
Old 04-01-2022, 07:38 AM   #5
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Quote:
Originally Posted by mrokii View Post
So, any suggestions...
Yeah... don't waste time. Just get a new platter, restore your backup to it and - Voila!


Or are you saying you don't do backups?
 
Old 04-01-2022, 12:39 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,370

Rep: Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563
I had a house fire in April, 2016 where I lost my computer, my in-house backup drives, and my wife's Windows computer which was not backed up. All of these had both smoke and heat damage. I still had my off-site backup in my detached garage. The insurance company paid to have all of the damaged items sent to a data recovery company whose contact information I have lost. They recovered all of my wife's files.

The data recovery company recovered substantial parts of each of my hard drives to where I had every file at least twice although some of the recovered copies were up to a month old. Combining those with my garage backups which were 2 days old and 9 days old, I recovered everything up to the date of the fire.

The point of all this is that if your lost data is valuable enough then it may be worth your while to pay a data recovery company to try to recover your files.
 
1 members found this post helpful.
Old 04-02-2022, 02:27 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Step 0: dd the complete drive to a file on a healthy drive with sufficient space, and work on that copy, NOT the physical drive itself.

Quote:
Originally Posted by mrokii View Post
I tried testdisk to find the partition but to no avail. So, I guess I can't use that to recover files to another disk, right?
testdisk/photorec can do MUCH more than find files on partitions.
Please read their wiki, it's not exactly intuitive to use.
 
1 members found this post helpful.
Old 04-02-2022, 03:22 AM   #8
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
For the price of one (1) data recovery service, you can...

- buy a usb/esata docking station

- buy 3 nice 2TB (my preferred size, ymmv) bulk drives

- get a very nice holiday with family for weeks


Morale? HDDs are ridiculously cheap. When you buy one, do get two.
 
Old 04-02-2022, 03:52 AM   #9
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
Blog Entries: 48

Rep: Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580
mrokii,

It all depends on how valuable the data is to you.
Can you simply write it off and make backups in the future or is it vital for it to be recovered?

Before you dig yourself a deeper hole, I would advise finding a reputable, professional data recovery company which has very positive customer feedback such as Essential Data Recovery:

http://www.essentialdatarecovery.co.uk/

http://www.essentialdatarecovery.co....de_drives.html

There are so many charlatans in this line of work, so do proceed carefully.
 
Old 04-03-2022, 07:52 AM   #10
mrokii
LQ Newbie
 
Registered: Mar 2022
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
Hello, mrokii & welcome to LQ.

99.999% chance your drive is dud.Going on the information you give, it just may be an electronic failure rather than a platter failure.

I had success in the past restoring a Seagate drive replacing the pcb by buying new from the manufacturer. But they were only 15 miles away and electronics and indeed costs were different then. It might be worth a shot.

That aside, the more you mess with it, the worse it gets and the more you waste time. I keep a usb backup disk. Get one.
Thanks, that's an interesting take, but replacing the pcb is beyond my capabilities.
 
Old 04-03-2022, 07:53 AM   #11
mrokii
LQ Newbie
 
Registered: Mar 2022
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Jan K. View Post
Yeah... don't waste time. Just get a new platter, restore your backup to it and - Voila!


Or are you saying you don't do backups?
Usually I would say, yes, I do backups. But life during Covid is difficult and my mind has been on a lot of other things than doing a backup. So yeah, the last backup was from about three years ago.
 
Old 04-03-2022, 07:55 AM   #12
mrokii
LQ Newbie
 
Registered: Mar 2022
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrmazda View Post
It might succeed in spite of read errors if you give it enough time. A better estimation could follow from us seeing the output from when you tried. Don't get your hopes up too high though.
I've given up for the moment, might try it again in a few days. But losing so much data (last backup is years old, tbh) has drained my energy further down. Can't bring myself to try that again now, with so little chance of success.
 
Old 04-03-2022, 07:57 AM   #13
mrokii
LQ Newbie
 
Registered: Mar 2022
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jailbait View Post
The point of all this is that if your lost data is valuable enough then it may be worth your while to pay a data recovery company to try to recover your files.
I get what you mean, but that is out of the picture for me at the moment, due to Covid-related money constraints.
 
Old 04-03-2022, 08:00 AM   #14
mrokii
LQ Newbie
 
Registered: Mar 2022
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by beachboy2 View Post
mrokii,

It all depends on how valuable the data is to you.
Can you simply write it off and make backups in the future or is it vital for it to be recovered?
Thanks for the advice. Some of the lost data hurts, but in the end it's not life-threatening or existential to have it back. And I don't have the money at the moment for recovery-services. Thanks for the suggestions though.
 
Old 04-03-2022, 08:01 AM   #15
mrokii
LQ Newbie
 
Registered: Mar 2022
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ondoho View Post
Step 0: dd the complete drive to a file on a healthy drive with sufficient space, and work on that copy, NOT the physical drive itself.


testdisk/photorec can do MUCH more than find files on partitions.
Please read their wiki, it's not exactly intuitive to use.
Thanks for the suggestions, I'll take a look.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 5 Best Data Recovery Tools For Linux To Recover Data Or Deleted Partitions LXer Syndicated Linux News 0 04-18-2015 03:32 PM
Linux rescue disk for data recovery of data on windows laptop with corrupt os Jonjo-k Linux - Newbie 10 01-04-2014 07:00 PM
USB flash disk partition disappeared as well as partition table openmind Linux - Newbie 3 02-17-2011 06:20 PM
[SOLVED] Combining anti-virus + data recovery + image recovery? littlebigman Linux - Software 8 08-12-2010 03:39 AM
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration