Walt Mankowski on 11 Apr 2013 08:37:41 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] RAID for swap? |
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
Attachment:
signature.asc
Description: Digital signature
___________________________________________________________________________ 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