NETWORK PRESENCE ABOUT SERVICES PRODUCTS TRAINING CONTACT US SEARCH SUPPORT
 


Search
display results
words begin  exact words  any words part 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FW1] Hardrive Cloning



On Tue, 21 Nov 2000 17:28:07 -0500, you wrote:
>Does anyone know of a way to clone a hard drive with Solaris 2.6. I need
>to install several FW-1/VPN on 220R servers and would like to have one
>good install to clone rather than having to install each one separately.

I wrote a perl script to do a similar thing, i.e. cloning a drive and
its slices to a new drive, but on Netra T1s/Solaris 7/FW4.1SP2. It
does it using ufsdump/ufsrestore rather than dd, so the drives can be
different geometries.

The steps it takes are basically:
- create partition table on clone drive
(you can do this with fmthard -s datafile /dev/rdsk/c?t?d?s2) as long
as you have created a datafile that details the partition layout.
- newfs and fsck each slice on the clone disk
- mount each slice on the clone disk under something like
"/clone/slicename"
- ufsdump each slice on the master disk, and ufsrestore them to the
/clone/slice mounts.
- run installboot on the clone disk to make it bootable.
- remove clone disk, put in new machine, boot.

There should be no reason why you can't do this on a  220R.

--
Michael Pye


================================================================================
     To unsubscribe from this mailing list, please see the instructions at
               http://www.checkpoint.com/services/mailing.html
================================================================================



 
----------------------------------

ABOUT SERVICES PRODUCTS TRAINING CONTACT US SEARCH SUPPORT SITE MAP LEGAL
   All contents © 2004 Network Presence, LLC. All rights reserved.