Re: md extension to support booting from raid whole disks.
From: Goswin von Brederlow <hidden>
Date: 2009-05-10 01:29:34
Peter Rabbitson [off-list ref] writes:
Goswin von Brederlow wrote:quoted
If the hidden raid1 is just reserved space that is considered part of the raid metadata then this moves completly into mdadm userspace. The extra complexity comes down to "read reserved space from old disk, write reserved space to new disk". In the most basic form that is 3 lines of code (declare buffer, read, write).This is the best description of the problem/benefit so far. Also when deciding on the size of the reserved space, factor in possible bitmap size explosion when moving from say a 4x300G raid6 to a 4x2T raid6. +1 on this feature request Cheers
From what Neil described it should be no problem to resize the amount
of space used for metadata. It would have to copy around all the data
of the raid, do a reshape basically, but that isn't hard. Or it could
be limited to adding drives, which would need to do a resync anyway,
e.g. something like
mdadm --add --reserved-space=3M --bitmap-space=4M /dev/md0 /dev/sdx
MfG
Goswin
PS: tests seem to show though that smaller bitmaps are faster