Modify cluster deploy cache partitions
audinator
2 Posts
March 11, 2020, 4:20 amQuote from audinator on March 11, 2020, 4:20 amWhen 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?
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?
admin
2,930 Posts
March 11, 2020, 8:37 amQuote from admin on March 11, 2020, 8:37 amAt 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.
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.
audinator
2 Posts
March 12, 2020, 2:46 pmQuote from audinator on March 12, 2020, 2:46 pmis 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.
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.
ptenvoorde
6 Posts
December 20, 2020, 10:04 pmQuote from ptenvoorde on December 20, 2020, 10:04 pmWhere can I change the number off partitions? I now have 3 partitions on a 2TB nvme SSD. I want to increase this to 8.
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.
admin
2,930 Posts
December 21, 2020, 9:04 amQuote from admin on December 21, 2020, 9:04 amIn 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)
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)
ptenvoorde
6 Posts
December 21, 2020, 9:31 amQuote from ptenvoorde on December 21, 2020, 9:31 amCan 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?
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?
admin
2,930 Posts
December 21, 2020, 4:42 pmQuote from admin on December 21, 2020, 4:42 pmYou 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.
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.
Modify cluster deploy cache partitions
audinator
2 Posts
Quote from audinator on March 11, 2020, 4:20 amWhen 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?
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?
admin
2,930 Posts
Quote from admin on March 11, 2020, 8:37 amAt 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.
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.
audinator
2 Posts
Quote from audinator on March 12, 2020, 2:46 pmis 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.
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.
ptenvoorde
6 Posts
Quote from ptenvoorde on December 20, 2020, 10:04 pmWhere can I change the number off partitions? I now have 3 partitions on a 2TB nvme SSD. I want to increase this to 8.
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.
admin
2,930 Posts
Quote from admin on December 21, 2020, 9:04 amIn 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)
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)
ptenvoorde
6 Posts
Quote from ptenvoorde on December 21, 2020, 9:31 amCan 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?
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?
admin
2,930 Posts
Quote from admin on December 21, 2020, 4:42 pmYou 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.
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.