-
Notifications
You must be signed in to change notification settings - Fork 846
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
WSL Export Failure. Error code: Wsl/Service/WSL_E_EXPORT_FAILED #11330
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
Thank you @bLanark. Looking at the logs, it looks like your disk is failing to mount:
Can you try to follow these instructions and see if that solves the issue ? |
Hi, I am getting this error: I have three WSL instances:
So its not because I only have a single instance. Not sure what is going on there. |
@bLanark: Try to run wsl --shutdown before trying to mount the disk. |
Just adding to say I resolved this by changing the default WSL instance to be a different one. This allowed me to run the command succesfully as it was booting the instance I was trying to repair to run the e2fsck command. It now works and the export works now, thanks a ton @OneBlue |
Windows Version
Microsoft Windows [Version 10.0.22631.3155]
WSL Version
2.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.146.1-microsoft-standard-WSL2 (root@65c757a075e2) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37)
Distro Version
Debian 11
Other Software
No response
Repro Steps
Try to export the WSL instance and it fails with Error code: Wsl/Service/WSL_E_EXPORT_FAILED
Expected Behavior
The export succeeds, and it produces a tar file.
Actual Behavior
Export in progress, this may take a few minutes.
Exporting the distribution failed.
Error code: Wsl/Service/WSL_E_EXPORT_FAILED
Diagnostic Logs
WslLogs-2024-03-20_17-48-57.zip
Attached logs, I also removed the:
memory=8GB
From my .wslconfig and restarted and re-ran the command and it still fails.
The text was updated successfully, but these errors were encountered: