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 will you execute backup and restore using the tar command in a single command

1 Answers   CMS,


If super block corrupted how to recover

2 Answers  


How to know actual capacity of Ethernet port by command line? (Sun Fire V480 and some one configured Eth interface as 100mbps and need to change to 1000mbps but How i would know that port is of capacity 1000mbps or not?

7 Answers   Softenger,


How will create a rootdg

3 Answers  


how many default groups are there in solaris10?what are they?

5 Answers   HP, Patni,






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

0 Answers  


How will you verify the disk and how many field will be there.

2 Answers  


What is environmental? How to add environmental variables in run level 3 & how to edit?

1 Answers   Wipro,


what is the difference between /var/adm/ and /var/sadm directory contains in solaris?

1 Answers   TCS,


How to set passwd never expire for a user

4 Answers  


Explain about init phases

4 Answers  


I would like to create users and the users account should be locked after 3 login attempts. How to create ? And where these locked information has been stored. Environment : NIS and if LDAP also

4 Answers   CTS,


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)