Greg Freemyer wrote:
On Tue, Apr 23, 2013 at 1:39 PM, ellanios82 <ellanios82@gmail.com> wrote:
probably best do from terminal :
~ maybe use "dd' :
something like :
dd if=/dev/[source-drive] of=/dev/[target-drive]
Add "bs=4K conv=noerror, sync"
If it has 64M buffer, best to use the buffer size to achive optimal throughput.
4K can be as big as you want, but the default 512 bytes is smaller than the linux kernel pagesize and at least in some scenarios it makes the copy run dog slow. Also the default behavior of dd to a media error is to abort. You don't want that, so noerror says to continue even if you hit a media error. Sync is a modifier to noerror that says if a read error is encountered, pad the output with nulls to keep everything in sync.
--- Ug... I would rather have it die and try again -- sometimes a reread will work... if you have to copy a known bad disk, then what you suggest is reasonable, but on disks with no known problems...??? Also use.... dd besides the if=dev of=dev & bs=64M, you would want iflag=direct, oflag=direct. No GUI will beat it's speed... The direct flags will net you an extra 20-30% speed. If the disk buffers are 32M, use that as the copy size...(etc...)... I duped a windows disk using cygwin's 'dd' from an old SSD to a 1TB drive, then to the new SSD -- worked great! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org