I am unaware of what the original problem was, according to Mike's message:
>If software RAID is in use and any swap area is on a RAID set, a kernel
>panic is certain to occur and filesystem corruption is very likely to
>occur if swapping is started while the RAID set is being
>resynchronized.
Does this mean that if you have swap on a RAID and if ANY device (even if it
isn't the swap device) resync's then there is a problem? Or can it work so
as long as swapon is run before the resync starts then it is ok?
Does anyone have any archives of the mailing list or know what the answer to
this is? It seems pretty critical!
micah
On Tue, Sep 26, 2000 at 04:09:33PM -0500, Tim Walberg wrote:
> On 09/26/2000 13:58 -0700, Micah Anderson wrote:
>
> ... stuff deleted ...
>
> >> if [ ! -e /proc/mdstat ] || \
> >> [ ! grep `grep swap /etc/fstab | awk -F/ '(print $3}'` \
> >> /proc/mdstat | grep resync ] ; then
> >> swapon -a 2> /dev/null
> >> fi
> >>
>
>
> Does this catch the case where a swap device will be
> resynced, but isn't syncing now because it has been
> serialized? I.e.:
> / = /dev/md0
> swap = /dev/md1
> md0 and md1 both have underlying partitions
> on hda and hdc
> md0 is now resyncing
> md1 needs to be resynced, but must wait
> for md0 to finish first to avoid
> severe performance degradation
>
>
>
>
> --
> +--------------------------+------------------------------+
> | Tim Walberg | [EMAIL PROTECTED] |
> | 828 Marshall Ct. | www.concentric.net/~twalberg |
> | Palatine, IL 60074 | |
> +--------------------------+------------------------------+
PGP signature