|
|
|
# Software RAID 1
|
|
|
|
mdadm
|
|
|
|
|
|
|
|
md0 -> boot
|
|
|
|
md1 -> lvm
|
|
|
|
|
|
|
|
## SSD with 223G
|
|
|
|
lvextend -L 72G /dev/vg_system/lv_var
|
|
|
|
resize2fs -p /dev/vg_system/lv_var
|
|
|
|
lvcreate -L 100G -n lv_cinder-container vg_system
|
|
|
|
pvcreate /dev/vg_system/lv_cinder-container
|
|
|
|
vgcreate vg_cinder /dev/vg_system/lv_cinder-container
|
|
|
|
|
|
|
|
## HDD with 1000G
|
|
|
|
lvextend -L 400G /dev/vg_system/lv_var
|
|
|
|
resize2fs -p /dev/vg_system/lv_var
|
|
|
|
lvcreate -L 480G -n lv_cinder-container vg_system
|
|
|
|
pvcreate /dev/vg_system/lv_cinder-container
|
|
|
|
vgcreate vg_cinder /dev/vg_system/lv_cinder-container |
|
|
|
\ No newline at end of file |