* Extending an existing RAID (10) array
@ 2013-07-03 19:04 cvb
2013-07-03 23:24 ` NeilBrown
0 siblings, 1 reply; 4+ messages in thread
From: cvb @ 2013-07-03 19:04 UTC (permalink / raw)
To: linux-raid
Hi, I have a short and hopefully simple question: On
https://raid.wiki.kernel.org/index.php/Growing
there is a section on expanding existing partitions. Does the procedure
described there also apply to RAID 10 arrays?
I'm asking, because the section above says explicitly that it only
applies to RAID level 1/4/5/6 arrays. The section on extending
partitions is silent on that point...
I have a RAID 10 (software) array here, consisting of 4 disks. As one
of the disks is a bit flaky, I'm thinking of replacing the (all) disks,
maybe with bigger ones - if that should work.
Thanks, Chris
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Extending an existing RAID (10) array
2013-07-03 19:04 Extending an existing RAID (10) array cvb
@ 2013-07-03 23:24 ` NeilBrown
2013-07-07 6:33 ` Christian
0 siblings, 1 reply; 4+ messages in thread
From: NeilBrown @ 2013-07-03 23:24 UTC (permalink / raw)
To: cvb; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]
On Wed, 03 Jul 2013 21:04:00 +0200 cvb@kruemel.org wrote:
> Hi, I have a short and hopefully simple question: On
>
> https://raid.wiki.kernel.org/index.php/Growing
>
> there is a section on expanding existing partitions. Does the procedure
> described there also apply to RAID 10 arrays?
>
> I'm asking, because the section above says explicitly that it only
> applies to RAID level 1/4/5/6 arrays. The section on extending
> partitions is silent on that point...
>
> I have a RAID 10 (software) array here, consisting of 4 disks. As one
> of the disks is a bit flaky, I'm thinking of replacing the (all) disks,
> maybe with bigger ones - if that should work.
>
There are two dimensions for growing an array - it is good to be explicit.
I think you are just talking about making the devices bigger without
increasing the number of devices.
This possible for RAID10 as long as it uses a 'near' or 'offset' layout. It
is not support for 'far' layout RAID10.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Extending an existing RAID (10) array
2013-07-03 23:24 ` NeilBrown
@ 2013-07-07 6:33 ` Christian
2013-07-07 22:31 ` NeilBrown
0 siblings, 1 reply; 4+ messages in thread
From: Christian @ 2013-07-07 6:33 UTC (permalink / raw)
To: NeilBrown; +Cc: linux-raid
On 04.07.2013 01:24, NeilBrown wrote:
> I think you are just talking about making the devices bigger without
> increasing the number of devices.
> This possible for RAID10 as long as it uses a 'near' or 'offset' layout. It
> is not support for 'far' layout RAID10.
And as I just found out after some googling, growing RAID10 requires at
least kernel 3.4rc. I have Ubuntu 12.04, which has kernel 3.2
I'm now thinking I could use a parted magic live cd to grow the array,
and then continue using it with my current linux distribution. Am I
right in this assumption? Or have I missed something?
Thanks, Chris
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Extending an existing RAID (10) array
2013-07-07 6:33 ` Christian
@ 2013-07-07 22:31 ` NeilBrown
0 siblings, 0 replies; 4+ messages in thread
From: NeilBrown @ 2013-07-07 22:31 UTC (permalink / raw)
To: Christian; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
On Sun, 07 Jul 2013 08:33:19 +0200 Christian <CvB@kruemel.org> wrote:
> On 04.07.2013 01:24, NeilBrown wrote:
> > I think you are just talking about making the devices bigger without
> > increasing the number of devices.
> > This possible for RAID10 as long as it uses a 'near' or 'offset' layout. It
> > is not support for 'far' layout RAID10.
>
> And as I just found out after some googling, growing RAID10 requires at
> least kernel 3.4rc. I have Ubuntu 12.04, which has kernel 3.2
>
> I'm now thinking I could use a parted magic live cd to grow the array,
> and then continue using it with my current linux distribution. Am I
> right in this assumption? Or have I missed something?
>
> Thanks, Chris
I don't know anything about parted magic live cds, but if you somehow boot
into a nice new kernel that supports resizing RAID10 arrays, and resize the
array and then go back to your old kernel, that should all work.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-07-07 22:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-03 19:04 Extending an existing RAID (10) array cvb
2013-07-03 23:24 ` NeilBrown
2013-07-07 6:33 ` Christian
2013-07-07 22:31 ` 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).