From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Moving the system from one disk to another
Date: Mon, 5 Apr 2010 08:03:51 +0100 [thread overview]
Message-ID: <20100405080351.5eefd62e@digimed.co.uk> (raw)
In-Reply-To: <hpben6$c97$1@dough.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]
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.
--
Neil Bothwick
C&W music backward: get yer dog, wife, job, truck, kids, and sobriety
back.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-04-05 8:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-04 19:05 [gentoo-user] Moving the system from one disk to another meino.cramer
2010-04-04 19:09 ` covici
2010-04-04 19:35 ` [gentoo-user] " Kerin Millar
2010-04-04 20:04 ` Neil Bothwick
2010-04-04 23:51 ` Kacper Kopczyński
2010-04-05 0:16 ` Kerin Millar
2010-04-05 1:34 ` walt
2010-04-05 1:49 ` Kerin Millar
2010-04-05 7:03 ` Neil Bothwick [this message]
[not found] ` <201004051201.30038.michaelkintzios@gmail.com>
2010-04-05 11:10 ` Neil Bothwick
2010-04-06 2:51 ` [gentoo-user] " Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100405080351.5eefd62e@digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox