leonardorame
Contributor
- Joined
- Jun 30, 2018
- Messages
- 106
Hi, I want to mount an SMB2 share from a Windows 2012 R2 server to do an rsync. As I need to create a script to do it I created a Jail and I want to mount it using fusefs_smbnetfs, but I'm having a hard time with it.
I was able to install it, but when I try to run I get:
Then
So it looks like the module cannot be loaded from within the jail, no problem, I created a tunable on the host with this info:
Now I would like to install the fusefs_smbnetfs package but when I do:
Is there a way to load the fusefs-smbnetfs package to let me mount an SMB2 share from the jail OR from the host?[/CODE]
I was able to install it, but when I try to run I get:
Code:
root@cron-scripts:~ # smbnetfs ~/mnt fuse: failed to open fuse device: No such file or directory
Then
Code:
root@cron-scripts:~ # kldload fuse kldload: can't load fuse: Operation not permitted
So it looks like the module cannot be loaded from within the jail, no problem, I created a tunable on the host with this info:
Code:
Variable: fuse_load Value: YES Type: loader Enabled: true
Now I would like to install the fusefs_smbnetfs package but when I do:
Code:
sudo pkg install fusefs-smbnetfs Updating local repository catalogue... pkg: Repository local load error: access repo file(/var/db/pkg/repo-local.sqlite) failed: No such file or directory pkg: file:///usr/ports/packages/meta.txz: No such file or directory repository local has no meta file, using default settings pkg: file:///usr/ports/packages/packagesite.txz: No such file or directory Unable to update repository local Error updating repositories!
Is there a way to load the fusefs-smbnetfs package to let me mount an SMB2 share from the jail OR from the host?[/CODE]