Hi, I had raid0 my swap partitions, but in my experience, it causes a kernel panic in case of failure of 1 disk. I assume crashing depends on what is using that swap space at the moment of failure. On the other hand, if swap is on raid1, crashing of 1 disk doesn't affect the correct functioning of the machine.
Ciao Simone
Francois Caen wrote:
On 4/19/05, Joshua Baker-LePain jlb17@duke.edu wrote:
If you want the system to survive losing a disk (i.e. it stays up until you shut it down to swap the disk (if you don't have hot swap)), you must RAID all partitions, including swap. In a ks.cfg, it looks something like this:
The reason I don't softraid1 my swaps is that the default behavior is striping a-la-raid0 if you have multiple swaps. At least that's my understanding of it.
You guys bring up a good point in case of drive failure. I never tested it. Do you guys know what happens if the swaps are not softraid1? Does the kernel panic or something of the like? Or does it survive and just operate on less swapspace?
Francois _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos