• 2playgames
  • Registratie: Februari 2005
  • Laatst online: 01-06-2025
Voor het installeren van een server met software raid gebruik ik deze gids:
http://advosys.ca/viewpoi...re-raid-in-ubuntu-server/

Korte vraag: In die gids wordt de tweede raid-partitie (swap) als RAID1 gemaakt. Kan ik voor swap niet beter RAID0 gebruiken?

  • donotwant
  • Registratie: November 2007
  • Laatst online: 13-01 20:30
raid0 is mijns inziens ook sneller voor swap, en de data die erop komt te staat is ook niet bepaald belangrijk

  • CyBeR
  • Registratie: September 2001
  • Niet online

CyBeR

💩

Voor swap space is raid 0 idd beter vanwege de hogere schrijfsnelheden die je krijgt vergeleken bij raid 1.

All my posts are provided as-is. They come with NO WARRANTY at all.


  • Rainmaker
  • Registratie: Augustus 2000
  • Laatst online: 14-07-2024

Rainmaker

RHCDS

Lijkt mij inderdaad ook beter, maar verderop in het artikel relativeren ze het wel:
Why RAID swap?
You might be wondering why we put swap on a RAID device, causing system swap activity to suffer the additional overhead of RAID.

Though Linux is capable of handling multiple independent swap partitions on multiple drives, if a drive containing an active swap partition dies it may take the system down with it. That defeats the point of having RAID in the first place, so to avoid that possibility we put the swap in RAID.

This creates more overhead, but swap is only meant as temporary substitute memory during rare moments of high load. If the system is regularly using swap, performance is already being severely impacted and it’s time to add more physical memory.

We are pentium of borg. Division is futile. You will be approximated.


  • CyBeR
  • Registratie: September 2001
  • Niet online

CyBeR

💩

Een doos met software raid gaat 9 uit 10 keer sowieso wel dood (dwz, heeft reboot nodig) als er een disk dood gaat, of dat nou raid 1 is of niet.

[ Voor 9% gewijzigd door CyBeR op 18-12-2008 20:51 ]

All my posts are provided as-is. They come with NO WARRANTY at all.


  • 2playgames
  • Registratie: Februari 2005
  • Laatst online: 01-06-2025
Het gaat hier om een thuisserver, geen kritieke bedrijfsserver. Het is dus niet zo erg als die even down gaat.

Ik pak lekker RAID0 :)

  • ph0t0nix
  • Registratie: December 2006
  • Laatst online: 27-01 01:06
Swap ondersteund van zichzelf al RAID0. Je kunt gewoon twee swappartities maken en beide met swapon -p 10 starten. Dan gaat de kernel ze zelf op de juiste manier benaderen, voor de uitleg van de -p switch zie de manpage van swapon. Zie ooksectie 2.3 op: http://www.linux.com/base...oftware-RAID-HOWTO-2.html
Pagina: 1