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

execute lvresize, if size of an lv changes #340

Open
StephanSchultchenFactset opened this issue May 27, 2024 · 0 comments
Open

execute lvresize, if size of an lv changes #340

StephanSchultchenFactset opened this issue May 27, 2024 · 0 comments

Comments

@StephanSchultchenFactset

Use Case

if the size of the block device behind a PV is changed, the blk device size change is notices correctly by the os, but the pv will not notice the size change until something calls pvresize $PATH_TO_BLK_DEVICE.

this prevents lvresize from working.

Describe the Solution You Would Like

if the puppet module notices that the size of a lv needs to be changed, it should call pvresize on all physical volumes that are part of the volumegroup that is hosting the logical volume. with this the the puppet module can change the lv size without the need for human interaction.

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

1 participant