LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-28-2012, 08:21 PM   #1
serialportme
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
ddrescue?


Ugh - need some help. I think the hard drive is failing.

I have tried a few programs which failed. I am currently running clonezilla for about 24 hours. It was running quick with an Esata cable, but slowed to a crawl with tons of buffer, i/o errors ,etc. It is still running, so I will let it be for awhile.

My next venture will be to use ddrescue. I am planning on using:

sudo ddrescue -v -r 3 /dev/sda3 /dev/sdb3 logfile

I know there are going to be a ton of errors, bad sectors and I think the above will cover the skipping of those. Please be as specific as possible

Any other ideas for me? Should I run a Western Digital test/repair on it?

Oh yeah, I can boot up, but runs completely slow so I have been booting from the CD.

Any help for a new user would be appreciated. I was able to copy most of my files off with knoppix, now just looking to do a usable bootable clone.
 
Old 07-12-2012, 12:50 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Stretch (Fluxbox WM)
Posts: 1,389
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
I don't quite understand why you are trying to clone the system if you have already recovered most of your files. Usually it would be quicker to reinstall than to attempt to completely clone it.

Even if you do succeed in making a bootable copy, it will not be trustworthy, since there may be critical sectors missing (that you don't discover until you do a fsck or actually use a file which has missing sectors of data).

If there are still sections that have not been recovered because clonezilla got bogged down, then by all means use ddrescue with a small retry limit to image the partition; but afterwards simply mount the rescued partition on a working system and grab the files you want, no need to waste time attempting to boot from it. There is no need to copy the partition to another (same sized) partition; just copy it to a large file on another drive which can then be loop mounted. Normally this copy would be the first step, since repeated access to bad sectors at best wastes valuable recovery time and at worst may exacerbate the problems.

If you are certain that the errors are disk errors (and not say a cable fault), then there is little point running a test/repair on it. This would only be worthwhile as a last ditch attempt to recover critical files. The disk itself should be quietly retired.
 
  


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
ddrescue speed issue Dtag Linux - Software 14 01-28-2014 09:18 AM
Backup of disk using ddrescue vijay_babu1981 Linux - Newbie 7 05-31-2012 04:07 PM
ddrescue help on RAID5 DarkFlame Linux - Server 2 11-15-2009 11:50 AM
Data recovery with ddrescue Matistimo Linux - Newbie 7 11-30-2007 07:15 AM
ddrescue and moving files help PiZZLE Linux - Software 9 03-13-2007 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration