Swap in RAID1?
Matthew Carpenter
matt
Wed Feb 16 10:11:04 PST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Since you must treat your swap space as an extension of RAM, you should
keep it on the RAID partition. To do otherwise would be like ripping
out one of your DIMMs with the machine on. But I suppose it also
depends on what else you leave off the RAID. If you only RAID your
data, then perhaps it is less important that you mirror your swap. This
goes back to the fundamental question: What problem are you trying to
solve with the RAID array? RAID0 is great to solve size and speed
issues.... but would you want to rely on it for fault tolerance? Of
course not.
I see no reason why the machine will crash if you lose a hard drive.
That's part of the point of a RAID array. Albeit I'm still a n00b in
Linux SW RAID so perhaps that's not the case. HW RAID will not crash if
you have everything RAID1 or better.
Michael Hipp wrote:
| I've seen different answers to this question ...
|
| Should you have your swap partitions configured inside a RAID1 device or
| as separate standalone partitions?
|
| I've been hold that it'll crash anyway if you put swap in RAID and a
| drive fails. But won't it crash if you have two swaps and one goes away?
|
| Thanks,
| Michael
| _______________________________________________
| Linux-users mailing list
| Linux-users at linux-sxs.org
| http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
|
| Need to chat further on this subject? Check out #linux-users on
| irc.linux-sxs.org !
|
|
|
- --
Matthew Carpenter
matt at eisgr.com http://www.eisgr.com/
Enterprise Information Systems
* Network Server Appliances
* Security Consulting, Incident Handling & Forensics
* Network Consulting, Integration & Support
* Web Integration and E-Business
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCEotHso9lqh4MragRAhc3AJ9O7dLjvcrnutRbU1nFEBzwa2CbVgCfVZut
G71oYHVH2XtJzb7Q4bUTkiM=
=RmE7
-----END PGP SIGNATURE-----
More information about the Linux-users
mailing list