-
Notifications
You must be signed in to change notification settings - Fork 160
Add Volume Resize support for Windows #637
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
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jingxu97 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR adds the volume resize support for Window
request := &volumeapi.ResizeVolumeRequest{ | ||
VolumeId: volumeId, | ||
} | ||
_, err = proxy.VolumeClient.ResizeVolume(context.Background(), request) |
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.
Do you need to check filesystem type or does this imply ntfs?
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.
It implies ntfs, no need to check fs type.
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.
if there ever is a need for multiple fs support, will the csi proxy be able to automatically figure out what to do?
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.
for this volumeclient API, it means ntfs volume, and all functions through volume API client assumes that.
So far there is no other type to support resize. In case, for example, smb support resize, then the API will be in smb API group.
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.
I'm thinking something like ext4 in the future, where it also belongs in the volume client. Anyway, I posed the question in slack. For this pr, this is fine.
@msau42 could you also check this one so that when tests are triggered, resize support is available? |
/lgtm |
/hold |
added. THanks! |
/hold cancel |
This PR adds the volume resize support for Window
Have tested volume expansion test cases locally. Will open another PR to enable the tests.
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: