Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Modify cluster deploy cache partitions

When selecting the disks during deployment, there's no option for number of partitions of the cache device and it defaults to 2 partitions per cache device.  Any way to change this before adding the 3rd node and building the cluster? Maybe via cli? Or if the cache device already has partitions (manually created) does it use those?

At deploy time, i believe we use some logic to determine the number and size of partitions, it depends on a min size of partition to use and how many OSDs you add at deploy time.  For example if you use larger cache disks and have more OSDs to add, we will create more partitions.

You can always defer adding the cached OSDs till after you build the cluster, in this case you get full control via the ui.

is there a way to increase the number of partiions from 8?  I have some fast NVMe optane and RAM based devices that can handle more than 8 OSDs per cache.

Where can I change the number off partitions? I now have 3 partitions on a 2TB nvme SSD. I want to increase this to 8.

In a built cluster, from the Physical Disks page When you add disks as cache disks you can define how many partitions (1-8). If you select cache disks when you initially deploy the node, it will configure the partitions automatically based on some factors (mainly the number of osds)

Can I changes the number off partions after the initial configuration. I started with 3 OSD's and so it created 3 partitions on the Cachedrive. Also is the 2TB NVME displayt as 1TB and 12TB disk as 10TB is this by design?

You can define the number (1-8) if you add the cache after building the cluster form the Physical Disk page. If you add the cache from the Deployment Wizard, it will automatically choose the partition count, mostly based on number of OSDs you have, if you want more control then it is better to add the cache disks after you deploy. Since you just deployed and do not like the auto created partitions, presuming you have not yet written anything, just delete the pools and OSDs and recreate them from the ui with more control. Yes we did introduce a new bug when displaying disk size, it is fixed and will be released with next bug fix release.