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

LVM Raid Support #100

Open
darthShadow opened this issue Mar 17, 2021 · 2 comments
Open

LVM Raid Support #100

darthShadow opened this issue Mar 17, 2021 · 2 comments

Comments

@darthShadow
Copy link

darthShadow commented Mar 17, 2021

Hi,

Would you be open to a PR adding support for raid options while creating the logical volumes?

Reference: https://man7.org/linux/man-pages/man7/lvmraid.7.html

We will need to add support for 3 additional options:

--type raid[X]
--stripes Number
--stripesize Size

Thanks for the consideration.

@shishir-a412ed
Copy link
Collaborator

@darthShadow Yeah this would be very interesting :)
Feel free to open a PR, if you wanna take a stab at it.

There is only --opt for setting driver specific options, I am thinking we can add something like

--opt raid-type
--opt raid-stripes
--opt raid-stripesize

Also, do we need to support --mirrors for raid1 and raid10?

@darthShadow
Copy link
Author

I don't have an immediate need for raid1 and raid10, so hadn't considered the mirrors option but it looks simple enough to add to the same set of changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants