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

mklink /J to SDcard shows Input/Output Error in WSL #4943

Closed
HuJK opened this issue Mar 3, 2020 · 5 comments
Closed

mklink /J to SDcard shows Input/Output Error in WSL #4943

HuJK opened this issue Mar 3, 2020 · 5 comments

Comments

@HuJK
Copy link

HuJK commented Mar 3, 2020

image

Similar with #291 , but I use Windows 10 1909 build:18363.657

Responses from another issue shows it has been fixed by MS, but I already installed latest update.

Any ideas?

My D drive is a SDcard, is that related to this issue?

@HuJK HuJK changed the title NTFS Junctions shows Input/Output Error in WSL mklink /J to SDcard shows Input/Output Error in WSL Mar 3, 2020
@therealkenc
Copy link
Collaborator

I wasn't able to reproduce here, but "Input/output error" is generally not good.

image

My run is on 19569.

Can you confirm that a simple junction like my run works for you or not? If it does, this will come down to figuring what's unique about your "chocolatey" target directory. Those permission denied might be #2779. The Input/output error is novel.

@HuJK
Copy link
Author

HuJK commented Mar 3, 2020

I test it with folling script, and I update my windows again. Now it is Windows 10 1909 build 18363.693

C:
mkdir C:\Users\HuJK\testc
cd C:\Users\HuJK\testc
mkdir fc
mklink jc C:\Users\HuJK\testc\fc
mklink jd D:\Users\HuJK\testd\fd


D:
mkdir D:\Users\HuJK\testd
cd D:\Users\HuJK\testd
mkdir fd
mklink jc C:\Users\HuJK\testc\fc
mklink jd D:\Users\HuJK\testd\fd
wsl ls -al /mnt/c/Users/HuJK/testc
wsl ls -al /mnt/d/Users/HuJK/testd

And here is the result:
image

Any junction link to d will cause Input/Output Error in wsl.
The only difference between C and D is D is removable. Will it cause problem?

@therealkenc
Copy link
Collaborator

The only difference between C and D is D is removable. Will it cause problem?

It might. Ref #2788, which is very different but might have a similar cause (something something GUID something). If you've got a USB stick (contrast SDCard) it might be worth trying to see if the problem is unique to using an SD interface. Thanks for the submission and the repro.

@HuJK
Copy link
Author

HuJK commented Mar 3, 2020

image

I googled "show guid of a disk in windows", I am not sure whether your GUID mean this?

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

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

2 participants