christopher barry on 11 Apr 2013 09:45:09 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] RAID for swap? |
On Thu, 2013-04-11 at 11:37 -0400, Walt Mankowski wrote: > On Thu, Apr 11, 2013 at 10:49:21AM -0400, Casey Bralla wrote: > > Recently, I got a lot of good advice about how to setup RAID and I have a > > follow-up question. > > > > Should I RAID the swap space too? > > > > It seems to me that having the swap partition RAID'd would increase the > > reliability of swap, at the penalty of execution speed when it is needed. > > Alternately, I could simply create two swap partitions, and only use 1 of > > them. If that disk died, I could just manually activate the swap on the other > > disk. > > > > BTW, my situation is that I have 2 identical SATA disks. I thought I would > > partition them identically, with a single large root partition and a swap > > partition. I could put the /boot partition separately on one of the disks in > > lieu of the second swap partition, but then I've reduced the reliability of > > booting if one disks dies. > > > > Any thoughts or suggestions? TIA! > > If you used swap files instead of a swap partition, and put the files > on a RAID drive, wouldn't the files have the same protection that any > other file on RAID would? > > Walt > ___________________________________________________________________________ > Philadelphia Linux Users Group -- http://www.phillylinux.org > Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce > General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug Use a separate SSD for swap if you *really* think you'll be needing to regularly use swap. Otherwise, install enough memory for your needs. Avoid having to use swap in the first place. -C ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug