> I remember having seen on this list a message saying that making a swap
> file on a filesystem residing over a raid device was not possible/reliable
> (because of a race condition in the kernel?).
The kernel will automagically stripe all swap partitions given. Ie, if
you tell swap to use /dev/sda1 and dev/sdb1 it will, in effect, use the
equiv of raid 0 across them. Now, if you want to do something kinky like
raid 5, your at the point where you might as well just buy more memory
and forget about swap. :)
Sometimes I need up to 1G of swap, but that seldom occurs, so I'd like to
use that space as temporary and creating a swap file only when necessary.
I have a raid0 (striped file system) on which I'd like to build the swap
file.
Does any of you remember having seen such a discussion in the past? Does
anyone have references? Thanks.
--
Francesco Potort� (researcher) Voice: +39-050-593 203 (op. 211)
Computer Networks Group Fax: +39-050-904052
CNUCE-CNR, Via Santa Maria 36 Email: [EMAIL PROTECTED]
56126 Pisa - Italy Web: http://fly.cnuce.cnr.it/