[Top][All Lists]

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

[Bug-ddrescue] Suggestion for ddrescue in _seriously hosed filesystem_ e

From: Nathan Neulinger
Subject: [Bug-ddrescue] Suggestion for ddrescue in _seriously hosed filesystem_ environment
Date: Mon, 27 Apr 2015 21:09:10 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

If you are using ddrescue against a filesystem (to recover raw file contents) - there is a scenario where the current behavior doesn't handle things well - when the filesystem is hosed to the point of causing ddrescue to be killed with segfaults.

I'd like to see two (what I see as probably relatively simple) improvements to 
alleviate this:

1. Implement a "--log-every-time" option - you could use "-e" it looks like. The function would be that it would record to the log file after every successful read, not just periodically. During normal use, this would be a killer in performance, but during a crashing scenario, it would help tremendously.

        2. When above option is used, ALSO write out (and flush) to the log 
file _before_ every block is attempted.

The purpose there would be so that if ddrescue is killed while in the middle of that block read, it records it as being tried so that it will skip it on next invocation.

-- Nathan

Nathan Neulinger                       address@hidden
Neulinger Consulting                   (573) 612-1412

reply via email to

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