Scharbag
Guru
- Joined
- Feb 1, 2012
- Messages
- 620
As the post states, I am having issues creating new plugins after I moved my jail install location to a different pool. I followed the post here. My Jail Root is configured as: /mnt/fasttank/Jails
I am running on the latest 9.3 patches (Jan 9, 2015).
Everything seemed to work fine as my jails were relocated and they all launch without issue. I deleted the old jails off of the previously used pool to prove this. When I create a new jail, everything works fine as shown below:
The problem seems to occur when I try to add a new plugin (MediaBrowser, Subsonic etc.). I get the following error:
My old pool where the jails were located was called bigtank. My new pool where the jails are now located is called fasttank. I do have all of the @clean snapshots needed I think:
The old 9.2 version is for an old jail I still have (just waiting until I prove the new 9.3 jail works for my FlexGet setup).
It looks to me that when it is trying to clone the snapshot, the path is messed up. For some reason, there is a leading fasttank/ before the proper mnt/fasttank/<jailname> call. It may also be an issue that the plugin add procedure still references the old bigtank location for some reason.
I am unsure of how to proceed further with this issue. Any help would be greatly appreciated. I am sure that there is just some reference set somewhere but I am unsure of the location or how to fix it.
And, I cannot recall if I moved the jails before I installed Transmission 2.84 or after. That is the only plugin I currently have running so if it would help to delete that plugin, and remove the plugin jail template, I could easily do that. Might try that ASAP.
If there is some missing information that is needed, please let me know and I will post it right away.
UPDATE: So, I deleted the transmission plugin. When I tried to re-install the plugin, I got the same error as above. To try to force FreeNAS to re-download the plugin jail, I deleted the plugin jail template dataset and directory. Then when I try to add the plugin, I get the following:
It seems to be really messed up as it also added the following dataset:
I think I broke it... Any help would be fantastic :)
Cheers,
I am running on the latest 9.3 patches (Jan 9, 2015).
Everything seemed to work fine as my jails were relocated and they all launch without issue. I deleted the old jails off of the previously used pool to prove this. When I create a new jail, everything works fine as shown below:
Code:
Jan 11 11:32:49 freenas warden: Building new Jail... Please wait... Jan 11 11:32:49 freenas warden: zfs clone fasttank/Jails/.warden-template-standard@clean fasttank/Jails/test Jan 11 11:32:50 freenas warden: Success! Jan 11 11:32:50 freenas warden: Jail created at /mnt/fasttank/Jails/test
The problem seems to occur when I try to add a new plugin (MediaBrowser, Subsonic etc.). I get the following error:
Code:
Jan 11 09:40:01 freenas warden: Building new Jail... Please wait... Jan 11 09:40:01 freenas warden: zfs clone fasttank/mnt/fasttank/Jails/.warden-template-pluginjail@clean fasttank/Jails/mediabrowser_1 Jan 11 09:40:01 freenas warden: ERROR: Failed creating clean ZFS base clone Jan 11 09:40:01 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: Failed to install plugin: cannot open 'bigtank fasttank': invalid dataset name cannot open 'fasttank/mnt/fasttank/Jails/.warden-template-pluginjail@clean': dataset does not exist ERROR: Failed creating clean ZFS base clone ]
My old pool where the jails were located was called bigtank. My new pool where the jails are now located is called fasttank. I do have all of the @clean snapshots needed I think:
Code:
fasttank/Jails/.warden-template-VirtualBox-4.3.12_DGS@clean fasttank/Jails/.warden-template-pluginjail@clean fasttank/Jails/.warden-template-pluginjail-9.2-RELEASE-x64@clean fasttank/Jails/.warden-template-standard@clean
The old 9.2 version is for an old jail I still have (just waiting until I prove the new 9.3 jail works for my FlexGet setup).
It looks to me that when it is trying to clone the snapshot, the path is messed up. For some reason, there is a leading fasttank/ before the proper mnt/fasttank/<jailname> call. It may also be an issue that the plugin add procedure still references the old bigtank location for some reason.
I am unsure of how to proceed further with this issue. Any help would be greatly appreciated. I am sure that there is just some reference set somewhere but I am unsure of the location or how to fix it.
And, I cannot recall if I moved the jails before I installed Transmission 2.84 or after. That is the only plugin I currently have running so if it would help to delete that plugin, and remove the plugin jail template, I could easily do that. Might try that ASAP.
If there is some missing information that is needed, please let me know and I will post it right away.
UPDATE: So, I deleted the transmission plugin. When I tried to re-install the plugin, I got the same error as above. To try to force FreeNAS to re-download the plugin jail, I deleted the plugin jail template dataset and directory. Then when I try to add the plugin, I get the following:
Code:
Jan 11 12:31:41 freenas warden: Building new Jail... Please wait... Jan 11 12:31:41 freenas warden: zfs clone fasttank/Jails/.warden-template-pluginjail@clean fasttank/Jails/transmission_1 Jan 11 12:31:41 freenas warden: ERROR: Failed creating clean ZFS base clone Jan 11 12:31:41 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: Failed to install plugin: cannot open 'fasttank/Jails/.warden-template-pluginjail@clean': dataset does not exist ERROR: Failed creating clean ZFS base clone
It seems to be really messed up as it also added the following dataset:
Code:
/mnt/fasttank/mnt/fasttank/Jails# ls -l total 2 drwxr-xr-x 3 root wheel 3 Jan 11 12:19 ./ drwxr-xr-x 3 root wheel 3 Jan 11 12:19 ../ drwxr-xr-x 2 root wheel 2 Jan 11 12:19 .warden-template-pluginjail/
I think I broke it... Any help would be fantastic :)
Cheers,
Last edited: