Input/output error on partitions mounted in empty NTFS folders
Windows Build Number
Microsoft Windows [Version 10.0.19042.1052]
WSL Version
- [ ] WSL 2
- [X] WSL 1
Kernel Version
Linux version 4.4.0-19041-Microsoft ([email protected]) (gcc version 5.4.0 (GCC) ) #488-Microsoft Mon Sep 01 13:43:00 PST 2020
Distro Version
Fedora Remix v33 , Also tested on Ubuntu
Repro Steps
Step 1 - Mount a partition to an empty NTFS dir in diskmgmt.msc
Ex. C:\zzz

Step 2 - Try to access the partition in WSL
Ex. /mnt/c/zzz
ls /mnt/c/zzz
ls: cannot access '/mnt/c/zzz': Input/output error
Expected Behavior
Expected behavior: Users should be able to access the partition's folder on WSL's mount point. Ex. ls command should show files and folders.
Actual Behavior
Actual behavior (Problem): Cannot access the partition's WSL mount point with error "Input/output error"
ls: cannot access '/mnt/c/zzz': Input/output error
Can you please take logs for this issue? /logs
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!
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!
@craigloewen-msft Can you reopen this please? It seems to be a general issue, also on WSL 2. I'm on Windows 11 now and somehow I don't have the feedback hub app that your bot linked to, but I can give you additional details if needed.
The problem is as follows: I can mount folder-mounted NTFS volumes, no problem, but I cannot access any NTFS folders that are already mounted on the host.
For example, I have mounted a storage space at D: and also at %USERPROFILE%/Data. In WSL when I try to list the folder contents, I only get
$ ls Data
ls: cannot access 'Data': Input/output error
I also cannot mount anything on top of this "dead" folder:
$ sudo mount -t drvfs D: Data
<3>init: (882) ERROR: MountPlan9WithRetry:285: mount drvfs on Data (cache=mmap,rw,msize=262144,trans=virtio,aname=drvfs;path=D:;symlinkroot=/) failed: 5
mount: I/O error
Bind-mounting the drive letter mount (or anything else for that matter), isn't possible either:
$ sudo mount -o bind /d Data
mount: Data: can't read superblock on /d.
My only option would be to make another folder Data-WSL next to Data and mount the storage space there, but then I would have two mount points for the same drive and one of them is empty on WSL, the other one on the host.
I've met the same issue. Any solution for this plz? @phoerious
Unfortunately not.