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

feat: PV resize support #438

Merged
merged 2 commits into from
Jun 11, 2024

Commits on Jun 11, 2024

  1. test: Library checking script for tests

    Storage role development often relies on blivet library and changes in
    it. Whether or not is specific feature supported by blivet is usually determined
    by its version. That is a cumbersome process, especially when the feature
    has not yet been added into blivet and the version has to be guessed.
    
    Added script verifies existence of the feature by using python
    introspection and asking for existence of specific item in the library
    (e.g. 'blivet.formats.lvmpv.LVMPhysicalVolume.grow_to_fill').
    The script is supposed to be used for the tests only.
    japokorn authored and richm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    23fd342 View commit details
    Browse the repository at this point in the history
  2. feat: PV resize support

    There is an usecase when the physical device size can change (e.g. on
    VM). We need to be able to change the size of the LVM PV to accomodate
    that. This adds a new pool parameter 'grow_to_fill'. When set, pool PVs
    will try to take all available space on their respective devices.
    Defaults to False.
    
    Requires blivet version that supports this feature.
    For tests this is checked by using 'does_library_support' script.
    japokorn authored and richm committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    0572eca View commit details
    Browse the repository at this point in the history