kernel 2.2.19 raid 0.90 (2.4.x is not an option at this time for us).
I'm interested in raid1 only.
The hotwo says you cannot swap on a raid device when it's
reconsrtucting/resyncing.
I'd prefer not to play with scripts to avoid swapping until resync/reconstruct
is done.
Is swapping to a file inside a mirrored file-system safe, always, even when
reconstruct/resync?
ie
1)
/ -> /dev/md0 -> /dev/hda1 /dev/hdc1
swapon /root/swapfile
is this always safe?
2)
/swap -> /dev/md0 -> /dev/hda1+/dev/hdc1
/ -> /dev/md1 -> /dev/hda2+/dev/hdc2
mke2fs /dev/md0
... dd, mkswap...
swapon /swap/swapfile
is this always safe?
This post from mingo seems to say so
http://groups.google.com/groups?hl=it&lr=&safe=off&ic=1&th=693f77f441bf1844,2&seekm=linux.kernel.39CF6A64.E56CB9A1%40roanoke.edu#p
but it's not very clear, he talks about raid5.
I'd like a definitive answer if possible :)
Thanks
--
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]