LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-17-2019, 08:08 AM   #1
Yetoo
LQ Newbie
 
Registered: Dec 2015
Distribution: Fedora, Debian, Ubuntu, couldn't install gentoo
Posts: 20

Rep: Reputation: Disabled
Will ddrescue --force resume from map file?


I just need to verify if ddrescue --force will resume from map file. The man page says it will overwrite all existing data, but other resources suggest that, with a map file, it will resume, but I haven't found any answers for this direct question. What happened was I was copying the data, but the source device either got too hot or failed, but I managed to re-detect it and would like like to resume the copying process.

Last edited by Yetoo; 07-17-2019 at 08:15 AM. Reason: clarified found suggestions suggest map file needed
 
Old 07-17-2019, 08:27 AM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,246

Rep: Reputation: 1922Reputation: 1922Reputation: 1922Reputation: 1922Reputation: 1922Reputation: 1922Reputation: 1922Reputation: 1922Reputation: 1922Reputation: 1922Reputation: 1922
As far as I know, the --force option in ddrescue just bypasses the check that the output file is in fact a regular file and not a device or partition. It doesn't otherwise affect the operation.
 
1 members found this post helpful.
Old 07-17-2019, 08:33 AM   #3
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,241

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474
From man ddrescue
Code:
Always  use a mapfile unless you know you won't need it. Without a mapfile,
ddrescue can't resume a rescue, only reinitiate it.  NOTE: In  versions  of
ddrescue  prior to 1.20 the mapfile was called 'logfile'. The format is the
same; only the name has changed.

-f, --force
        overwrite output device or partition
From ddrescue --help
Code:
Usage: ddrescue [options] infile outfile [mapfile]
I've used ddrescue a few time, it works good.
 
Old 07-17-2019, 08:36 AM   #4
Yetoo
LQ Newbie
 
Registered: Dec 2015
Distribution: Fedora, Debian, Ubuntu, couldn't install gentoo
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
As far as I know, the --force option in ddrescue just bypasses the check that the output file is in fact a regular file and not a device or partition. It doesn't otherwise affect the operation.
I can confirm. It has resumed where it has left off, thanks.
 
  


Reply

Tags
data, ddrescue, force


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
[SOLVED] ddrescue, safe to resume with image moved/copied? Essex20 Linux - Software 2 01-12-2017 07:43 PM
Force dd or ddrescue to attempt to read more of input device k.king Linux - Software 1 10-21-2015 06:21 AM
tool for displaying cluster map? (hopefully for informed ddrescue) njank Linux - Software 1 02-14-2014 12:15 PM
resume: could not stat the resume device file Zaskar Debian 17 03-29-2012 10:10 PM
resume: cannot stat resume device file sixerjman Linux - Kernel 0 05-27-2007 03:09 PM

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

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