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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-12-2020, 12:40 PM
|
#1
|
Member
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 682
Rep: 
|
Need Help Recovering A BIG Disk Error.
My HDD crashed. I replaced the drive and had to reconstruct the whole system.
I make backups religiously, but one backup is bad.
Apparently, I hadn't shut it down before it was finished doing the backup, and there is a terrible error, that I cannot fix, even though I used alternate superblocks
(yes, I did e2fsck and fsck.ext4)
Does ANYONE have a solution to recover my 2TB backup?
{{PS, I just get my 46 DVD drives of music out to reinstall my music, but I have also lost all my gaming data, and I did keep my pictures/photographs on a Dropbox account, AND all of my passwords are in a paper notebook, so that's good}}
Anyway, thank you for any help.
|
|
|
11-12-2020, 01:50 PM
|
#2
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
So your pictures/photographs and passwords are safe/saved. That part is good.
Reinstalling the music is good, although labor intensive and time consuming.
The gaming data, OTOH, may be totally toasted.
You said the drive crashed, but is it still recognized by the system? In other words, might it be possible to run ddrescue or photorec on it and recover something?
I am afraid you did not say what program/process you used to create the backup so I have no clue how to approach recovery of the backup.
I have my personal data (/home) on a raid6 array so failure of a single drive (or even 2 simultaneously) will not cause loss. I still do backups and verify the backup each time though.
|
|
|
11-12-2020, 02:21 PM
|
#3
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,954
|
Photorec is one which recovers a lot of things, but the caveat I've seen is that it recovers all fragments and makes them some other file name/extension, because it just does the best it can do. The issue there is a fragment of a picture, may have enough to reconstruct what it was, or most of it with maybe a bad section, and if the bad section is in the margins or one spot say in a background, then one can save as an image type and photoshop to clip or copy/paste to fill and blend in so that some spot or edge artifacts do not wreck the photo. Videos recovered are sort of "you get what you get", you get a fragment, or several of them, you can reconstruct, to a limit, or to the limit as to how many fragments you got recovered. Documents, and code, sort of the same thing. Gaming info? Maybe, if the files are ASCII and edit-able, then perhaps you can recover things to a degree. I'm guess/assuming that a lot of that is binary saved data, which is also proprietary for the game. Therefore the only possible thing you may have is to make a copy of any recovered stuff and name it as the saved archive and see if the game recognizes it, then try to re-save in another instance or name, or once the game may say, "Hey, your profile is corrupted ... fixed it", then copy that info elsewhere and see if the next entry into the game doesn't complain. But if there's tons of accomplishment and/or high scores lost, etc, then I do not know what can be done. Sort of you'd need to review how each game saves any progress/accomplishment data and see if you can figure out how to either reconstruct or as described above, figure how to get it to be read, partially if possible. I'm sort of also assuming that accomplishment data for a game is not read-able ascii, otherwise someone could just edit that file and viola become a top level expert all the time.
|
|
|
11-12-2020, 05:09 PM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,383
|
Note my sigline - all of it.
I have never had that problem recovering files with photorec. These days with large extents file fragmentation is almost unknown in the home market. And I suspect game data are pretty small anyway - just guessing, I don't game.
Scanning 2T will take days - and it will only find things it has profiles for; see the website for a list. You might be lucky. If so scan only for what you really want - it makes the subsequent cleanup faster and easier.
|
|
|
11-12-2020, 07:02 PM
|
#5
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,954
|
Quote:
Originally Posted by syg00
Note my sigline - all of it.
I have never had that problem recovering files with photorec.
|
Admittedly, I haven't used Photorec in about 10(?) years, it may work far differently. In fact I've hesitated to recommend it for recovery questions figuring there's got to have been progress and new utilities which exceed it. But invariably when I read those threads, people recommend it.
The other reason why it's been 10+ years is because I subscribe to the mindset of syg00's signature.
|
|
|
11-14-2020, 03:43 AM
|
#7
|
Member
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 682
Original Poster
Rep: 
|
OK, as I am still anticipating a worst scenario, it will take a while to get to your advice.
THANK YOU!!!
|
|
|
11-14-2020, 03:46 AM
|
#8
|
Member
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 682
Original Poster
Rep: 
|
Computersavvy:
Since most {90+%} of my games are on Steam, it has been saved, thankfully
|
|
|
11-14-2020, 03:56 AM
|
#9
|
Member
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 682
Original Poster
Rep: 
|
Also... I got a "bug up my {butt}" and decided to do a reinstall, BUT the install kicked an error when I tried to write to the drive... and the drive was causing problems anyway (I guess I know what the problem really was).
So, yes, I still have three more little-used drives on my physical desktop.
Hey... I still have some old serial cables and rs232 cables in a box... I just cannot bear to throw them away.....
|
|
|
11-14-2020, 07:53 AM
|
#10
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,954
|
Quote:
Originally Posted by kevinbenko
Hey... I still have some old serial cables and rs232 cables in a box... I just cannot bear to throw them away.....
|
No V.35 cables or 8" floppies?
Quote:
Originally Posted by kevinbenko
Also... I got a "bug up my {butt}" and decided to do a reinstall, BUT the install kicked an error when I tried to write to the drive... and the drive was causing problems anyway (I guess I know what the problem really was).
|
Not on this problem drive I hope? Guessing instead that you're saying all your drives are fairly old and this points to the root of the problem.
|
|
|
11-14-2020, 12:56 PM
|
#11
|
Senior Member
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,849
|
Quote:
Originally Posted by kevinbenko
Hey... I still have some old serial cables and rs232 cables in a box... I just cannot bear to throw them away.....
|
Packrats Of The World Unite!
I still have a pair of DLT tape drives (in storage)---they hold more than a DVD but are pretty noisy. And there's that Viva 2400 baud external modem... it's just too darned stylish to part with. :^D
|
|
|
11-21-2020, 01:32 AM
|
#12
|
Member
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 682
Original Poster
Rep: 
|
OK... calling this "solved"
It is a hell of a grind, though, as the backup included my {username} directory, and I am considering just scrapping it all and re-doing it from scratch.
Anyway...
Thank you all, and have a great day!
|
|
|
All times are GMT -5. The time now is 08:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|