Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2000 08:52:10 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Damien Tougas <damien@tougas.net>
Cc:        Consultant <consult9@bellsouth.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Cloning a hard drive
Message-ID:  <20000505085210.A32650@freebie.lemis.com>
In-Reply-To: <20000503213509.A556@tougas.net>
References:  <001a01bfb577$1a4f3f00$7ada4dd8@emerald> <20000504124906.G22025@freebie.lemis.com> <20000503213509.A556@tougas.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday,  3 May 2000 at 21:35:10 -0600, Damien Tougas wrote:
> On Thu, May 04, 2000 at 12:49:06PM +0930, Greg Lehey wrote:
>> Use dd.  If your drive is /dev/da2, and you want to copy it to
>> /dev/da3, do:
>
> I thought that this only works if the drives are identical? When
> upgrading to a larger drive, I have always created new filesystems
> first with the required sizes, then did a dump/restore from the old
> filesystems to the new filesystems.

Well, "cloning" suggests that the drives are identical.  It's possible
to copy file systems from one drive to another, as long as they're the
same size.  Otherwise your method is perfectly practicable, it just
takes longer.  On modern drives you can expect to copy 20 MB/s with
dd; you won't get more than about 10% of that with dump/restore.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000505085210.A32650>