[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-ddrescue] Corrupt log file
From: |
Ben Holt |
Subject: |
[Bug-ddrescue] Corrupt log file |
Date: |
Thu, 28 May 2009 10:52:19 -0700 (PDT) |
User-agent: |
SquirrelMail/1.4.9a |
Hello,
My ddrescue log file seems to have become corrupted and I am looking for a
way to recover as much of it as possible inorder to avoid starting the
recovery process over again.
What I've Been Doing:
I have been using ddrescue via a live CD with the log file being written
to a mounted cifs share. The ddrescue source drive will periodically
cease to be readable, but will usually work again after the system is
shutdown and restarted. When the last successful read, as resported by
ddrescue, is >10 minutes I have stopped ddrescue by press ctrl-c, unmount
the cifs share, restart the system, remount the cifs share, and resume
ddrescue. Until the last round this had been working very well.
What Went Wrong:
The log file now contains multiple lines such as the following
0x1030084400 0x0000F400 +
0x1030093800 0x00000C00 -
0x1030094400
address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@<trimmed>address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden
+
0x1035C14000 0x00000400 -
0x1035C14400 0x0000FC00 +
Attempts to Fix:
Before I realised the extent of the problem I hand corrected 3 such lines
by editing the offending line to set the size column to the difference
between the position of the offending line and the position of the next
line and then setting the status to /. After doing this ddrescue stopped
reporting an error at the particular line, but then complained about the
next similar line. There are many (many) such lines.
Is there an existing script that can correct the corrupted lines or
another easy way to restore as much of the log file as possible? Google
hasn't been particularly helpful.
I would also be interested in any suggestions about what went wrong. Is a
cifs share the wrong place to be storing a ddrescue log file?
Many thanks,
- Ben
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-ddrescue] Corrupt log file,
Ben Holt <=