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

Can't access Linux filesystem from Windows #7812

Closed
1 of 2 tasks
Jeroeny opened this issue Dec 9, 2021 · 5 comments
Closed
1 of 2 tasks

Can't access Linux filesystem from Windows #7812

Jeroeny opened this issue Dec 9, 2021 · 5 comments

Comments

@Jeroeny
Copy link

Jeroeny commented Dec 9, 2021

Version

WSL-versie: 0.50.2.0
Kernelversie: 5.10.74.3
WSLg-versie: 1.0.29
Windows-versie: 10.0.22000.348

WSL Version

  • WSL 2
  • WSL 1

Installed via Microsoft Store (https://aka.ms/wslstorepage).

Kernel Version

Linux version 5.10.74.3-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Mon Oct 18 19:27:44 UTC 2021

Distro Version

Ubuntu 20.04

Other Software

Docker Desktop 4.3.0
PhpStorm 2021.3 (with a deployment config to sync files to a Linux directory)

Repro Steps

After a fresh (re)boot, accessing Linux files works. But after a while, the link/mount to the Linux distro breaks. Accessing the \\wsl$\Ubuntu or \\wsl.localhost will hang. E.g. executing dir \\wsl$\Ubuntu in powershell or using Explorer to go to Network -> Linux -> Ubuntu will cause the command to hang or the Explorer window to keep loading.

Expected Behavior

To be able to access the Linux directories.

Actual Behavior

Hanging command or Explorer on an attempt to read something from a Linux filesystem.

Diagnostic Logs

Trace-Command dir \\wsl$\Ubuntu also hangs.

wsl --shutdown doesn't help. Only rebooting my PC makes the filesystem accessible again (temporarily).

When I used Docker desktop, it created two distros. Those were still accessible (docker-desktop and docker-desktop-data).
Though I use docker.io inside wsl directly at the moment, with the daemon also running inside wsl.

Feedback issue: https://aka.ms/AAf45u9

Other issues I've read and tried to fix my problem with no success:
#2613 #4027 #4260 #4936 #4992 #5718 #5821

@Jeroeny
Copy link
Author

Jeroeny commented Dec 9, 2021

Possibly related: #7773 #7782

@korpa
Copy link

korpa commented Dec 21, 2021

Same issue: #7479

@wojtas
Copy link

wojtas commented Mar 11, 2022

Same here.

@benhillis
Copy link
Member

/dupe #7782

@ghost
Copy link

ghost commented Apr 5, 2022

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

@ghost ghost added the duplicate label Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants