This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to access mounted local storage server from WSL?

Hello,

I am working on WSL on Windows. I can access all the directories in the C-drive using the /mnt/c/user path. I have connected to a local storage server on my laptop which is the Z: drive. But I cannot change my working directory to any of the folders in that Z-drive. There are quite a few big zipped files that I need to unzip and manual unzipping using Winrar is very slow. So, I was thinking to use the command line for that.

Can you please suggest how can I access and set the working directory in any folder in the mounted Z-drive from the WSL terminal?

Thank you.

windows wsl

Edit your post and add a more relevant, specific tag. Every post on this forum is related to bioinformatics, so that tag is meaningless.

You should be able to use cd /mnt/z/ to move to the Z drive.

I tried your method and it returned as No such file or directory

1 answer

It worked when I did the following:

sudo mkdir /mnt/share
sudo mount -t drvfs Z: /mnt/share

Thank you.

Log in to answer this question.