At 11:42 19.03.99 +0000, you wrote:
>[ raidtools-19990309-0.90, Linux 2.2.2 + raid0145-19990309 ]
>
>I now get the idea that I should not do this, but could it fail somewhat
more
>gracefully ?
Yep, it definitely should. Guess I'll write a patch to catch some of the
possible setup errors (mirror with 1 disk, raid4/5 with two disks (?), any
others?).
Why you shouln't do it: raidhotadd doesn't change the number of raid-disks
the mirror has. So (ignoring the fact that the process crashes) a 2nd disk
wouldn't be used as a 2nd mirror - it would just sit there as a spare. Alle
the raid disks are available and running (one out of one).
I had thought about changing this, only it can't be readily adapted to
raid5 - changing the number of raid-disks would change the size of the
filesystem. That's why I came up with the "failed-disk" idea. You specify
how many disks you actually want right at creation time, only you don't use
one of them.
"you have moved your mouse, please reboot to make this change take effect"
--------------------------------------------------
Martin Bene vox: +43-664-3251047
simon media fax: +43-316-813824-6
Andreas-Hofer-Platz 9 e-mail: [EMAIL PROTECTED]
8010 Graz, Austria
--------------------------------------------------
finger [EMAIL PROTECTED] for PGP public key