Hi people !
I started hacking together a utility to allow resizing and eventually
reconfiguration of RAID sets.
The utility is called ``raidreconf'', and I intend to make it read two raidtab
files (eg. raidtab and raidtab.new), and then (if possible) convert the given
MD device from the layout in the old raidtab file to the layout in the new one.
I just got it working, at least a little, so now I can resize a RAID0 array
successfully.
Now, the code is *not* production quality, in fact, it's not even alpha
quality, or any quality for that matter. I know there is a large number of
bugs in the code, and I'll throw in another day or so to get the code prettier,
less unstable, and more functional.
I tested it on a three-disk RAID0, and successfully expanded it to a four-disk
RAID0. But that's it. The code can currently _only_ expand a RAID0 set.
And mind you, that's not even stable in all cases, just the case where you have
equally sized disks in a simple ordering.
The reason I'm writing about it now is, that I'd like to hear comments on the
idea. Is it reasonable to use two raidtab files and a raid-device on the
command-line, then try the conversion ? And what features would people like to
see ?
I guess resizing is the most urgently needed feature. But conversion from
raid0 to raid5 etc. might be something worth hacking on too ?
Anyway, if you have too much free time on your hands, you can take a look at
the code at http://ostenfeld.dk/~jakob/Software-RAID.HOWTO/
Cheers,
................................................................
: [EMAIL PROTECTED] : And I see the elder races, :
:.........................: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
: OZ9ABN : his downfall is at hand. :
:.........................:............{Konkhra}...............: