bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ddrescue] Error in logfile line 0


From: Antonio Diaz Diaz
Subject: Re: [Bug-ddrescue] Error in logfile line 0
Date: Mon, 01 Jun 2015 17:19:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.8.1.4) Gecko/20070601 SeaMonkey/1.1.2

Hola Gonzalo.

Gonzalo de la Mota wrote:
I have been running ddrescue for two days to dump from one usb disk to a
file on another usb disk (plenty of space, from a 320Gb disk to a 2Tb disk
with 1Tb free). Somebody moved the destination usb and it got disconnected.
I did a Q+Enter to stop, and when I tried to startup I got the following
message:

ddrescue: error in logfile rescued.log, line 0.

I don't see anything wrong with the logfile (then again I don't know
exactly what to look for). It seems to be the same error as (
http://lists.gnu.org/archive/html/bug-ddrescue/2015-05/msg00001.html).

Yes, it seems the same error.

Your logfile is OK, as reported by 'ddrescuelog -t':
$ ddrescuelog -t rescued.log

   current pos:   200038 MB,  current status: copying
logfile extent:   320072 MB,  in   3973 area(s)

       rescued:   155269 MB,  in    734 area(s)  ( 48.51%)
     non-tried:   164658 MB,  in   1258 area(s)  ( 51.44%)
   non-trimmed:   144408 kB,  in   1981 area(s)  (  0.04%)
   non-scraped:         0 B,  in      0 area(s)  (  0%)
       errsize:         0 B,  errors:         0  (  0%)


The "line 0" in the error message from ddrescue indicates that ddrescue can open the logfile but can't read even a single byte from the logfile. I have been unable to reproduce the error, but does the logfile have the right permissions? Is the destination filesystem corrupted?


"1) Optionally read a logfile describing the status of a multi-part or
previously
interrupted rescue. If no logfile is specified or is empty or does not
exist, mark all the rescue domain as non-tried."

Does this mean that I should put all the status in the logfile as '?' ?

No. You would lost all the work done if you do this.

You just need to find a way for ddrescue to read the logfile, just as I read it with ddrescuelog above.


Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]