Jump to content
Dam0

freebsd noob having trouble with jail/shares and emby

Recommended Posts

Dam0

hey all, thx for reading.

 

i have freenas jail running emby server 4.0.0.2, and has been running somewhat happily for some time.

 

im running out of room on the freenas and also have no spare sata connector on the mb, so, i used the hdds from my older nas setup, and booted up another nix type nas OS to use the extra sata and storage. 

 

here is my current problem, emby under freenas(freebsd) cannot access the smb or nfs shares unless they seem to be exposed to the current jail. For the love of god, ive tried setting up mount and mount_smbfs, but say "not permitted"

 

emby to use smb or nfs share on another pc is what im basically asking.

 

many thx in advance,

D

Share this post


Link to post
Share on other sites
Luke

@@makarai do you have any tips?

Share this post


Link to post
Share on other sites
makarai

hey all, thx for reading.

 

i have freenas jail running emby server 4.0.0.2, and has been running somewhat happily for some time.

 

im running out of room on the freenas and also have no spare sata connector on the mb, so, i used the hdds from my older nas setup, and booted up another nix type nas OS to use the extra sata and storage. 

 

here is my current problem, emby under freenas(freebsd) cannot access the smb or nfs shares unless they seem to be exposed to the current jail. For the love of god, ive tried setting up mount and mount_smbfs, but say "not permitted"

 

emby to use smb or nfs share on another pc is what im basically asking.

 

many thx in advance,

D

 

I suppose this is a bare bone freebsd system, right? How are you mounting? And your running out of media space not out of hdd space because emby is getting to large?

 

 

This sounds like a mounting problem between Freenas and the other OS, have you tried mounting by hand with something like :

mount_smbfs -I 1.2.3.4 //username@nasserver/share /path/to/local/mnt
Edited by makarai

Share this post


Link to post
Share on other sites
MRobi

If I'm under standing properly, your freenas device is full and you are at capacity for drives and can't expand further. So you've setup a second NAS device for storage.

 

If this is the case, your mount_smbfs command would go in your pre init script for when freenas boots. Once freenas has access to it, then you should be able to mount it in your emby jail and add it into emby like usual.

 

Sent from my ONEPLUS A5000 using Tapatalk

  • Like 1

Share this post


Link to post
Share on other sites
Dam0

sorry for the delay in reply,

 

 

when i tried

mount_smbfs -I 1.2.3.4 //username@nasserver/share /path/to/local/mnt

with substituting variables:)

 

mount_smbfs: kldload(smbfs): Operation not permitted

Share this post


Link to post
Share on other sites
MRobi

sorry for the delay in reply,

 

 

when i tried

mount_smbfs -I 1.2.3.4 //username@nasserver/share /path/to/local/mnt
with substituting variables:)

 

mount_smbfs: kldload(smbfs): Operation not permitted

Looks like you're trying to run that from within your emby jail.

 

This needs to be put in your init script on freenas so it mounts the share when you start your freenas box.

 

Once it's mounted to a folder in freenas, then you can mount that folder into your emby jail the same as you would any other storage location.

Share this post


Link to post
Share on other sites
Dam0

 

mount_smbfs -I IP //user:pass@IP/incoming /mnt

 

as an init script , as post init seems to do nothing for me?

 

Note:, each time i mkdir a folder inside /mnt its gone after reboot, so i assume its readonly os??

 

thx once again,

Dam0

Share this post


Link to post
Share on other sites
Dam0

i made a .sh script with

mkdir /mnt/Sharename
mount_smbfs -I IP -N //IP/sharename /mnt/Sharename

and set it to init , also set the smb share to guest readonly, if no credentials are provided

Edited by Dam0
  • Like 1

Share this post


Link to post
Share on other sites
mina6500

I started from scratch with freenas. It’s been quite the ride for learning, but if you’re familiar with Linux, it’s not bad. There are enough tutorials and videos out there that you should be able to get an Emby server, samba shares, and ftp setup in an hour or two. I love the updates with 11.2 and iocage. Emby is simple to maintain, samba shares are fast. Also, it’s not windows, so there’s that. Brazzers Youporn Xhamster

Edited by mina6500

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...