LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-15-2013, 09:33 AM   #1
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262
Blog Entries: 2

Rep: Reputation: 49
Post [squeeze]Log of old dd_rescue (1.14): success?


It seems the version of dd_rescue in old-stable is not so well documented.
I ran dd_rescue to clone a failing disk to a file, but when I returned the PC crashed. Now I'm not sure which options I used (i.e. sparse file) and whether it matters. If the log shows that it finished before it crashed, the options are of no concern.
The produced log differs greatly from what I read in the current manual.
Code:
dd_rescue: (info): ipos:  30028224.0k, opos:  30028224.0k, xferd:  30028224.0k
                   errs:      0, errxfer:         0.0k, succxfer:  24293184.0k
             +curr.rate:    11362kB/s, avg.rate:    11475kB/s, avg.load:  9.4%
dd_rescue: (info): /dev/sda (30028271.5k): EOF
Summary for /dev/sda -> /media/HUGE/T/dd_linux_fail_system.bin:
dd_rescue: (info): ipos:  30028271.5k, opos:  30028271.5k, xferd:  30028271.5k
                   errs:      0, errxfer:         0.0k, succxfer:  24293184.0k
             +curr.rate:   181298kB/s, avg.rate:    11475kB/s, avg.load:  9.4%
Does this log show a succesful copy? If not, can I resume data extraction using this log?
 
Old 11-16-2013, 03:56 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Weapon S View Post
Does this log show a succesful copy?
Yes because "xferd" equals "ipos". It just didn't copy everything. What's more is you can always verify the result by comparing the hash of the source and destination. Should a hash incidentally not match then it's good to know there's the md5deep (sha1deep, etc.) tools which help you figure out at which point a file differs (use piece-wise mode and set the size to a relevant block size).
 
1 members found this post helpful.
Old 11-16-2013, 11:06 PM   #3
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Thanks for that explanation and extra info.
I reran dd_rescue succesfully and got a similar resulting log (and a identical disk image). Thereafter writing out to the final destination, it did go as far as the 30GB. I assume the difference in size is due to the sparse file.
 
  


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
Can't log into Desktop: Debian Squeeze JosephS Linux - Desktop 7 04-13-2011 10:42 AM
[SOLVED] No longer able to log in to Debian Squeeze/sid GenomeJB Linux - Desktop 12 06-19-2010 07:59 AM
Shell script to Continuously scan a log file for success novice82 Linux - Newbie 4 10-09-2009 02:20 AM
Can't log in despite ldappasswd returning success gxw Linux - Server 7 10-08-2009 04:46 AM
[SOLVED] Can't log into squeeze after updating yesterday helai Debian 7 07-16-2009 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:48 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