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(storage): initial config support for LVM #1581

Merged
merged 11 commits into from
Sep 17, 2024

Conversation

joseivanlopez
Copy link
Contributor

@joseivanlopez joseivanlopez commented Sep 5, 2024

Add support to the storage config for creating LVM volume groups, logical volumes, thin pools and thin logical volumes. Reusing volume groups or logical volumes is out of the scope of this PR. The schema for volume groups is defined according to the auto_storage documentation.

  "storage": {
    "drives": [
      ...
    ],
    "volumeGroups": [
      ...
    ]
  }

@coveralls
Copy link

coveralls commented Sep 5, 2024

Coverage Status

coverage: 71.702%. remained the same
when pulling f640f2d on joseivanlopez:storage-lvm
into af3c4f6 on openSUSE:master.

@joseivanlopez
Copy link
Contributor Author

Note for reviewers: preferably review commit by commit to easily follow all the changes.

Copy link
Contributor

@ancorgs ancorgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only have a question about the example. Other than that, this looks to me like a nice step forward. Approved!

@joseivanlopez joseivanlopez merged commit bc057f4 into agama-project:master Sep 17, 2024
4 checks passed
@imobachgs imobachgs mentioned this pull request Sep 20, 2024
imobachgs added a commit that referenced this pull request Sep 20, 2024
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Sep 23, 2024
https://build.opensuse.org/request/show/1202592
by user IGonzalezSosa + anag+factory
- Storage: preliminary support for resizing partitions based on
  limits specified at the config (gh#agama-project/agama#1599).

- Version 10

- Storage: add support for creating LVM volume groups and logical
  volumes (gh#agama-project/agama#1581).
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

Successfully merging this pull request may close these issues.

3 participants