I will keep my swap disk on a RAID1 set. Pros: safer. Cons: slower (can you
really see a difference?).
Thanks to Alan, Mandell, Elizabeth, John, Nikola and Ed for their input.
Here are their answers:
An I/O error reading or writing the page/swap space will
cause a system to crash just as quickly as most other
panics. RAID-1 will reduce the chance that an I/O error
on one disk will be filtered back up to the host. However,
if the system disk partitions and any other page/swap spaces
aren't equally protected, it may not matter.
Alan
That would depend on what you are using to do the RAID 1 (stripe set, I
assume).
If you are using hardware RAID, your setup is fine.
If you are using software RAID, you should use the disks JBOD to improve
performance.
Mandell
If you are mirroring an entire installation, /, /usr, /var as well as the
swap I don't see anything wrong with that.
However, if the disks are used ONLY for swap I begin to wonder. If this
system absolutely, positively can never, ever go down then using a RAID-1
for swap makes sense in a paranoid kind of way. Otherwise you would get
better performance using them as JBOD.
Elizabeth
I'm quite sure it is okay to have a swap on RAID1 like that.
John
In case of a failure, your mirror with the swap will survive. If you
break the mirror, you'll get twice the swap space at excellent speed
(two separate disks), which might cause your system to crash in case of
a failure.
Nix.
My posting was:
I got a system which has two 4GB disks in a RAID 1 set. That RAID set is
used for the system swap disk. Is it ok to have the swap on a RAID 1 like
that or would I be better off using these two disks as JBOD and use them
both for swap disk.
Received on Fri Dec 08 2000 - 14:35:04 NZDT