Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: deploy OSDs with mixed disk layouts #652

Open
m-ildefons opened this issue May 25, 2022 · 0 comments
Open

feature request: deploy OSDs with mixed disk layouts #652

m-ildefons opened this issue May 25, 2022 · 0 comments

Comments

@m-ildefons
Copy link
Contributor

Currently, nodes with the storage role have a given number of disk drives, all with the same given size, but sometimes it is required that nodes are provisioned with a mix of drives with different characteristics, size being the easiest one to modify.
These extravagant disk layouts could be created by specifying --num-disks and --disk-size multiple times, e.g.

$ sesdev create ses7p --num-disks 2 --disk-size 10 --num-disks 2 --disk-size 20

resulting in a ses7p cluster where each node with the storage role has two drives of 10GiB size and two drives of 20 GiB size in addition to the root drive.
When --disk-size is not specified often enough, the remaining drives will be created with default size, if it is specified more often than --num-disks, the superfluous arguments will be ignored.
This feature would be a great help when testing OSD deployment processes and drive group configuration.

m-ildefons added a commit to m-ildefons/sesdev that referenced this issue May 25, 2022
Provision mixed disk drive layouts when specifying `--num-disks` and
`--disk-size` multiple times.

fixes: SUSE#652
Signed-off-by: Moritz Röhrich <[email protected]>
m-ildefons added a commit to m-ildefons/sesdev that referenced this issue May 27, 2022
Provision mixed disk drive layouts when specifying `--num-disks` and
`--disk-size` multiple times.

fixes: SUSE#652
Signed-off-by: Moritz Röhrich <[email protected]>
m-ildefons added a commit to m-ildefons/sesdev that referenced this issue Jun 13, 2022
Provision mixed disk drive layouts when specifying `--num-disks` and
`--disk-size` multiple times.

fixes: SUSE#652
Signed-off-by: Moritz Röhrich <[email protected]>
m-ildefons added a commit to m-ildefons/sesdev that referenced this issue Aug 3, 2022
Provision mixed disk drive layouts when specifying `--num-disks` and
`--disk-size` multiple times.

fixes: SUSE#652
Signed-off-by: Moritz Röhrich <[email protected]>
m-ildefons added a commit to m-ildefons/sesdev that referenced this issue Aug 3, 2022
Provision mixed disk drive layouts when specifying `--num-disks` and
`--disk-size` multiple times.

fixes: SUSE#652
Signed-off-by: Moritz Röhrich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant