Le 21/05/2018 à 21:03, Abdullah Ramazanoğlu a écrit :
Forgot to add that in a raid-1 setup swap partition*s* should not be mirrored.
Of course they should be mirrored in RAID 1 too. Otherwise it defeats the purpose of RAID 1.
There should be 2 separate non-mirrored swap partitions, one on each drive, for better swap performance (distributed I/O).
The purpose of RAID 1 is to provide redundancy and availability, not performance. What do you think happens to a running system when one half of the swap suddenly becomes unavailable after a disk failure ?