-
Notifications
You must be signed in to change notification settings - Fork 797
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 2 can not use the mount path from dev drive #10792
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:
|
/logs |
Hi I uploaded the logs~ |
Thank you @leolcao. Looking at the logs I can see that you have a custom kernel. Can you see if you can reproduce the issue with the official kernel ? If so, please collect /logs again |
I just updated the wsl to 2.0.9, and remove the custom kernel, unlucky, this issue still there~
btw, the dev-drive is mount to F:, and it is no error if I use command like Actually, I have 2 dev drives: Both them has same issue. |
@craigloewen-msft: Looks like we need to update p9rdr.sys to follow dev-drive mounts. |
The issue is fixed with Windows 11 24H2 (the root cause of the issue is in the Windows image so the fix cannot be part of the WSL package). |
Windows Version
Microsoft Windows [Version 10.0.22621.2715]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
wsl --shutdown
ls /mnt/d/packages
ls: cannot access '/mnt/d/packages': Input/output error
This error affects the usage of
wsl docker
command from windows host directly, like:if there is volume binding in docker-compose.yml file from the path mount from dev drive, also failed, like:
d:\packages\workdir:/opt/workdir
, In before, it works andd:\packages\workdir
will be converted to/mnt/d/packages/workdir
in wsl distroBesides, in the windows terminal setting, if I set the default startingDirectory to "d:\packages", the wsl terminall will failed also, but in before, wsl terminal can tell the startingDirectory, and convert to '/mnt/d/packages'
Expected Behavior
wsl 2 can use the path mount from dev drive like before.
Actual Behavior
leo@LeoCao-OMEN8Pro:~$ ls /mnt/d/packages/
ls: cannot access '/mnt/d/packages/': Input/output error
Diagnostic Logs
WslLogs-2023-11-22_22-03-38.zip
The text was updated successfully, but these errors were encountered: