* Growing a RAID-0 "internally"?
@ 2011-06-08 20:34 Patrick J. LoPresti
2011-06-09 0:50 ` Stan Hoeppner
0 siblings, 1 reply; 2+ messages in thread
From: Patrick J. LoPresti @ 2011-06-08 20:34 UTC (permalink / raw)
To: linux-raid
Hi. I have a RAID-0 striped across two partitions; let's call them
/dev/sda2 and /dev/sdb2 (equal size). These partitions do not stretch
to the end of the respective drives; that is, there is also a
/dev/sda3 and /dev/sdb3 (also equal size).
I want to delete partitions sda3 and sdb3, resize sda2 and sdb2 to
consume the additional space, and then grow my RAID-0 array to use it.
I know how to perform every step (e.g., modifying partition tables,
resizing the file system) except for one: How do I use mdadm to
change the size of the drives inside the RAID-0 array? Or is this not
supported?
Thank you.
- Pat
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Growing a RAID-0 "internally"?
2011-06-08 20:34 Growing a RAID-0 "internally"? Patrick J. LoPresti
@ 2011-06-09 0:50 ` Stan Hoeppner
0 siblings, 0 replies; 2+ messages in thread
From: Stan Hoeppner @ 2011-06-09 0:50 UTC (permalink / raw)
To: Patrick J. LoPresti; +Cc: linux-raid
On 6/8/2011 3:34 PM, Patrick J. LoPresti wrote:
> Hi. I have a RAID-0 striped across two partitions; let's call them
> /dev/sda2 and /dev/sdb2 (equal size). These partitions do not stretch
> to the end of the respective drives; that is, there is also a
> /dev/sda3 and /dev/sdb3 (also equal size).
>
> I want to delete partitions sda3 and sdb3, resize sda2 and sdb2 to
> consume the additional space, and then grow my RAID-0 array to use it.
>
> I know how to perform every step (e.g., modifying partition tables,
> resizing the file system) except for one: How do I use mdadm to
> change the size of the drives inside the RAID-0 array? Or is this not
> supported?
AFAIK you cannot currently grow (or shrink) an md RAID0 or RAID10.
According to 'man mdadm':
Grow
Grow (or shrink) an array, or otherwise reshape it in some way.
Currently supported growth options including changing the active size of
component devices in RAID level 1/4/5/6 and changing the number of
active devices in RAID1.
--
Stan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-09 0:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08 20:34 Growing a RAID-0 "internally"? Patrick J. LoPresti
2011-06-09 0:50 ` Stan Hoeppner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.