linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brad Campbell <brad@wasp.net.au>
To: RAID Linux <linux-raid@vger.kernel.org>
Subject: Swapping out for larger disks
Date: Tue, 08 May 2007 14:50:29 +0400	[thread overview]
Message-ID: <464055F5.2090108@wasp.net.au> (raw)

G'day all,

I've got 3 arrays here. A 3 drive raid-5, a 10 drive raid-5 and a 15 drive raid-6. They are all 
currently 250GB SATA drives.

I'm contemplating an upgrade to 500GB drives on one or more of the arrays and wondering the best way 
to do the physical swap.

The slow and steady way would be to degrade the array, remove a disk, add the new disk, lather, 
rinse, repeat. After which I could use mdadm --grow. There is the concern of a degraded array here 
though (and one of the reasons I'm looking to swap is some of the disks have about 30,000 hours on 
the clock and are growing the odd defect).

I was more wondering about the feasibility of using dd to copy the drive contents to the larger 
drives (then I could do 5 at a time) and working it from there.

It occurs though that the superblocks would be in the wrong place for the new drives and I'm 
wondering if the kernel or mdadm might not find them.

Ideas? Suggestions ?

Brad
-- 
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams

             reply	other threads:[~2007-05-08 10:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-08 10:50 Brad Campbell [this message]
2007-05-08 11:28 ` Swapping out for larger disks Michael Tokarev
2007-05-08 11:35 ` David Greaves
2007-05-08 12:43   ` Brad Campbell

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=464055F5.2090108@wasp.net.au \
    --to=brad@wasp.net.au \
    --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).