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

Which command display diagnostics in ok boot prompt?

1 Answers   HP,


How will you find out enough memory?

2 Answers  


how to add an user without using "useradd" command in solaris10?

4 Answers   HCL, HP,


What is the difference between init 1 and init s ?

1 Answers  


How to create NULL files of specific size in solaris ?

9 Answers   IBM,






How to add a group

4 Answers  


How will you grow a disk space whitout disturbs

2 Answers  


tell me the steps to configure the vg

2 Answers   Wipro,


What are the two types of service groups?

2 Answers  


May I know the difference between the RAID and Volume Manager?

7 Answers   ITC Infotech,


What is the difference between container and zones?

1 Answers   IBM,


Default path for patches

2 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)