Sunday, March 19, 2017

Disk Cloning on Solaris


1)  Install the Disk

2)  Primary Disk c0t0d0s2
     #dd if=/dev/dsk/c0t0d0s2 of=/dev/dsk/c0t1d0s2 bs=256k

3)  Verify the clone disk has clean filesystem
      #fsck -y /dev/rdsk/c0t1d0s0 

4)  Mount the clone disk
      #mount /dev/dsk/c0t1d0s0 /mnt

5)  Make the clone entry in /etc/vfstab
      #vi /a/etc/vfstab

6)  Boot the clone disk


No comments:

Post a Comment