Re: Growing a RAID-0 "internally"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux