From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Installing five identical systems...
Date: Fri, 10 Dec 1999 08:47:38 -0700 (MST) [thread overview]
Message-ID: <199912101547.IAA30417@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <19991210231204.A22051@Platinum.Chem.nthu.edu.tw> from "Jen-Shiang Yu" at Dec 10, 99 11:12:04 pm
Jen-Shiang Yu wrote:
>
> Now I have done setup on one machine, and
> am wondering if there is any tool that can just "duplicate" the existing
> partition/data on the current system disk to the rest four new disks so as
> to prevent from re-installation "from scratch".
If you are willing to mount a new disk on an existing machine runnig
Linux then "the tool" is called 'cp'. GNU cp "knows" how to handle
special devices, pipes and the like. The simplest is 'cp -a' but you
probably want to use 'cp -dpRx' as you do NOT want to copy things like a
contents of /proc or /dev/pts. This approach will also prevent attempts
of recursive copies of itself on itself. :-) Check 'man cp' for detailed
explanations.
You may use for the same purpose other tools, like 'cpio' or 'tar'
(writing on stdout and piping its output to another tar which extracts
stdio; a similar trick with 'dump'/'restore' pair) but 'cp' is likely
the simplest.
> I believe such tools exist, or how can those system vendors bear
> doing the same job for one hundred times to install the 128-node cluster?
A simple script may partition the whole disk (using 'sfdisk' or
'minlabel' - depending on a type of partitioning you require), format
newly created partitions, mkswap, and copy required contents to fresh
media. With a bit of creativity and a network you can boot into a
ramdisk, aquire IP number by dhcp (say), run a script which will prepare
a new disk and 'rsync' its contents over a network from a "master node".
Everything you need is there. This is another OS which goes under a
name of "No Tools". :-)
Michal
next prev parent reply other threads:[~1999-12-10 15:47 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-10 15:12 Installing five identical systems Jen-Shiang Yu
1999-12-10 15:39 ` Helge Kreutzmann
1999-12-10 16:01 ` Michal Jaegermann
1999-12-10 17:57 ` Rich Payne
1999-12-10 18:36 ` Greg Lindahl
1999-12-10 19:21 ` Rich Payne
1999-12-10 21:07 ` Larry Snyder
1999-12-12 12:21 ` marbud
1999-12-10 21:05 ` Chance Reschke
1999-12-10 22:15 ` Greg Lindahl
1999-12-11 17:53 ` Jack Wathey
1999-12-13 20:43 ` Chance Reschke
1999-12-13 21:07 ` Greg Lindahl
1999-12-14 8:57 ` Christian Iseli
1999-12-14 18:18 ` Greg Lindahl
1999-12-14 20:37 ` Christian Iseli
1999-12-11 0:06 ` Michal Jaegermann
1999-12-11 1:16 ` Chance Reschke
1999-12-10 15:47 ` Michal Jaegermann [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-12-10 15:19 Mike Foley
1999-12-10 23:22 ` Antonio S. Martins Jr.
1999-12-10 15:24 nm
1999-12-10 16:51 Paul Bunn
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