linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: rfu@kaneda.iguw.tuwien.ac.at
To: linux-raid@vger.kernel.org
Subject: migrating raid-1 to different drive geometry ?
Date: Mon, 24 Jan 2005 15:59:10 +0100	[thread overview]
Message-ID: <20050124145910.GC29766@kaneda> (raw)

Hi,

I'm running Fedora Core 1 on a server with 2 identical
60 GB ATA drives. These drives are organized in a RAID1
with 4 partitions.

I now want to replace both drives with two different
(but also identical) ATA drives with about 80 to 120 GB
capacity each.

how can the existing raid setup be moved to the new disks 
without data loss ?

I guess it must be something like this:

1) physically remove first old drive
2) physically add first new drive
3) re-create partitions on new drive
4) run raidhotadd for each partition
5) wait until all partitions synced
6) repeat with second drive

the big question is: since the drive geometry will definitely different
between old 60GB and new 80GB drive(s), how do the new partitions 
have to be created on the new drive ?
- do they have to have exactly the same amount of blocks ?
- may they be bigger ?

are there better strategies for such a migration ?

tnx in advance.

rainer. 


             reply	other threads:[~2005-01-24 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-24 14:59 rfu [this message]
2005-01-24 22:47 ` migrating raid-1 to different drive geometry ? Neil Brown
2005-01-25  0:35   ` Robin Bowes
2005-01-25  0:53     ` Neil Brown
2005-01-25  0:54     ` Mike Hardy
2005-01-25  8:22       ` Robin Bowes
2005-01-25 18:13         ` Mike Hardy

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=20050124145910.GC29766@kaneda \
    --to=rfu@kaneda.iguw.tuwien.ac.at \
    --cc=linux-raid@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).