Backup using dd . . .

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
Subject: Backup using dd . . .
On Mon, 2003-02-03 at 20:46, George Toft wrote:
> Number one (ie, first discussed) method of backup at
> <http://www.linux-backup.net/copy.gwif.html>
>
> Just thought I'd share.
>

------
Maybe you could educate me in the process...

I used dd if=/dev/hda of=/dev/hdd bs=512

their suggestion had bs=1024

I'm figuring that it probably wouldn't have made much of a difference
except that possibly given the buffer sizes, a larger read/write block
might be faster - I'm not gonna test this out.

Then it occurs to me that on a 4 gigabyte disk

Approximately 4,000,000,000 / 32767 (sectors) would probably give me
64,000 bytes per sector and
64,000 / 16 (blocks) would give me 4000 bytes per block.

Wouldn't it be most economical (theoretically faster) to have the
bs=4096 ?

Craig