linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Extending a 4×3Tb RAID10
@ 2013-07-09 18:22 martin f krafft
  2013-07-09 21:24 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: martin f krafft @ 2013-07-09 18:22 UTC (permalink / raw)
  To: linux-raid mailing list

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

Hello,

We have a RAID10 across 4 3TB drives (metadata version 1.2,
2 offset-copies, bitmaps), with LVM on top. We are running out of
space, but we don't really want to invest in 4 new 4TB drives right
now.

Is it possible to replace only two of the 3TB drives with 4TB drives
and get an extra terrabyte into the array somehow?

Anything I tried so far on a test system didn't work. I can add the
new devices to the RAID, but if I try to grow the array to the new
size, I get:

  mdadm: component size of /dev/md2 unchanged at X

Do I have to fail two drives, create a new RAID10, add a new LVM PV
on it, and pvmove the data over, all the while hoping that none of
the four disks die — even though there is a backup (the two failed
drives), that's a one-shot backup and that is too risky.

That said, it isn't even possible to have a RAID10 across 2x2 pairs
of disks with different sizes, is it? Why not? I'd really rather
avoid pulling two RAID1s together with LVM, although I guess that is
essentially the same as RAID10.

Thanks,

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"the pure and simple truth is rarely pure and never simple."
                                                      -- oscar wilde
 
spamtraps: madduck.bogus@madduck.net

[-- Attachment #2: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current) --]
[-- Type: application/pgp-signature, Size: 1124 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Extending a 4×3Tb RAID10
  2013-07-09 18:22 Extending a 4×3Tb RAID10 martin f krafft
@ 2013-07-09 21:24 ` NeilBrown
  0 siblings, 0 replies; 2+ messages in thread
From: NeilBrown @ 2013-07-09 21:24 UTC (permalink / raw)
  To: martin f krafft; +Cc: linux-raid mailing list

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

On Tue, 9 Jul 2013 20:22:22 +0200 martin f krafft <madduck@madduck.net> wrote:

> Hello,
> 
> We have a RAID10 across 4 3TB drives (metadata version 1.2,
> 2 offset-copies, bitmaps), with LVM on top. We are running out of
> space, but we don't really want to invest in 4 new 4TB drives right
> now.
> 
> Is it possible to replace only two of the 3TB drives with 4TB drives
> and get an extra terrabyte into the array somehow?
> 
> Anything I tried so far on a test system didn't work. I can add the
> new devices to the RAID, but if I try to grow the array to the new
> size, I get:
> 
>   mdadm: component size of /dev/md2 unchanged at X
> 
> Do I have to fail two drives, create a new RAID10, add a new LVM PV
> on it, and pvmove the data over, all the while hoping that none of
> the four disks die — even though there is a backup (the two failed
> drives), that's a one-shot backup and that is too risky.
> 
> That said, it isn't even possible to have a RAID10 across 2x2 pairs
> of disks with different sizes, is it? Why not? I'd really rather
> avoid pulling two RAID1s together with LVM, although I guess that is
> essentially the same as RAID10.

Hi Martin.

Now you cannot have any array-with-redundancy using different amounts of
different devices.  All devices must contribute equally to the array (this
doesn't apply to RAID0 or Linear, only RAID1 and higher numbers).

This is because the definition of a "spare" device would become more
complicated.  You would need two different sized spares, or have to choose
whether it is OK to use a "big" spare to replace a "small" device, or maybe
have an array with a spare and a failed device and not be able to rebuild
because the spare isn't big enough.

It really is much easier to just say "no".

To get the sort of flexibility you want you would need to have two separate
RAID1s which are combined with LVM.

NeilBrown

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-09 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-09 18:22 Extending a 4×3Tb RAID10 martin f krafft
2013-07-09 21:24 ` NeilBrown

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).