linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: linux-raid@vger.kernel.org
Subject: Re: changing to fewer larger disks
Date: Tue, 29 Jul 2014 12:55:58 +1000	[thread overview]
Message-ID: <20140729125558.5d3b40c9@notabene.brown> (raw)
In-Reply-To: <alpine.DEB.2.02.1407281545030.7929@uplift.swm.pp.se>

[-- Attachment #1: Type: text/plain, Size: 1468 bytes --]

On Mon, 28 Jul 2014 15:51:57 +0200 (CEST) Mikael Abrahamsson
<swmike@swm.pp.se> wrote:

> 
> Hi,
> 
> I just had a thought, now that we're seeing much larger drives becoming 
> available, like 6TB-drives, it would be nice if it was possible to take an 
> array consisting of 2TB-drives, replace a few of them with 6TB-drives 
> (with want-replace) and then tell MD to restripe the entire array onto 
> these fewer larger drives.
> 
> Concrete example:
> 
> 10 bays, currently RAID6 in 9 disks + 1 spare, all disks 2TB ones.
> 
> If I took out the spare and replaced it with a 6TB drive and one by one, 
> did want-replace so 5 of the drives were 6TB drives, I now potentially 
> have the space to keep the same contents on 5 6TB drives intead of 9 2TB 
> drives.
> 
> If I told mdadm to reduce the number of data drives to 5, would it then 
> intelligently choose the 5 largest ones and keep the data area intact (or 
> even grow it a little), or what would it do? If this is not the case, 
> could this functionality needed be added to the feature request list, 
> whereever that list might live?
> 

This has come up before (once I think, maybe twice - many months ago). I
think I have it on a to-do list somewhere.....

  http://neil.brown.name/blog/20110216044002#8

Yes, it would be nice.  No, it hasn't been implemented.

Now, if only we could find someone keen on turning feature requests into
working code....

NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

      reply	other threads:[~2014-07-29  2:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28 13:51 changing to fewer larger disks Mikael Abrahamsson
2014-07-29  2:55 ` NeilBrown [this message]

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=20140729125558.5d3b40c9@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=swmike@swm.pp.se \
    /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).