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

Feature: shrink vhdx of WSL 2 distros #30

Open
xasx opened this issue Aug 15, 2022 · 1 comment
Open

Feature: shrink vhdx of WSL 2 distros #30

xasx opened this issue Aug 15, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request to-be-implemented

Comments

@xasx
Copy link

xasx commented Aug 15, 2022

The virtual hard disk file of our wsl2 distros can only grow. When space is reclaimed inside the distro, the vhdx file is not shrunken accordingly.

Here's how to do it manually:
https://gist.github.com/jjmartres/bb283ea479909b2e1088dd7d27046b3e

Alternatively https://anydot.in/post/2020-05-11-wsl_shrink_volume/

Is it possible to integrate such a feature into Raft-WSL?

@crramirez crramirez self-assigned this Aug 15, 2022
@crramirez crramirez added enhancement New feature or request to-be-implemented labels Aug 15, 2022
@crramirez
Copy link
Contributor

Hello @xasx,

Very good we will put it in the roadmap.

Regards,
Carlos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request to-be-implemented
Projects
None yet
Development

No branches or pull requests

2 participants