2 FreeNAS servers, being able to see each others data

Status
Not open for further replies.

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
I am having a major issue with a Plex jail causing my entire server to reboot when I scan my library.
This is a reproducible issue for me on an otherwise perfect server. (I replaced the entire server 5 months ago)

I'm setting up a FreeNAS 9.10 VM and installing Plex in there, I want to add the same library of data but of course I need to be able to point my Plex inside a jail on a VM to the datastore / pool on my 'real' server.

I assume this is possible, I just don't know how and what risks there are, anyone?
(yes, I realise a plugin / jail shouldn't be able to reboot my entire server but it's been 100% stable besides this one issue)
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
I know how to share (and have already) my primary, real server, but I've no idea how to tell Plex how to scrape data from a CIFS share instead of locally. It's (obviously) the FreeNAS / FreeBSD version of Plex and the only data it's offering to scan is the local data in the jail, or whatever I mount.

The jail mount tool (to my knowledge) only lets you mount local filesystem paths for jails.
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
Yeah, I am thinking along the lines that from within the Plex Jail you could use "mount" to connect... However, I don't use jails and perhaps that is not an option? Sorry my knowledge is limited on that... Maybe I'll standup a quick jail on a test VM Instance of FreeNAS and try to just have it mount real quick (if possible).

Standby while I "learn on the fly".. ;)
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Thanks, I bet it's possible for one of the gurus quick smart.

I'm doing more testing on my live machine now too, added just TV, not movies and it SEEMS to be scanning fine, but I have a god damn lot of movies. None the less it could be a memory issue.
I did find this post which made me think memory.
https://forums.freenas.org/index.ph...ting-when-using-plex-and-copying-files.30207/

Is it possible Plex for FreeNAS is coded poorly for ram handling or perhaps the jails can exceed system availability?
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
Might be, I have seen enough threads with issues using Jails and Plugin, that I basically have avoided ever using them. I'm more of an ESXi guy anyways.

With FN 10 and Docker, I may revisit it.

FWIW, I just made a quick Jail and in the shell saw that it does have "mount" in there so that is a positive.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
I don't know a lot about docker, but they seem positive on it so I'm curious to investigate. Sounds like it has a HUGE library compared to the plugins for FN, so that's a huge bonus.

I don't know what to do with mount. I have done further testing though, I shut down all my jails entirely and fired up only my plex, then added only my TV (1/5'th the size of movies) it's scanned fine without a reboot. It's not the fastest application but it is working. Memory usage spiked way up but FN does that all the time anyhow.
The 2x8GB modules which I initially thought caused this have passed a memtest so I'm baffled.
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
Yeah, as far as Plex goes I am not the one to be answering questions. But, I don't mind trying to help (and test myself) with the mounting a remote share in a jail. That sounds fun.

Maybe one of the others will chime in and answer all your questions first though.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Thanks, I appreciate it, I really want this app reliable and the idea of having it running on my HTPC all the time is frustrating (I want to shut it off regularly and only run the FreeNAS server)
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215

Johannez

Explorer
Joined
Jan 25, 2016
Messages
59
Mount a share on FreeNAS 1 to a folder in a dataset on FreeNAS 2, mount that folder to a folder in the Plex jail.
Use the command: "mount_smbfs -I" to mount a share on one FreeNAS to another.
 
Status
Not open for further replies.
Top