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): Resize Physical Volume #12

Merged
merged 2 commits into from
May 24, 2024
Merged

(feat): Resize Physical Volume #12

merged 2 commits into from
May 24, 2024

Conversation

lasith-kg
Copy link
Collaborator

@lasith-kg lasith-kg commented May 22, 2024

Reuse the original resizeFs attribute to assess whether the Physical Volume needs to be resized. We determine this by comparing the size of the Physical Volume with the underlying Block Device. I also expanded the LvmGraph data structure to store size information of the various LVM objects. This will be useful when we start adding logic to detect whether a logical volume needs to be resized

I want to release another major version of ebs-bootstrap where we rename resizeFs to resize. In my opinion, if you want to resize a filesystem, you probably want to have the underlying Physical Volumes and Logical Volumes extended

@lasith-kg lasith-kg force-pushed the feature/lvm-resize branch from 8525aac to 09cb4f2 Compare May 22, 2024 05:30
@lasith-kg lasith-kg merged commit ae8c44f into main May 24, 2024
4 checks passed
@lasith-kg lasith-kg deleted the feature/lvm-resize branch May 24, 2024 00:15
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.

2 participants