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

Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 755 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please every body and wite the proper answer. Thanks in Advance

2 Answers  


What is the basic requirement for cluster.

2 Answers   ITC Infotech,


attributes of FS

1 Answers  


How we configure the veritas cluster server for solaris? what r the proceure we have to take configuration

1 Answers   IBM,


How ill you create a subdisk and plexus

1 Answers  


How will see the kernel version

5 Answers  


How to find the demo?

1 Answers  


How to remove the volume

1 Answers  


What is difference between g G while creating useradd?

1 Answers  


I have single NIC card and we have two ports can we configure as IPMP?

1 Answers   ITC Infotech,


How to add a tape deck on Sun Solaris version 10

2 Answers  


Which service assign port no dynamically

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