|
# Software RAID 1
|
|
# Partitioning: Compute Nodes
|
|
mdadm
|
|
|
|
|
|
|
|
md0 -> boot
|
|
The compute nodes (except diskless nodes) have two disks configured as a software RAID-1 using ``mdadm``.
|
|
md1 -> lvm
|
|
Two partitions are available:
|
|
|
|
```
|
|
|
|
md0 -> /boot
|
|
|
|
md1 -> used for lvm
|
|
|
|
```
|
|
|
|
|
|
## SSD with 223G
|
|
The LVM is setup as follows:
|
|
lvextend -L 72G /dev/vg_system/lv_var
|
|
```
|
|
resize2fs -p /dev/vg_system/lv_var
|
|
lv_cinder-container vg_system -wi-a----- 480.00g HDD / 100g SSD
|
|
lvcreate -L 100G -n lv_cinder-container vg_system
|
|
lv_home vg_system -wi-ao---- 10.00g
|
|
pvcreate /dev/vg_system/lv_cinder-container
|
|
lv_root vg_system -wi-ao---- 2.00g
|
|
vgcreate vg_cinder /dev/vg_system/lv_cinder-container
|
|
lv_swap vg_system -wi-ao---- 32.00g
|
|
|
|
lv_tmp vg_system -wi-ao---- 2.00g
|
|
## HDD with 1000G
|
|
lv_usr vg_system -wi-ao---- 5.00g
|
|
lvextend -L 400G /dev/vg_system/lv_var
|
|
lv_var vg_system -wi-ao---- 400.00g HDD / 72g SSD
|
|
resize2fs -p /dev/vg_system/lv_var
|
|
``` |
|
lvcreate -L 480G -n lv_cinder-container vg_system
|
|
\ No newline at end of file |
|
pvcreate /dev/vg_system/lv_cinder-container
|
|
|
|
vgcreate vg_cinder /dev/vg_system/lv_cinder-container |
|
|
|
\ No newline at end of file |
|
|