> >From the command line, issue the following:
>
> dd if=/dev/hda of=/dev/hdc bs=1024
>
> in the example above, make sure that /dev/hda and /dev/hdc correspond
to
> the proper drives
>
> Also, I'd recommend installing hdparm (if it's not installed already)
and
> then issuing the commands
>
> hdparm -d1 /dev/hda
> hdparm -d1 /dev/hdc
>
> to switch on DMA on both drives (this doesn't apply if your drives are
> scsi).
>
> You will save yourself *hours*, if not days (depending on disk size)
by
> switching on dma.
>
> The other caveat here is that your target disk *must* be of the same
size
> or larger than your source disk.
>
> Ian
Related question: Some of my partitions have a blocksize (bs) of 4096,
rather than 1024. Is it important to use "bs=xxxx" in the "dd" command,
where "xxxx" equals the actual blocksize of the disk or partition being
copied? Furthermore if, say, /dev/hda happens to have two partitions on
it with different blocksizes, would I be smart to copy them separately,
or would dd handle the change in blocksize by itself?
Or is the "bs" option to "dd" just a buffer size used during the copying
procedure? If so, would it speed things up to use a larger value?
Jim
|