(HELP) mounting smbfs share in a jail

Status
Not open for further replies.

Halfe

Explorer
Joined
Apr 24, 2013
Messages
94
i have a problem in jail. I want to mount a network share in a jail but i get this error msg.

Code:
root@jail1:/ # mount_smbfs -U //192.168.0.200/Storage1
mount_smbfs: kldload(smbfs): Operation not permitted


is there a way to mount smb shares in jail?
 
D

dlavigne

Guest
I think sysutils/fusefs-smbnetfs needs to be installed into the jail. Having said that, I have no idea whether or not fuse modules even work in jails...
 

Halfe

Explorer
Joined
Apr 24, 2013
Messages
94
Still get error
Code:
kldload: can't load /boot/modules/fuse.ko: Operation not permitted


how do i get permission to start a service in KLD?
 

wmn79

Explorer
Joined
Apr 23, 2015
Messages
59
Sorry to bump this old thread but I think it is good for other people who are looking for this. I was able to get rid of this error by adding a tunable via the web-ui, since fuse is available in the current 9.3 version (not sure since when). I don't get error anymore in the jail where I try to mount a webdav drive for off site/cloud backup possibilities.

The tunable should have the following values:
Variable: fuse_load
Value: YES
Type: loader
Comment: something for your own reference
Enabled: true (tick the box)
 
Status
Not open for further replies.
Top