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

SSHFS remote file system mount failure #17

Closed
MartinLenord opened this issue Apr 7, 2016 · 26 comments
Closed

SSHFS remote file system mount failure #17

MartinLenord opened this issue Apr 7, 2016 · 26 comments

Comments

@MartinLenord
Copy link

Having issues mounting a remote file system using sshfs
fuse seems to be failing to find the device

root@localhost:~# sshfs m@192.168.1.12:/home/m/ /root/mount/
fuse: device not found, try 'modprobe fuse' first
root@localhost:~# modprobe fuse
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.4.0+/modules.dep.bin'
root@localhost:~#
@rjw57
Copy link

rjw57 commented Apr 7, 2016

fuse seems to be failing to find the device

I don't see any evidence for that in the posted log. There's evidence that the fuse interface is not provided by the Linux subsystem. The modprobe error is unrelated and is pretty unsurprising.

@HenkPoley
Copy link

You cannot load Linux kernel modules on WSL, and probably never will.

Though something like fuse (user mode filesystems), or say USB usermode access would be really nice to have.

@glubox
Copy link

glubox commented Apr 17, 2016

WSL should definitely support fuse, this is a main use case. I expect to sshfs mount remote filesystem and access it both from bash and from windows file explorer at the same time. It should appear to windows file explorer as part of the folder tree.

@russalex
Copy link
Contributor

Fuse support is an interesting conversation. I would recommend creating a section and voting on it over on the User Voice page.

We will be looking at the user voice and taking it as input when planning new features. No promises, but it's the best way to get something on our radar.

@Fclem
Copy link

Fclem commented May 21, 2016

(Link edited out due to ad-hijacking)
having support for it on Ubuntu on Windows would be pretty sweet !

@jtherin
Copy link

jtherin commented Aug 4, 2016

+1 for fuse !

@bitcrazed
Copy link
Contributor

Never saying never, but no plans to support this feature in the appreciable future. Moving to backlog for now.

If you'd like us to reconsider, please find/update this issue on UserVoice.

@komali2
Copy link

komali2 commented Sep 20, 2017

@Fclem Your link is to a malware site with bad popups and downloads, please remove it guy, this is the first link on google for people searching for SSHFS WSL

@Fclem
Copy link

Fclem commented Sep 21, 2017

@komali2 thanks for the heads up.
I guess the owner of that link realized it was generating traffic and seized the oportunity or his hosting went down...

@HenkPoley
Copy link

UserVoice items for:

Note that SMB/CIFS mounting is already implemented. Might be useful for some of the followers of this ticket.

@basnijholt
Copy link

Why is this issue closed? It doesn't seem to be fixed.

@bitcrazed
Copy link
Contributor

bitcrazed commented Jun 19, 2018

@basnijholt We always intended this repo to track bugs that we aim to fix. This is an ask for a feature that we have not currently implemented FUSE support and have no immediate plans to do so. As such, there's no actionable issue to track, so this issues was closed, with a request that interested parties upvote the ask on UserVoice (which better handles voting than GitHub currently does).

@HenkPoley kindly followed-up with specific links to relevant UserVoice asks for those interested in voting.

@SleepyDeb
Copy link

How to hide bugs under the carpet

When bugs becomes features... virtual features or feature request...

@therealkenc
Copy link
Collaborator

I am taking a run at fixing this. Cross your fingers and I'll report back if I find joy.

@i-am-logger
Copy link

I am taking a run at fixing this. Cross your fingers and I'll report back if I find joy.

need any help?

@mailinglists35
Copy link

with a request that interested parties upvote the ask on UserVoice

the UV FUSE feature request is now 2nd most voted.
Is there any Microsoft response going to be given anytime soon on UV link?

@therealkenc
Copy link
Collaborator

Just sayin'

image

Don't get too excited though. This probably isn't going any further than a PoC. It would need a lot of work to be useful. I just wanted to see if it could be done.

@neoadventist
Copy link

oh man. was REALLY hoping for this to work! :(

@nickschurch
Copy link

yup - me too. Shame.

@jtmoon79
Copy link

@bitcrazed the UserVoice links are dead. Does WSL have an alternative feature voting system it would prefer? I would like to vote for this feature.

@therealkenc
Copy link
Collaborator

FUSE is available in WSL2.

@Palpatineli
Copy link

FUSE is available in WSL2.

But I'm on wsl2 and windows 10.019041, ubuntu 20.04 and still have the problem.
fuse: device not found, try 'modprobe fuse' first
then when I modprobe fuse, I get
modprobe: FATAL: Module fuse not found in directory /lib/modules/4.4.0-19041-Microsoft

can't google any solutions to this. Is fuse still not supported on wsl2? Is so what is the roadmap for it?

@therealkenc
Copy link
Collaborator

4.4.0-19041-Microsoft

You are not on WSL2. You can list your installed distributions and versions with wsl.exe -l -v.

@LiamKarlMitchell
Copy link

I am on WSL2 and get the same error.

I read that this fuse thing is a requirement for Jetbrains Toolbox, which I want to install its useful tools to develop on as Windows to WSL2 file system support is not as fast/good as I would like yet. (E.g. file watching, git kraken etc don't work properly and it is slower on large PHP projects with lots of source files e.g. Magento 2, composer installing).
https://toolbox-support.jetbrains.com/hc/en-us/articles/115000978824-What-are-the-system-requirements-for-Toolbox-App-

apt install fuse
modprobe fuse
groupadd fuse
user="$(whoami)"
usermod -a -G fuse $user

Gives me.

modprobe: FATAL: Module fuse not found in directory /lib/modules/4.19.128-microsoft-standard```

![image](https://user-images.githubusercontent.com/1968109/104407177-e42ced80-55c5-11eb-9994-826b38affc25.png)

![image](https://user-images.githubusercontent.com/1968109/104407239-09b9f700-55c6-11eb-994e-19051e0149a9.png)

Note: Jetbrains Toolbox does appear to run without fuse, so maybe it is only required should you want to mount file systems over ssh? (Which I might, as I am currently mounting them in Windows for easily editing things config files and such on remote servers in Windows text editors.)

@therealkenc
Copy link
Collaborator

FUSE is statically compiled into the WSL2 kernel. In general modprobe is not applicable in WSL2 by-design, unless you off-road it with your own compiled modules. Here the fuse module is built-in.

@adrhc
Copy link

adrhc commented Dec 1, 2021

So how to mount a remote linux directory with built-in fuse?

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