Finally, after alot of reading, the openstack wallaby (the version am deploying, with juju on MAAS Cluster), first hard drive is used to run the os, and openstack application and containers i.e. lxd. Therefore, i did not use the first hard drive for cloud storage in my case. Fortunately my server had 8 physical hard disk. I configured them as follow:
- sda = 4 physical hard disks on raid 10, for os and apps
- sdb = 1 physical hard disk on raid 0
- sdc = 1 physical hard disk on raid 0
- sdd = 1 physical hard disk on raid 0
- The last hard disk was reserved for hot plug swap spare
These were my settings for ceph osd:
ceph-osd:
osd-devices: /dev/sdb /dev/sdc /dev/sdd
source: cloud:focal-wallaby
Further investigation suggest that you can add virtual disks (vdb) and you can also create folders in your first hard drive and reference to them as storage spaces. I did not implement this so am not sure.
Lastly, i would recommend watching this video: Deploying a HA Openstack HomeLab with MaaS and the Juju CLI, it explains briefly the whole deployment. I love Sean Shuping youtube channel. If you find the video resourceful like me, please like and subscribe. He makes cool content on MAAS, Juju and OpenStack.