Answer the question
In order to leave comments, you need to log in
whether it is possible to create a sheaf RAID0+RAID1 on softovy reyd?
I recently installed a system (CentOs) and wondered if it was possible to create a similar bundle on a software raid? For example, make a swap partition in RAID0, and / in RAID1 or RAID10. Will there be problems or limitations in performance, security in the future?
2 disks, ext3, normal consumer mother.
Answer the question
In order to leave comments, you need to log in
Swap does not need to be created on Raid0, this greatly increases the likelihood of individual services crashing, and the server as a whole ...
In general, you don’t need to chase swap performance - you need to configure the server so that it is not used in normal mode.
Regarding different raids on the same disks:
Nobody prevents you from dividing disks equally into partitions, and creating a raid not from disks but from partitions (for this, by the way, there is a special type of partition fd or fd00). As a result, getting raids of various levels. For example, raid1 for boot and raid 10 for /, and the same swap.
There is no problem, cut disks into partitions, raise a raid between partitions
md0 -> /dev/sda1 /dev/sdb1
md1 -> /dev/sda2 /dev/sdb2
There are no performance issues. Didn't meet with security either.
In no case do not create swap in raid0 if it is a pity to lose data in memory (especially if there is mysql on the machine - it will blow its head off if it swaps, and the raid under swap will fall apart).
Scheme mgyk described above is correct.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question