Carlos E. R. wrote:
On Monday, 2009-03-09 at 23:26 -0400, Greg Freemyer wrote:
dd if=/dev/sda of=/dev/sdc bs=1G conv=noerror
Please note, never use noerror without also using sync.
Why? I'm curious. I can make a guess, but I'm not sure, it is not mentioned in the manual:
noerror continue after read errors
sync pad every input block with NULs to ibs-size; when used with block or unblock, pad with spaces rather than NULs
Do you mean, that without "sync", the output would just skip the remaining bytes of a block after an error, meaning the output would simply be "smaller", with pieces missing?
Because, as Sid did an 'xfs_repair' on the result, it means either there was no error, or that the gaps were filled :-?
-- Cheers, Carlos E. R.
May be sync would have fixed the errors, however "xfs_repair -L /dev/sdc1" needed to be run to remove the old journal and clean up the errors. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org