Re: swap not enabled if raid devices not in sync when booting
On Mon, Jan 15, 2001 at 09:59:49AM +1100, Brian May wrote:
> >>>>> "Michael" == Michael Stone <firstname.lastname@example.org> writes:
> Michael> It is unsafe to use swap on a resyncing raid
> Do you have any references for this?
No. Do your own research. :-P You can start by looking for the changelog
entry that went along with this change.
> Michael> partition. Both swap partitions and swap files will be
> Michael> corrupted if active during a resync. The course taken
> Michael> curently is the safest and easiest: if raid is resyncing,
> Michael> simply do not activate swap. It should be possible to
> Even if this *is* the case, it is still broken behaviour (IMHO), as
> the swap space is never enabled even when the RAID partitions have
> finished syncing.
As I said before, I'm sure that patches would be welcome. Memory
corruption and kernel panic are big problems. What you're complaining
about is a comparatively small problem.
> Why isn't this disabling-of-raid-swap-partitions-until-synced done
> inside the kernel if it is potentially so damaging?
Ask linus or mingo.