Bob Willard wrote:
> David Brown wrote:
>> Bob Willard wrote:
>>> Bubba wrote:
>>>> Bob Willard's log on stardate 16 ruj 2009
>>>>
>>>>> No. You must backup the current array, then create a new array,
>>>>> then restore the backed-up data to the new array.
>>>>
>>>> This is a joke based on me missing something crucial in the whole
>>>> story or you are actually telling me that #$%! Adaptec has no
>>>> support for on-line array expansion on this controller? 
>>>>
>>>
>>> It is not Adaptec, it is the nature of RAID5. Draw a picture of how the
>>> data and parity blocks are spread over the HDs in the RAIDset, and how
>>> you would go about adding another HD to an existing array. While an
>>> incremental expansion could be done, if the existing array has enough
>>> unused space, it is far faster and safer to just do the full monte:
>>> backup/recreate/restore.
>>
>> I have no idea about Adaptec's controller, but with Linux md software
>> raid 5 there is no problem adding or removing drives. It can also
>> convert a raid 5 to a raid 6 when you add an extra disk. This won't
>> really help the OP if he is stuck with a proprietary controller and
>> its limits (if any - as I say, I don't know the controller or its
>> capabilities), but there is certainly nothing in raid 5 that makes
>> changing the number of devices an impossible task.
>
> Converting from RAID5 to RAID6 is trivial, since the added HD is not
> used -- just a hot spare. Failover from RAID6 to RAID5 is pretty
> messy, but growing from RAID5 to RAID6 is simple.
Either I'm missing something here, or /you/ are missing something.
Raid5 to Raid6 is far from trivial, because it is not a hot spare.
Raid6 has two parities per stripe rather than one, so you need to go
through the entire array calculating the second parity. That in itself
is pretty easy if you are happy storing the Q parity on the new disk,
but re-doing the stripe layout to standard raid 6 will involve
re-writing everything on the disk. Converting raid6 to raid 5 is sort
of the reverse - change the raid 6 standard layout to putting Q on one
disk, then removing the Q disk.
Have a look at this post from the Linux md developer:
http://neil.brown.name/blog/20090817000931