Skip to content

SSHFS remote file system mount failure #17

Closed

Description

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

root@localhost:~# sshfs [email protected]:/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:~#

Activity

  1. rjw57 commented on Apr 7, 2016

    @rjw57

    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.

  2. HenkPoley commented on Apr 10, 2016

    @HenkPoley

    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.

  3. glubox commented on Apr 17, 2016

    @glubox

    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.

  4. russalex commented on Apr 28, 2016

    @russalex
    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.

  5. Fclem commented on May 21, 2016

    @Fclem

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

  6. jtherin commented on Aug 4, 2016

    @jtherin

    +1 for fuse !

  7. bitcrazed commented on Sep 28, 2016

    @bitcrazed
    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.

  8. komali2 commented on Sep 20, 2017

    @komali2

    Clément Fiere (@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

  9. Fclem commented on Sep 21, 2017

    @Fclem

    Caleb Rogers (@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...

  10. HenkPoley commented on Oct 4, 2017

    @HenkPoley

    UserVoice items for:

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

  11. basnijholt commented on Jun 14, 2018

    @basnijholt

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

  12. bitcrazed commented on Jun 19, 2018

    @bitcrazed
    Contributor

    Bas Nijholt (@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).

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

  13. SleepyDeb commented on Jun 30, 2018

    @SleepyDeb

    How to hide bugs under the carpet

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

  14. therealkenc commented on Jun 30, 2018

    @therealkenc

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

  15. i-am-logger commented on Dec 13, 2018

    @i-am-logger

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

    need any help?

  16. mailinglists35 commented on Jan 10, 2019

    @mailinglists35

    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?

  17. therealkenc commented on Jan 15, 2019

    @therealkenc

    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.

  18. neoadventist commented on Jan 7, 2020

    @neoadventist

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

  19. nickschurch commented on Jan 24, 2020

    @nickschurch

    yup - me too. Shame.

  20. jtmoon79 commented on Apr 15, 2020

    @jtmoon79

    Rich Turner (@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.

  21. therealkenc commented on Apr 15, 2020

    @therealkenc

    FUSE is available in WSL2.

  22. Palpatineli commented on Oct 6, 2020

    @Palpatineli

    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?

  23. therealkenc commented on Oct 6, 2020

    @therealkenc

    4.4.0-19041-Microsoft

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

  24. LiamKarlMitchell commented on Jan 13, 2021

    @LiamKarlMitchell

    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.)
    
  25. therealkenc commented on Jan 13, 2021

    @therealkenc

    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.

  26. adrhc commented on Dec 1, 2021

    @adrhc

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions