On Wed, 21 Oct 1998, Nick wrote:

> P.S.: is there a plan to support hotadd for partitions in a raid-0 array?

it's not possible to change the size of a RAID array after creation at
this point. So hotadd makes no sense as it's only used to add/remove spare
and failed disks from _redundant_ arrays that have a concept of
failed/spare disks.

if you think about how stripes get reorganized after a theoretical RAID0
hot-add (which causes a size increase), it looks very very hard to get the
reorganization done for a running array. It basically involves a full pass
through all disks and a rewrite to the 'bigger' array. Now if we fail
during this pass anywhere, all data is lost pretty likely, because we
cannot easily tell where the restructuring was at the point of failure.
While not impossible, this needs careful consideration as it not easy at
all. Offline resizing is easier, but not much easier than online resizing. 

-- mingo

Reply via email to