Growing a RAID-0 "internally"?
am 08.06.2011 22:34:06 von lopresti
Hi. =A0I have a RAID-0 striped across two partitions; let's call them
/dev/sda2 and /dev/sdb2 (equal size). =A0These partitions do not stretc=
h
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: =A0How do I use mdadm to
change the size of the drives inside the RAID-0 array? =A0Or is this no=
t
supported?
Thank you.
=A0- Pat
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Growing a RAID-0 "internally"?
am 09.06.2011 02:50:21 von Stan Hoeppner
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
--
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