How to do the disk cloning on solaris



How to do the disk cloning on solaris..

Answer / sbrahman75

Here is the procedure

install the disk

you can do this few ways, let's the scenario be, the disk is
already attached and its been label through format.

primary disk is u r c1t0d0s2

#dd if=/dev/dsk/c1t0d0s2 of=/dev/dsk/c1t1d0s2 bs=256k

This will take time, depends on the size of the primary disk

verfy the clone disk has a clean filesystem, for that

#fsck -y /dev/rdsk/c1t1d0s0

To verify that mount the clone disk

#mount /dev/dsk/c1t1d0s0 /mnt

change the /etc/vfstab to point to the clone device

#vi /mnt/etc/vfstab

After making changes, boot the clone disk -----Done

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

How to mirror a root dg? With eg

1 Answers  


How to make SUN server as router in subnetwork?

0 Answers   ITC Infotech, JPMorgan Chase,


How to remove the root mirror

2 Answers  


How will you view the packages?

2 Answers  


Difference between LDOM and Domain?

2 Answers   IBM,






How will you ad new aliases name

1 Answers  


I don’t want to ask password reset in ever month to particular user. How to enable the same for only one user.

3 Answers  


What is encapsulation?

3 Answers  


How can you recover the backup of NIC card if it is corrupted?

1 Answers   Thomson Reuters,


what is differnce between boot -s and boot -S ?

3 Answers  


I have only one plex and one subdisk and one volume , then plex is failed how can we recolect it?

4 Answers   IBM,


How will create a rootdg

3 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)