-
Notifications
You must be signed in to change notification settings - Fork 59
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
Resize fixes #97
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good otherwise.
Are there tests for the bugs that this fixes? Or is it enough to enable the currently disabled tests? |
will it fix this problem in rebased #64 : #106 (comment) "volume 'luks-vdb1' cannot be resized from 4 GiB to 4 GiB" ? |
This collects information such as the minimum size for the file system and verifies that the required tools are present.
@dwlehman I have a version updated to master, I can rebase the branch if you want. |
sorry, I see you already did so |
@pcahyna ok to merge? |
@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. |
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.
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.
These should resolve issues with resize -- particularly when the volume has an existing file system.
Still needed: