Dam0 2 Posted January 19, 2019 Posted January 19, 2019 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
makarai 108 Posted January 19, 2019 Posted January 19, 2019 (edited) 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 January 19, 2019 by makarai
MRobi 160 Posted January 19, 2019 Posted January 19, 2019 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 1
Dam0 2 Posted January 20, 2019 Author Posted January 20, 2019 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
MRobi 160 Posted January 20, 2019 Posted January 20, 2019 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.
Dam0 2 Posted January 21, 2019 Author Posted January 21, 2019 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
Dam0 2 Posted January 21, 2019 Author Posted January 21, 2019 (edited) 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 January 21, 2019 by Dam0 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now