无法在 WSL 中使用任何 windows 个驱动器

Unable to use any windows drives in WSL

我在 WSL(Ubuntu) 中访问 /mnt 中的文件很累。但是当我输入 ls ./d 时出现以下错误:

ls: cannot open directory '.': Input/output error

在 windows 驱动器的任何文件中使用任何命令时都会发生这种情况,我还键入了 cd ./d/<any-folder> 并给出了以下信息:

cd: Input/output error: <folder-name>

我不明白为什么会出现该错误。 但请尝试重新启动您的设备。
它对我有用。

正如所指出的 here,只需转到 PowerShell 并 运行 命令 wsl.exe --shutdown 并重新启动 WSL。