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

Failed to compact WSL Ubuntu for errors #34

Open
martinoturrina opened this issue Feb 6, 2024 · 0 comments
Open

Failed to compact WSL Ubuntu for errors #34

martinoturrina opened this issue Feb 6, 2024 · 0 comments

Comments

@martinoturrina
Copy link

Running the -c command on a basic Ubuntu image gives the following error:

U:\>wslcompact -c Ubuntu
 WslCompact v8.7 2023.03.01
 (C) 2023 Oscar Lopez
 wslcompact -h for help. For more information visit: https://github.com/okibcn/wslcompact

 Distro's name:  Ubuntu
 Image file:     C:\Users\QXZ1YFT\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc\LocalState\ext4.vhdx
 Current size:   169137 MB
<3>WSL (25) ERROR: CreateProcessParseCommon:708: Failed to translate U:\
 Estimated size: 3791 +/- 92 MB
 The estimated process time using an SSD is about 1 minutes.
 NOTE: You can safely cancel at any time by pressing Ctrl-C
 Import in progress, this may take a few minutes.
The operation completed successfully.
 WARNING: wslcompact found errors in the current image. It could be a storage problem,
          a corrupted ext4 filesystem, or any other issue. Image not processed.

And then many errors about not bein able to remove files.
Result is an additional WSL called wslcompact and no shrinkage of the original.

Any idea?

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

No branches or pull requests

1 participant