Mounting directory from within container

HenryTheTech

Well-Known Member
May 20, 2018
54
4
48
54
Trying to simply mount a directory from the PVE node to the container.


Code:
# sshfs root@192.168.1.222:/zvol/henry/hsync /media/plex/

fuse: device not found, try 'modprobe fuse' first

I have installed sshfs and I can ssh in just fine. Googling yielded no obvious solutions...
 
why not try a bindmount instead?
 
Because the directory I want to mount is a remote directory and I am unaware how to use
Code:
mount -o bind
for this task
 
I see. I believe you're suggesting to mount a zfs and just bind it inside the container from the pve node. ok thanks
 
As the error said you need to do "modprobe fuse", if there is no one then install fuse first.

Code:
root@debian9-unifi-CQFsync:/home# apt install fuse-utils

Reading package lists... DoneBuilding dependency tree

Reading state information... Done
E: Unable to locate package fuse-utils

root@debian9-unifi-CQFsync:/home# apt install fuse
Reading package lists... Done
Building dependency tree
Reading state information... Done
fuse is already the newest version (2.9.7-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@debian9-unifi-CQFsync:/home# modprobe fuse

modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.15.17-2-pve/modules.dep.bin'
modprobe: FATAL: Module fuse not found in directory /lib/modules/4.15.17-2-pve

root@debian9-unifi-CQFsync:/home# depmod
depmod: ERROR: could not open directory /lib/modules/4.15.17-2-pve: No such file or directory
depmod: FATAL: could not search modules: No such file or directory