[Dirvish] Backup dies with out a trace

Paul Slootman paul at debian.org
Wed Mar 5 18:46:14 UTC 2008


On Wed 05 Mar 2008, Shawn (Red Mop) wrote:
> On Wednesday 05 March 2008 08:58:43 am Petcher, Daniel wrote:
> > I vaguely remember reading (I think it might have been in the MD or LVM man
> > pages) that RAID-ing swap space was not necessary in kernel 2.6 (and
> > possibly 2.4), because if you add multiple swap areas, the OS will balance
> > the swapping-load among them to achieve the same effect without the
> > management overhead of RAID. You might be working harder than you need to.

This is only true if you're considering swap over raid-0 (striping).


> The idea behind raiding swap isn't that it makes things faster, but instead it 
> protects against losing a drive with swap on it.  Losing a drive with 
> unRAIDed swap on it WILL take down the server.

Indeed! If the swapped out data can't be retrieved, your system will
suffer greatly...
(Be careful about the term "unRAIDed swap", RAID-0 won't help...)


Paul Slootman


More information about the Dirvish mailing list