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

Resize fixes #97

Merged
merged 3 commits into from
Aug 13, 2020
Merged

Resize fixes #97

merged 3 commits into from
Aug 13, 2020

Conversation

dwlehman
Copy link
Collaborator

@dwlehman dwlehman commented Jun 2, 2020

These should resolve issues with resize -- particularly when the volume has an existing file system.

Still needed:

  • test validation of volume sizes
  • existing resize test(s) re-enabled

Copy link
Collaborator

@vojtechtrefny vojtechtrefny left a comment

Choose a reason for hiding this comment

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

Looks good otherwise.

library/blivet.py Outdated Show resolved Hide resolved
@pcahyna
Copy link
Member

pcahyna commented Jun 29, 2020

Are there tests for the bugs that this fixes? Or is it enough to enable the currently disabled tests?

@pcahyna
Copy link
Member

pcahyna commented Jun 30, 2020

will it fix this problem in rebased #64 : #106 (comment) "volume 'luks-vdb1' cannot be resized from 4 GiB to 4 GiB" ?

@yizhanglinux
Copy link
Collaborator

@dwlehman @pcahyna
This pull fixed ext2/3/4 resize function on RHEL7/8, pls help review and merge it.

This collects information such as the minimum size for the
file system and verifies that the required tools are present.
@pcahyna
Copy link
Member

pcahyna commented Aug 13, 2020

@dwlehman I have a version updated to master, I can rebase the branch if you want.

@pcahyna
Copy link
Member

pcahyna commented Aug 13, 2020

sorry, I see you already did so

@dwlehman
Copy link
Collaborator Author

@pcahyna ok to merge?

@pcahyna
Copy link
Member

pcahyna commented Aug 13, 2020

@dwlehman can you please add a test from https://github.com/pcahyna/storage/tree/resize-fixes ? I was not able to push to your branch.
With the test it is ok to merge.

Based on @yizhanglinux's code in linux-system-roles#139.

Remove a disabled resize test from tests_lvm_errors where it does not belong
anymore.
@pcahyna pcahyna merged commit 13b61f5 into linux-system-roles:master Aug 13, 2020
@dwlehman dwlehman deleted the resize-fixes branch August 13, 2020 22:25
pcahyna added a commit to pcahyna/storage that referenced this pull request Aug 21, 2020
With merging of linux-system-roles#97 the error message when resizing a volume to a too large
size got changed. Account for that in the test.
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.

4 participants