tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: swap and RAID
@ 2000-12-08 14:29 Francis Lachance
  0 siblings, 0 replies; only message in thread
From: Francis Lachance @ 2000-12-08 14:29 UTC (permalink / raw)
  To: tru64-unix-managers

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-08 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-08 14:29 SUMMARY: swap and RAID Francis Lachance

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox