Closed msci-madager closed 1 year ago
Thanks for reporting, I have a fix for this in the works.
Has there been a fix? 3/21/2023 I'm getting the same error. My import has taken the .vhdx file and created some temporary directories which are empty.
+1 I am getting the same error. Is there already a fix / workaround available?
Yes - this should be fixed in https://github.com/microsoft/WSL/releases/tag/1.1.5.
Version
10.0.19044.2604
WSL Version
Kernel Version
5.15.79.1
Distro Version
Ubuntu 20.04.5 LTS
Other Software
No response
Repro Steps
wsl --shutdown
wsl --import test .\ .\dev-machine-wsl.tar --version 2
Expected Behavior
Completion successfully. A vhdx image gets created.
Actual Behavior
Failure reported. Out of 10 import command 6-7 times below failure occurs, the remaining 3-4 times completes successfully.
Diagnostic Logs
tar has size of 5.6G, can be reproduced other similar sized file
.wslconfig
Actually setting swap (even disable) or setting memory to various value did not change end result. oom-kill reproducible in about 60-70% of the cases. Otherwise wsl images run smoothly on the same machine . Possibly related: #9424 #9382