Software RAID is used to provide additional redundancy to the host system and add some performance for the OpenStack. The configureation is the following:
$ lsblk -i NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk |-sda1 8:1 0 7.5G 0 part [SWAP] |-sda2 8:2 0 279.4G 0 part | `-md1 9:1 0 558.8G 0 raid0 /opt `-sda3 8:3 0 178.8G 0 part `-md0 9:0 0 178.7G 0 raid1 / sdb 8:16 0 465.8G 0 disk |-sdb1 8:17 0 7.5G 0 part [SWAP] |-sdb2 8:18 0 279.4G 0 part | `-md1 9:1 0 558.8G 0 raid0 /opt `-sdb3 8:19 0 178.8G 0 part `-md0 9:0 0 178.7G 0 raid1 / sr0 11:0 1 1024M 0 rom
/ets/fstab should be modified in order to allow the system use both swap partitions simultaneously: add pri=0 option
# swap was on /dev/sda1 during installation UUID=c8a3ca9e-2942-4cf0-bbba-dfa6aa631b55 none swap sw,pri=0 0 0 # swap was on /dev/sdb1 during installation UUID=4d7254b9-1461-424d-b129-a8cdb31fbf17 none swap sw,pri=0 0 0
Warning
Please DO NOT store any valuable data under the /opt folder as it is located at RAID1 partition. It provides better performance but it’s also vulnerable to any single drive fault.


