bug-ddrescue
[Top][All Lists]
Advanced

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

Re: [Bug-ddrescue] ddrescue on BSD vs Linux


From: Antonio Diaz Diaz
Subject: Re: [Bug-ddrescue] ddrescue on BSD vs Linux
Date: Thu, 11 Nov 2010 18:47:31 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Hello,

luminair wrote:
http://en.wikipedia.org/wiki/Ddrescue#Recovery-oriented_variants_of_dd

It says "Linux lacks "raw" disk devices like *BSD has, which makes it
less desirable for low-level data recovery," is this true, or just
FUD?  Should I use FreeBSD when I try to recover my disk?

I guess it is FUD. For example see http://en.wikipedia.org/wiki/Raw_device where it says: "On Linux raw devices are deprecated and scheduled for removal, because the O_DIRECT flag can be used instead."

Ddrescue can use O_DIRECT (option -d), but be aware that "Using direct disc access, or reading from a raw device, may be slower than normal cached reading for hard discs (but faster for floppies). In this case you may want to make a first pass using normal cached reads, and use direct disc access, or a raw device, only to recover the good sectors inside the failed blocks."


Also, there is a recommended procedure there, of ddrescue -n and then
ddrescue -r 1 afterwards. Is that your recommendation? Otherwise what
is the good of it. You can't trust wikipedia unless the expert wrote
it.

The advantage of using -n, then -r1 (or nothing), is that you can use different options in each case. For example larger cluster size in first try for maximum speed, then direct disc access in second try to maximize the amount of data recovered.


Regards,
Antonio.



reply via email to

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