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: lvcreate with stripes option #149

Closed
ddpolyakov opened this issue May 25, 2020 · 5 comments
Closed

Feature Request: lvcreate with stripes option #149

ddpolyakov opened this issue May 25, 2020 · 5 comments

Comments

@ddpolyakov
Copy link

I didn't find any option where I can set stripe value in case of using thick LVM.
Striping maybe useful in many cases: capacity balancing on vg, paralleling performance etc.

@ghernadi
Copy link
Contributor

Sorry - I forgot to update the documentation.

You are looking for

linstor storage-pool set-property $node_name $storage_pool_name StorDriver/LvcreateType striped

Other values can be found here
https://app.swaggerhub.com/apis-docs/Linstor/Linstor/1.1.0#/developers/nodeStoragePoolModify

That value will be simply appended to Linstor's lvcreate ... --type=, whereas linear is the default

For some reason you cannot set that property on node or controller level. I will fix that in the next version.
I will also update the users-guide (after I figured out where a good place would be adding this piece of information)

@ddpolyakov
Copy link
Author

Nice. Thanks a lot. Worked out great for me.

@kvaps
Copy link

kvaps commented Jan 20, 2022

Wont it be working for lvmthin?

@maxpain
Copy link

maxpain commented Oct 5, 2024

Sorry - I forgot to update the documentation.

You are looking for

linstor storage-pool set-property $node_name $storage_pool_name StorDriver/LvcreateType striped

Other values can be found here https://app.swaggerhub.com/apis-docs/Linstor/Linstor/1.1.0#/developers/nodeStoragePoolModify

That value will be simply appended to Linstor's lvcreate ... --type=, whereas linear is the default

For some reason you cannot set that property on node or controller level. I will fix that in the next version. I will also update the users-guide (after I figured out where a good place would be adding this piece of information)

@ghernadi

I tried this:

linstor storage-pool set-property w1 nvme-lvm StorDriver/LvcreateType striped

telegram-cloud-photo-size-2-5190904956234884549-y

But new volumes are still linear

telegram-cloud-photo-size-2-5190904956234884552-y

I use piraeus-operator

@maxpain
Copy link

maxpain commented Oct 5, 2024

I've managed to enable LVM striping:

linstor storage-pool set-property $host ssd-lvm StorDriver/LvcreateOptions ' -i 2'

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

No branches or pull requests

4 participants