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

What are printer daemon

2 Answers  


Explain about init phases

4 Answers  


How to find out the shared file system from server and client

1 Answers  


What is difference between g G while creating useradd?

1 Answers  


How to delete a service group

4 Answers  






please post few interview questions ? or any url related to solaris

0 Answers  


What is shrinking and how to shrink a volume?

2 Answers  


How will you find out enough memory?

2 Answers  


How ill you remove the subdisk and plexus

4 Answers  


In which file port No’s are defined

3 Answers  


How will you clear the soft error on disk

1 Answers  


How to enable the crashdump?

1 Answers   IBM,


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)