On Thursday April 12, [EMAIL PROTECTED] wrote:
> I forgot to ask something, sorry. With RAID0 and all the odd size drives 
> I have I'd get a lot of left over unused space. Is there anyway to make 
> use of this slack?

md/raid0 makes use of all available space (modulo chunk size).
To quote from "man md"

   RAID0
       A  RAID0  array  (which has zero redundancy) is also known as a striped
       array.  A RAID0 array is configured at creation with a Chunk Size which
       must be a power of two, and at least 4 kibibytes.

       The  RAID0  driver  assigns  the  first chunk of the array to the first
       device, the second chunk to the second device,  and  so  on  until  all
       drives have been assigned one chunk.  This collection of chunks forms a
       stripe.  Further chunks are gathered into stripes in the same way which
       are assigned to the remaining space in the drives.

       If devices in the array are not all the same size, then once the smallā€
       est device has been  exhausted,  the  RAID0  driver  starts  collecting
       chunks  into smaller stripes that only span the drives which still have
       remaining space.


(If you think that isn't suitable clear, you are probably correct.
Improvements always welcome).

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to