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

Couldn't import wsl2 distribution #4530

Closed
sdv22 opened this issue Sep 20, 2019 · 10 comments
Closed

Couldn't import wsl2 distribution #4530

sdv22 opened this issue Sep 20, 2019 · 10 comments
Labels
distro-mgmt problems related to import, export, conversion needs-author-feedback

Comments

@sdv22
Copy link

sdv22 commented Sep 20, 2019

D:\wsl>wsl --import Ubuntu U:\wsl2\Ubuntu sdvhome_wsl2_2.tar --version 2
The specified network name is no longer available.

Process allocating all of the available memory and terminates with the error.

tar size is ~360 GB.

Windows version is 18985.

@waundme
Copy link

waundme commented Sep 22, 2019

Same problem here. Tar size is ~10GB. Windows Version is 18985.1.

@sdv22
Copy link
Author

sdv22 commented Sep 22, 2019

If tar size is that much why don't use a dual booted Linux distribution?

Because Win is my primary platform. I'm using MS tools even for Linux/Android development.

@sdv22
Copy link
Author

sdv22 commented Sep 22, 2019

Workaround:

  1. Import tar as WSL1
  2. Comress some data to reduce the size to be less than 256GB
  3. Convert distrubution to wsl2.

But anyway, it's a crutch.
My primary wsl distribution is ~700 GB. (several Android trees).

@SuperLamic
Copy link

@sdv22 how can you compile android with #4166 ? I had my RAM (16 GB) full after like 10 minutes even with repo sync.

@sdv22
Copy link
Author

sdv22 commented Sep 23, 2019

  1. Use nocache
  2. Limit amount of memory available for vm with .wslconfig

@RevCBH
Copy link

RevCBH commented Mar 23, 2020

This also fails for me with a ~22 GB tar backup.

@adrastogi adrastogi added the distro-mgmt problems related to import, export, conversion label May 6, 2021
@OneBlue
Copy link
Collaborator

OneBlue commented Nov 8, 2021

/logs

@ghost
Copy link

ghost commented Nov 8, 2021

Hello! Could you please provide more logs to help us better diagnose your issue? You can find instructions on how to attach logs here, please make sure to post the link to the Feedback Hub item in this chat so we can see it.

Thank you!

@ghost ghost added the needs-author-feedback label Nov 8, 2021
@ghost ghost closed this as completed Nov 15, 2021
@ghost
Copy link

ghost commented Nov 15, 2021

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

@jiggie42
Copy link

jiggie42 commented Jun 9, 2022

I seem to have this issue
attempting provided fixes

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distro-mgmt problems related to import, export, conversion needs-author-feedback
Projects
None yet
Development

No branches or pull requests

8 participants