How to access mounted local storage server from WSL?
1
0
Entering edit mode
9 months ago

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 • 796 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
2
Entering edit mode
9 months ago

It worked when I did the following:

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

Thank you.

ADD COMMENT

Login before adding your answer.

Traffic: 1780 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6