Jump to content


Photo

freebsd noob having trouble with jail/shares and emby

freenas emby samba

  • Please log in to reply
8 replies to this topic

#1 Dam0 OFFLINE  

Dam0

    Newbie

  • Members
  • 8 posts
  • Local time: 06:01 PM

Posted 19 January 2019 - 12:35 AM

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



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124278 posts
  • Local time: 02:01 AM

Posted 19 January 2019 - 01:13 AM

@makarai do you have any tips?



#3 makarai OFFLINE  

makarai

    Advanced Member

  • Members
  • 452 posts
  • Local time: 08:01 AM

Posted 19 January 2019 - 04:07 AM

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, 19 January 2019 - 01:27 PM.


#4 MRobi OFFLINE  

MRobi

    Advanced Member

  • Members
  • 197 posts
  • Local time: 03:01 AM

Posted 19 January 2019 - 09:27 AM

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
  • makarai likes this

#5 Dam0 OFFLINE  

Dam0

    Newbie

  • Members
  • 8 posts
  • Local time: 06:01 PM

Posted 20 January 2019 - 03:23 AM

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



#6 MRobi OFFLINE  

MRobi

    Advanced Member

  • Members
  • 197 posts
  • Local time: 03:01 AM

Posted 20 January 2019 - 09:39 AM

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.

#7 Dam0 OFFLINE  

Dam0

    Newbie

  • Members
  • 8 posts
  • Local time: 06:01 PM

Posted 21 January 2019 - 06:01 AM

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



#8 Dam0 OFFLINE  

Dam0

    Newbie

  • Members
  • 8 posts
  • Local time: 06:01 PM

Posted 21 January 2019 - 09:06 AM

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, 21 January 2019 - 09:08 AM.

  • Baenwort likes this

#9 mina6500 OFFLINE  

mina6500

    Newbie

  • Members
  • 2 posts
  • Local time: 07:01 AM

Posted 13 February 2019 - 12:19 PM

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, 13 February 2019 - 03:12 PM.






Also tagged with one or more of these keywords: freenas, emby, samba

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users