Thursday, July 16, 2009

Disk to disk copy on Solaris

Using DD:

Partition the destination disk same as the source disk:


prtvtoc /dev/rdsk/c0t0d0s0 | fmthard -s - /dev/rdsk/c0t1d0s0


Run the DD command:

dd if=/dev/rdsk/c0t0d0s0 of=/dev/rdsk/c0t1d0s0 bs=1024k

No comments:

Post a Comment