Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Adam Price" <adam+usenet@pappnase.demon.co.uk>
Subject: Re: Cloning process for Alphas?
Date: 2000/01/26	[thread overview]
Message-ID: <948860393.8084.0.nnrp-03.c2deb51d@news.demon.co.uk> (raw)
In-Reply-To: 388E1549.6F960FC8@adenzel.demon.nl


Alex van Denzel wrote in message <388E1549.6F960FC8@adenzel.demon.nl>...
>Rob Hounsell wrote:
>
>> > >   Anyone know of a good procedure for cloning disk images on Alphas?
>> > > Ideally, we'd like to use a master CD image to create corresponding disk
>> > > images for upgrading systems. We thought about using dd, but I'm
>> > > wondering about cloning to different disk sizes (and thus possibly
>> > > wasting disk space). Conversely, I don't know the exhaustive list of
>> > > files required to create a successful clone if we went the filesystem
>> > > route i.e. copying files/directories.
>
>I don't know much about tru64 but one of these options could work:
>
>-  tar, and untar with -p to preserve attribs
>-  dump/restore
>-  cp -Rp (Recursive, preserve attribs)
>
tar and cp both have the problem that they will copy hardlinks as files,
tar also looses setuid bits which is a major pain for this kind of thing.

In the past I have had good success with the procedure of using a custom
boot cd (see the back of the install guide I think although it may have
moved look for the section on advanced installs). The process is useful
since you can set it up to prompt for the info that varies from machine
to machine (hostname etc) and still keep the rest of the stuff the same.

One good tip if you do this is to then make use of the floppy drive record
all of the information you provide at install time, keep the files on it
uptodate and keep a unique floppy for each machine (use cron,store it in
the drive, it's not critical only useful)

The other partitions besides / and /usr, can then be cloned as compressed
vdump savesets, and a script written to create the partitions and extract
the files. Use default partition sizes read from the install floppy which
you can override, ask for the sizes before you start the install, and time
out if no response is given in a reasonable time, this way you can do
automated or partially automated restores.

Then if you ever need to rebuild a replacement for that workstation, you
use the standard boot cd plus the files on the floppy to automate the recovery.
When the amount of difference between the bootcd and the desired workstation
is too large to fit on a floppy, then it's time for a new bootcd.

Hope this helps

Adam

PS Excuse the rambling nature of this post, it's 3am and I've been up since 4am
yesterday with a screaming 1year old (new teeth).






  reply	other threads:[~2000-01-26  5:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-25  5:00 Cloning process for Alphas? Rob Hounsell
2000-01-25  5:00 ` Mike Iglesias
2000-01-30  5:00   ` Borje Sennung
2000-01-25  5:00 ` Dirk Munk
2000-01-25  5:00   ` Rob Hounsell
2000-01-25  5:00     ` Alex van Denzel
2000-01-26  5:00       ` Adam Price [this message]
2000-01-25  5:00   ` HerbalGypsy/justbob
2000-01-30  5:00 ` Jay Vlack
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox