Clone ES4 machine
ergatz at comcast.net
ergatz at comcast.net
Sat Apr 29 20:49:32 UTC 2006
I, too, am looking for a way to clone. What I want to do is have 2 disks in a computer and make changes to the first disk. If the changes break things, I can swap the disks, re-clone the one I just made the master to the now broken disk, and make adjustments to the changes I just made.
I do this on SOlaris with ufsdump and ufsrestore script that can dupe a disk in 10 minutes.
I don't want to reinvent the wheel, so I am looking for someone who has already done this with system commands and a script.
Unfortunately, I work in a place where I cannot import software from the Internet and install it. I have only inherent OS functions to use.
dorothy
-------------- Original message ----------------------
From: Dag Wieers <dag at wieers.com>
> On Tue, 25 Apr 2006, Dag Wieers wrote:
>
> > On Tue, 25 Apr 2006, j_70 at comcast.net wrote:
> >
> > > I am looking to 'clone' one of our ES4 production machines to make an
> > > exact copy as a development box. Does linux have a built in method for
> > > this or can someone point me in the right direction for a method for
> > > this. TIA.
> >
> > Rsync is a simple way to copy a complete system. The procedure goes
> > something like this:
> >
> > + Boot a rescue image that contains a recent rsync binary
> > + Partition your disk(s)
> > + Create the filesystems and mount them in a directory structure that
> > has sufficient filesystem space (or optionally mimics the original
> > system)
> > + Rsync the original system onto your new filesystem structure
> >
> > The tools you would use are resp. fdisk, mkfs (or mfks.ext3), mount, mkdir
> > and rsync.
>
> I didn't mention that you need network as well, although the rescue image
> could have done that for you using dhcp.
>
> Kind regards,
> -- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
> [all I want is a warm bed and a kind word and unlimited power]
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list