'dd' command for cloning a disk.

2007-12-25 3:59:00

Hi gurus,

Just a question about 'dd' command. I'm as we speak cloning a disk
to another disk booted from cd rom in single user mode.
I've made the new disk the same slice sizes as the original disk and
started to clone it from the old one. Trouble is, is it better to clone the
whole of slice 2 in one command or clone each slice individually :

'dd if=/dev/rdsk/c0t0d0s2 of=/dev/rdsk/c0t1d0s2 bs=128k'

Or is it better to so individual slices: (example)

'dd if=/dev/rdsk/c0t0d0s1 of=/dev/rdsk/c0t1d0s1 bs=128k'
'dd if=/dev/rdsk/c0t0d0s3 of=/dev/rdsk/c0t1d0s3 bs=128k'
'dd if=/dev/rdsk/c0t0d0s5 of=/dev/rdsk/c0t1d0s5 bs=128k'

Regards,

Alistair.

Comments

Got something to say?

You must be logged in to post a comment.