View previous topic :: View next topic |
Author |
Message |
odioworks_com Tux's lil' helper
Joined: 23 Jan 2005 Posts: 82 Location: Charlottesville, Virginia
|
Posted: Mon Apr 14, 2008 9:11 pm Post subject: should swap be raid0? |
|
|
I noticed in this howto: http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID that they're creating raid0 swap on a system that's otherwise raid1:
Code: | mdadm --create --verbose /dev/md2 --level=0 --raid-devices=2 /dev/sda2 /dev/sdb2 |
I would think that striping swap would create an unnecessary risk of data corruption in memory, which could really suck. What do you guys think? Why not raid1? I would think that would be preferred, especially on machines where the swap isn't frequently used... |
|
Back to top |
|
|
neysx Retired Dev
Joined: 27 Jan 2003 Posts: 795
|
|
Back to top |
|
|
odioworks_com Tux's lil' helper
Joined: 23 Jan 2005 Posts: 82 Location: Charlottesville, Virginia
|
Posted: Mon Apr 14, 2008 10:05 pm Post subject: |
|
|
so it seems like this part of the wiki should be updated? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9882 Location: almost Mile High in the USA
|
Posted: Mon Apr 14, 2008 11:04 pm Post subject: |
|
|
I put my swap *file* on RAID5... mostly because I'm lazy
I suppose if you don't care if your machine goes down in flames you'd use raid0 anyway, so sticking swap on raid0 isn't any worse... but in my case I have enough RAM and swap is only an emergency buffer and the reliability I get swapping on raid5 is much more valuable...
Since anyone can edit the page feel free to... it's a wiki after all. If not fixed by the next time I read it, I guess I'll fix it (along with its "Prequisits"(sic)). _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|