Re: [SLE] Backup of RAID1 partition



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

Attachment: pgp1vfn4APwMh.pgp
Description: PGP signature



Relevant Pages

  • Re: [SLE] Backup of RAID1 partition
    ... Most recommendations I've read are NOT to use raid for swap. ... There's no reason to use RAID for swap performance reasons. ... can stripe swapping on several devices, if you just give them the same ...
    (SuSE)
  • Re: [SLE] Backup of RAID1 partition
    ... On Wednesday 23 August 2006 00:49, Justin Piszcz wrote: ... You DEFINITELY want to do this, otherwise, when 1 disk dies, so does ... Most systems don't use swap. ... Anything that contrives to memory starve a properly provisioned server will ...
    (SuSE)
  • Re: [SLE] SUSE 9.0, software RAID, and booting
    ... I do not want any of the drives holding parts of swap to crash the ... It looks like I will have to go with LILO instead of GRUB. ... have to establish the RAID after the initial setup. ...
    (SuSE)
  • Re: [opensuse] Swap Software RAID 1 not working, SuSE 10.3
    ... raid 5 actually and it also suffers the same problem. ... must change this in 10.3 in order to get swap on raid 1 or raid 5 ... physical drives to make up multiple raid arrays, if my swap partition ... I have 3 G of RAM and I rarely use any swap on disk, ...
    (SuSE)
  • Re: [opensuse] Swap Software RAID 1 not working, SuSE 10.3
    ... didn't have to go raid 0 in order to fix this problem and now it works ... partitions in an emergency, either when you run short or if the array ... physical drives to make up multiple raid arrays, if my swap partition ... I have 3 G of RAM and I rarely use any swap on disk, ...
    (SuSE)