From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NyhHT-0007jb-Fw for garchives@archives.gentoo.org; Mon, 05 Apr 2010 08:03:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7618E0B50 for ; Mon, 5 Apr 2010 08:03:33 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 0A62FE0B47 for ; Mon, 5 Apr 2010 07:03:52 +0000 (UTC) Received: from digimed.co.uk (grunthos.digimed.co.uk [192.168.1.4]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.digimed.co.uk (Postfix) with ESMTPSA id 4CE854CA572 for ; Mon, 5 Apr 2010 08:03:52 +0100 (BST) Date: Mon, 5 Apr 2010 08:03:51 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Moving the system from one disk to another Message-ID: <20100405080351.5eefd62e@digimed.co.uk> In-Reply-To: References: <20100404190523.GI5229@solfire> <20100404210403.7d895c29@digimed.co.uk> Organization: Digital Media Production X-Mailer: Claws Mail 3.7.5cvs43 (GTK+ 2.18.9; i686-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/BA9OtGxkZc83Qv.ylT+S4aT"; protocol="application/pgp-signature" X-Archives-Salt: a2c843b1-205f-48bf-8a23-5bed0a357e36 X-Archives-Hash: 33c697d787ab22fb59a240f8bbcd31c6 --Sig_/BA9OtGxkZc83Qv.ylT+S4aT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 04 Apr 2010 18:34:27 -0700, walt wrote: > My instinct is to use dd to duplicate the entire old disk to the new > (unformatted) disk and then use gparted to twiddle it from there. (But > I do love a puzzle ;o) This works but has a some disadvantages. First, it is very slow. Then you copy all filesystems as-is, including any fragmentation (which may be significant if the old disk is nearly full). Also, rearranging the partitions can be extremely time consuming, and not that straightforward if you are moving partition start points. A different sized disk generally deserves a different partition layout, so starting from scratch and copying only the data is a better option. You can also substantially reduce downtime by first rsyncing while the system is running (using either -x or bind mounts). That will give a slightly inconsistent root, so you then repeat the process from a live CD (using --delete with rsync) to clean things up. The latter rsync takes a fraction of the time as 99.*% of the data is already cpied. --=20 Neil Bothwick C&W music backward: get yer dog, wife, job, truck, kids, and sobriety back. --Sig_/BA9OtGxkZc83Qv.ylT+S4aT Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAku5i1cACgkQum4al0N1GQNm8QCfR/oy9dbinMFWXgz4xSUtl1tF a0sAn23pJUB40dxJLn2+dL7B93+uEd9c =etMp -----END PGP SIGNATURE----- --Sig_/BA9OtGxkZc83Qv.ylT+S4aT--