On 02/28/2017 02:37 PM, Felix Miata wrote:
Greg Freemyer composed on 2017-02-28 15:24 (UTC-0500):
Yes, that will work as long as you run it as root, but if it's that old, you might have a bad sector or two.
At a minimum use this:
dd if=/dev/sdb of=[whatever] bs=512 conv=noerror,sync
bs=512 will slow things down, but make sure that if you have an error, only the truly bad sectors will be lost. A sector is 512 bytes and they are either good or bad.
noerror says not to stop just because you hit a failed sector
sync says that if you have a bad sector, fill that part of your backup with zeros.
Any reason not to use dd_rescue instead of dd in the first place?
My being totally unfamiliar with dd_rescue probably enters into it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org