LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2011, 05:17 PM   #1
syrex
LQ Newbie
 
Registered: May 2011
Posts: 4

Rep: Reputation: Disabled
ddrescue interrupted by power outage, raised issues


I'm running ddrescue on a 500 GB drive in an external enclosure. I was copying the image to another external drive, and also using the log file feature.

About halfway through the process, a power blip took the system out. As a result, when I restarted the system, the cloned output file was not accessible ("ddrescue: can't open output file: input/output error"). The external drive I was putting the file on is ntfs, and fsck was not working on it. I put it back onto a windows box, and ran ntfs tools on it. I think this killed my output file, as it showed as being 0 bytes in length when I hooked it back up.

I restarted ddrescue, which picked up where it left off due to the log file. Now my output file says it is 293886755840 bytes and rising.

So, my question is, does ddrescue scan for blocks first, reserving space in the output file and moving it at the end, or does it do it as it goes along, and my image file is toast?
 
Old 09-18-2011, 10:11 PM   #2
syrex
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Feel free to correct me, but I'm pretty sure the image is toasted. The first 4k is nothing but nulls, while there is random data stored after the offset approximating the beginning of the ddrescue restart.
 
  


Reply



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
Software Raid, lots of issues after a power outage, please help me keep data itjstagame Linux - Software 3 11-22-2010 07:44 PM
power outage blackmamba11 Linux - Server 1 12-03-2007 11:51 AM
need a program of c made in linux to calculate a raised to the power b using pow fun mona_iitr Programming 5 03-28-2007 08:56 AM
power outage jbzy3000 Linux - General 2 02-24-2005 09:11 PM
Power Outage notslim General 30 08-28-2003 03:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:54 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
Open Source Consulting | Domain Registration