multiple FreeNAS boxes on a network

Status
Not open for further replies.

JoeB

Contributor
Joined
Oct 16, 2014
Messages
121
does downloading the freenas via 'System->general->Save Config' in the GUI save the jail storage configurations? Or do i need to take a photo of the jails->storage tab to recreate this later?

Does anyone know the anwser to this? I'd like to destroy my pool and recreate it asap.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
The setup information for the jail will be saved in the FreeNAS config file. The stuff within the jail will not, meaning that if you installed Plex into a jail, the plex configuration would not be retained like your plex account, the movies database, etc... So to be litteral with your question, yes it will save the "storage location" pointer you selected in FreeNAS.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
The setup information for the jail will be saved in the FreeNAS config file. The stuff within the jail will not, meaning that if you installed Plex into a jail, the plex configuration would not be retained like your plex account, the movies database, etc... So to be litteral with your question, yes it will save the "storage location" pointer you selected in FreeNAS.

But if the jail storage is on your pool, that's where plex's config would be right? and assuming you used the same pool, and then the same config.db, then it should come back... right?
 

JoeB

Contributor
Joined
Oct 16, 2014
Messages
121
I have backed up the plex config as well as CP sickrage, virtual box machines, etc, and i have installed another instance of each plugin and successfully restored their data from my backups.

I just need to be sure that the storage links are saved in the config file.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
I would not expect any internal jail configuration data to be in the FreeNAS config file. Lets look at it this way instead... I create a basic jail and then I manually install any application, it could be MiniDLNA or any other program, doesn't matter via SSH. I set up the jail storage location using the FreeNAS GUI. That will be saved. Now I jump back into the jail via SSH and I start configuring my application setting in some file under /my_app/my_app_config (doesn't matter the location), that data will not be saved. But if your jail is located on the pool, and you backed up your entire pool, including the jails, then your data would all be safe. If you don't backup the jail then when you destroy the pool, it's gone.

The storage links in the FreeNAS GUI will all be saved.
 

JoeB

Contributor
Joined
Oct 16, 2014
Messages
121
Perfect thanks. I'm not backing up the contents of the jails as i couldn't figure out a way to do that with rsync or crashplan without it itterating in to a symlink and copying that too, e.g. plex has a storage link to the media folder on the pool. When i tried to backup the plex jail, it started to copy the media folder too.
It doesn't matter at the moment as i'm happy to recreate and reconfigure the plugins from backup. I've done very little via SSH, maybe only to make a virtual box machine start at freenas boot and shutdown gracefully when freenas shuts down.

So, I think i'm now ready to destroy the pool #nervous !

Is the freenas config stored on the pool?
 

JoeB

Contributor
Joined
Oct 16, 2014
Messages
121
I've recreated the pool, this time, 6x3TB drives, Z2. I named the pool(volume?) "vol1".
I installed a single plugin.

In the storage tab, it shows:

Vol1 --- 16.2TiB avaliable
|- Vol1 --- 10.5TiB avaliable
-----|- jails
----------|- jails/.warden...
----------|- jails/my plugin

Do i have 16.2 or 10.5 TiB available to me for storage?
 

JoeB

Contributor
Joined
Oct 16, 2014
Messages
121
Ahh I see what I've done, I was expecting to see 12TB of storage, i've mistaken TB and TiB... there lies my missing 1T of storage.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Ahh I see what I've done, I was expecting to see 12TB of storage, i've mistaken TB and TiB... there lies my missing 1T of storage.
Too bad we can't use one standard all the time.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Ever noticed that when you set a quota, the GUI complains to use an Si suffix, so you set it to 4T, and then it actually makes a 4.4TB quota.... Ie 4TiB

Probably time to audit the UI and make sure it uses iB instead of B when it is, might help deconfuse things

Well I guess T is an si suffix, but it was in response to me requesting "4TB"
 
Last edited:

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Consistency would be a good thing.
 
Status
Not open for further replies.
Top