Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clone???

Status
Not open for further replies.

De8o

Technical User
Sep 26, 2000
70
US
Could somebody give me an idea of how to make an exact copy of a Sun Solaris box [sig][/sig]
 
What exactly do you mean by exact copy? [sig]<p>Ged Jones<br><a href=mailto:gedejones@hotmail.com>gedejones@hotmail.com</a><br><a href= > </a><br>Top man[/sig]
 
It is for the purpose of disaster recovey. So that a cloned machine can be off site and then be used instead of the original with little or no configuration. [sig][/sig]
 
You could use the dd command to make a exact image of your hard drive.

I am not sure of what the complete syntax should look like. But I hope it's a starting point.

[sig]<p>-Danny<br><a href=mailto: > </a><br><a href= > </a><br>Does it ever get easier !<br>
Oh well. <br>
<br>
Party on dude ![/sig]
 
Assume your system disk is c0t0d0 and
u have a spare disk c0t4d0 of same geometry.
make sure that there are no much activities on the system or try during night hours
say, thru a cron job.

#dd if=/dev/rdsk/c0t0d0s2 of=/dev/rdsk/c0t4d0s2 bs=128k

(may take some time depending on the size
of the disk)

After dd is over , do fsck for all the file systems on c0t4d0.
Now u got a clone disk !!! Remove c0t4d0
and keep it safe.
Try it out. Iam using this technique for the last 4 years.

Cheers!!
jay



[sig][/sig]
 
Thanks for the specifics jay. I knew it could be done.

[sig]<p>-Danny<br><a href=mailto: > </a><br><a href= > </a><br>Does it ever get easier !<br>
Oh well. <br>
<br>
Party on dude ![/sig]
 
excellent tip..
much thanks

Darren [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top