'dd' command for cloning a disk.

From: Alistair McKeown (Alistair.Mckeown@jacobsrimell.com)
Date: Tue Sep 21 2004 - 04:48:28 EDT


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.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:28 EDT