On Fri, 31 Mar 2000, Michael wrote:
> > /dev/md0 /dev/hda1 + /dev/hdc1 29.7 GB RAID-1
> > /dev/md1 /dev/hda2 + /dev/hdc2 0.3 GB RAID-1
> >
> > We use /dev/md0 for the root fs and /dev/md1 for swap. Why?
> > Because it takes about 90 minutes to remirror /dev/md0 and only
> > about 2 minutes to remirror /dev/md1. Since we cannot turn on
> > swapping onto RAID while a remirror is in progress, we only have to
> > delay enabling swap for 2 minutes until /dev/md1 is completed.
>
> hmmm..... the remirroring code is not very smart... as I recall it
> does the remirroring in order .. i.e. md0, md1, etc... This would
> imply that if you have a power fail or other crash that causes both
> md's to be faulty, the system will not be able to swap until md0,
> then md1 is remirrored. The boot and swap md's should always be the
> first two raid partitions under this scenario as they are very small
> and will remirror quickly allowing swapping to proceed while the main
> array remirrors.
We tested this, and it appeared that things remirrored simultaneously. If
you are correct, of course it would make sense to reverse the nodes.
-- Mike