Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Chance Reschke <reschke@astro.washington.edu>
To: axp-list@redhat.com
Subject: Re: Installing five identical systems...
Date: Fri, 10 Dec 1999 17:16:35 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.04.9912101707010.16297-100000@apollo.astro.washington.edu> (raw)
In-Reply-To: <199912110006.RAA30883@ellpspace.math.ualberta.ca>


> > > then you can do a dd, example
> > > 
> > > dd if=/dev/sda of=/dev/sdb
> > > 
> > 
> > This is the correct way to duplicate disks.
> 
> Provided that both disks you are using are **really** identical
> and very often they are not even if nominally they are.  It often
> works but it very far from a guaranteed way.  Depending on relative
> **actual** sizes you may either end up wasting parts of your target
> disk which will become inaccesible, or writing a partition table
> which claims that there is more available blocks than in reality.

For identical disks the dd method works reliably.  For non-identical
disks, as long as the target disk is as large as the source disk it's safe
if not not efficient.

> 
> >  Using cp or other
> > file-system-level tools requires you to:
> > 
> >    first partition the target disk exactly like the source disk
> 
> Totally incorrect.  And exactly **because** you may use different disks
> and partition and format (say, with different block sizes or i-node
> density) them differently this is in general a preferred way.

No, not totally incorrect.  The question was how to duplicate, not how to
make a similar copy.  To make a similar copy you're fine creating target
partition sizes different than the source, then using something like
tar/cpio/cp to copy files.  Just be sure your target partitions are big
enough to hold everything.

 - C



  reply	other threads:[~1999-12-11  1:17 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 [this message]
1999-12-10 15:47 ` Michal Jaegermann
  -- 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