Re: [Bug-ddrescue] Suggestions to rename "logfile"

2015-06-15 Thread Ketil Froyn
I'd like to suggest sectormap or rescuemap, as some others have said before me. In any case I think it's unnecessary to call a file something with "file". Regards, Ketil On 14 June 2015 at 01:03, Antonio Diaz Diaz wrote: > Dear all, > > Some people think that the "logfile"[1] of ddrescue should

[Bug-ddrescue] Feature suggestion: wait for input file/device to reappear

2015-10-21 Thread Ketil Froyn
I'm working on a troublesome hard drive, which unfortunately keeps "disappearing" while it's being read. I get the error: ddrescue: Input file disappeared: No such file or directory But after a short while the drive reappears, and I can try again. Right now I'm working around the issue on the com

[Bug-ddrescue] Fwd: Re: Feature suggestion: wait for input file/device to reappear

2015-10-22 Thread Ketil Froyn
Sorry, I meant to send this to the list. > Paul, > > Thanks, that's interesting. How about adding a mode of operation so that you only need to specify the serial number? The program could keep an eye out for that serial number and output the device name to STDOUT when it appears. In that case it c

Re: [Bug-ddrescue] Merging individual partition image in to whole disk image

2017-06-29 Thread Ketil Froyn
Perhaps a one-liner like this could replace the spreadsheet job? cat log | perl -pe 'if (!/^#/) { @fields=split(); $fields[0] = hex($fields[0]) + 26844594176; print(join(" ", @fields)); }' On 29 June 2017 at 18:40, Scott Dwyer wrote: > Well dang, Paul, when I saw the title and your name on it,

Re: [Bug-ddrescue] Ddrescue suggestion.

2017-06-29 Thread Ketil Froyn
How do you figure 32kb? Won't "-c 1" cause ddrescue to read a single sector at a time, or 512 bytes on most drives? Regards, Ketil On 29 June 2017 at 23:48, Abhoth __ wrote: > Hello, > > I am a user of ddrescue, and I would like to tell you that it is a > wonderful program! However, from what I

Re: [Bug-ddrescue] Merging individual partition image in to whole disk image

2017-06-29 Thread Ketil Froyn
Thanks Antonio. In the meantime, my one-liner was wrong, this is at least an improvement (though I haven't really tested it thoroughly still). cat log | perl -ne 'if (!/^#/) { @fields=split(); $fields[0] = hex($fields[0]) + 26844594176; print(join(" ", @fields),"\n"); } else { print $_; }' On 3

Re: [Bug-ddrescue] Skipping over tar pits

2017-08-14 Thread Ketil Froyn
>From your description, I'd guess that one of the heads on your drive is having trouble, while the other ones work ok. There are commercial recovery tools that can work out the mapping from LBA number to head number for a drive, and then you can skip any broken/slow heads to read the rest of the d

Re: [Bug-ddrescue] ddrescuelog - not able to unpack

2017-10-20 Thread Ketil Froyn
Works for me: $ tar --lzip -xvf ~/Downloads/ddrescue-1.22.tar.lz You may need to install lzip first if you don't already have it, something like: $ sudo apt install lzip Regards, Ketil On 20 October 2017 at 22:00, gilsonlongo wrote: > Hello > > I would like to use the ddrescuelog application, s

Re: [Bug-ddrescue] ddrescue version control system

2018-02-08 Thread Ketil Froyn
http://lists.gnu.org/archive/html/bug-ddrescue/2017-03/msg00019.html On 7 February 2018 at 23:25, Albert Astals Cid wrote: > Hi, I'm looking for the ddrescue source code online and can only find the > tarballs, can someone point me to its online version control system? > > Cheers, > Albert > >

Re: [Bug-ddrescue] Feature request: email notifications about the progress

2018-06-01 Thread Ketil Froyn
On Jun 1, 2018 17:09, "Antonio Diaz Diaz" wrote: Hi Paul, Paul Daniels wrote: > I've got a mailfeeder tool that I wrote for testing a long time in > the past, uses standard sockets type stuff in linux in plain C, BSD > licenced and no external libs required. Thank you. I do not plan to i

Re: [Bug-ddrescue] Very slow reading DVD

2018-06-05 Thread Ketil Froyn
Try using dvdisaster instead of ddrescue, it has some different strategies that may be better tuned to your issues. Regards, Ketil On Tue, Jun 5, 2018, 17:31 wrote: > Recently bought a DVD set used. Having extreme difficulty playing one of > the discs on any player. The disc is not significantl

Re: [Bug-ddrescue] sync across network

2018-12-17 Thread Ketil Froyn
First of all, is there something wrong with your hard drive? If not, I would think there are better tools for this job than ddrescue. if you're still going with ddrescue, perhaps you can export a drive using iSCSI from the target server, and make that available as a block device on the source serv

Re: [Bug-ddrescue] ddrescue bug with overwriting the mapfile

2019-01-06 Thread Ketil Froyn
On Sun, 6 Jan 2019 at 14:14, Joe Kickman wrote: > > Hello. Sometimes while rescuing I see the situation of hanging PC. If the > hang happens at the moment of rewriting the log/map file - it gets size of 0 > :(. Luckily, the times that happened I had an almost recent backup copy. 40 > minutes of

Re: How to clone to a smaller HDD without messing up partitions?

2019-10-26 Thread Ketil Froyn
I have a different suggestion. Set up your target device with some sort of deduplication and/or compression. For example btrfs or zfs or vdo. Then you can clone to a file on the target, and hopefully you'll have space for the whole thing. On Sat, Oct 26, 2019, 04:03 Shahrukh Merchant wrote: > I