Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2006 17:07:37 +0000
From:      Alec Berryman <alec@thened.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: best approach to clone a disk?
Message-ID:  <20060214170737.GA23816@thened.net>
In-Reply-To: <39D18F08-5443-4642-AE0B-636415239F6B@netmusician.org>
References:  <39D18F08-5443-4642-AE0B-636415239F6B@netmusician.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Joe Auty on 2006-02-14 11:49:05 -0500:

> What is the best way to clone a disk in FreeBSD?

[...]

> Can I use DD on two disks of different size? Do you recommend Ghost =20
> for Unix?

g4u is a very nice wrapper for dd.  I've had great success with it for
identically-sized disks; there shouldn't be a problem if the target
disk is larger than the source disk, because you can edit the
partitions around and then growfs.

Don't overlook tar, though - it doesn't care about disk sizes as long
as you have enough free space, doesn't care about partitions, and is
simpler in many cases.  If you boot up to the fixit image from an
install CD you can partition and newfs to however you like and then
untar.

--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD8g5ZAud/2YgchcQRAjHiAKCp6dEDU4HsfEFi0Abf02Fn4uywaQCg1oK0
dcHp65xs4juqg/5KlL8GY/E=
=2yJW
-----END PGP SIGNATURE-----

--ZPt4rx8FFjLCG7dd--



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