Skip to content

execute lvresize, if size of an lv changes #340

@StephanSchultchenFactset

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions