Fred Reimer wrote:
>
> Well you're wrong at least about the man pages. In mkraid it explains
> the options --upgrade and --force. <interrupted>
Well, "explains" is a little bit too much said, but yes, it is there.
> I think you need both in order to
> upgrade existing RAID arrays. Presumably you would
> create your /etc/raidtab to match the configuration of
> your existing RAID partitions, run mkraid --upgrade --force, and
> everything would magically be upgraded. Unfortunately I can't test
> this for you right now...
>
> It's my impression that it would be preferred, if at all possible, to
> recreate your array from scratch and restore the data from another
> partition or tape or whatever you have available. I don't know if the
> persistent superblocks would get setup during an upgrade, or if you can
> change stuff like the chunksize or not. Depending on how you have your
> old array setup it may be perferrable to recreate them...
>
OK, so proposed way to go is:
1.) install raidtools-0.90 (done)
2.) d/l, compile, install 2.2.12-final (or patch a kernel) (done)
At this point I have both old and new raidtools available. But how
should I proceed?
3a) with old kernel: init S and umount all mdx (if possible), mdstop
them and mkraid --upgrade (--force). (does this work on old kernel?)
4a) reboot to new kernel, then re-create all with
persistent-superblock=1?
-or-
3b) boot into new kernel -> fsck complains about zero-length partitions
(or similar) -> sulogin -> mkraid --upgrade (--force) -> exit -> done?
4b) re-create all md's (I will have to anyway, because I just ordered
another drive that I would like to add to the array)
> I hope you don't consider this a flame and somewhat useful...
>
<snip>
No, thanks for the quick answer :-)
Marc
--
Marc Mutz <[EMAIL PROTECTED]> http://marc.mutz.com/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics
PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)