On Wed, 23 Aug 2006, John Andersen wrote:
On Wednesday 23 August 2006 00:46, John Andersen wrote:
On Wednesday 23 August 2006 00:41, Justin Piszcz wrote:
Why are you running swap on a raid device?
You DEFINITELY want to do this, otherwise, when 1 disk dies, so does your system if its using that swap!
Most systems don't use swap. Servers probably never should.
Most recommendations I've read are NOT to use raid for swap.
Some processes might die, but usually the system survives when swap is demounted.
More info: From http://www.tldp.org/HOWTO/Software-RAID-HOWTO-2.html
2.3 Swapping on RAID There's no reason to use RAID for swap performance reasons. The kernel itself can stripe swapping on several devices, if you just give them the same priority in the /etc/fstab file. -- _____________________________________ John Andersen
Yeah, that is the 'cheap' way to do it if you don't want to go through the hassle of setting up your box to use SW RAID. Justin.