I do very bad thing.. Now i lose my Jails (wwwgui recreate Jails storage and delete my jails)

Status
Not open for further replies.

reks

Dabbler
Joined
Dec 28, 2012
Messages
23
Hello,
My bad steps are:
-when i want to install some plugins i get error abut no such file XXXX
-i delete folder .warden-template-pluginjail <- and this was my bad
-when i clicked to install transmission plugin then the installer recreate Jails folder and delete all jails inside him

For now Jails folder have only transmission jail but other jails still working fine (i dont do restart)
Is any way to get them back?

Best Regards
Reks
 

reks

Dabbler
Joined
Dec 28, 2012
Messages
23
Some logs
Code:
Nov  5 16:19:00 RSONas warden: Building new Jail... Please wait...
Nov  5 16:19:00 RSONas warden: zfs clone DANE/Jails/.warden-template-pluginjail@clean DANE/Jails/transmission_1
Nov  5 16:19:00 RSONas warden: ERROR: Failed creating clean ZFS base clone
Nov  5 16:19:00 RSONas manage.py: [middleware.exceptions:37] [MiddlewareError: [Errno 2] No such file or directory: u'/mnt/DANE/Jails/transmission_1/.plugins/PLUGIN']
Nov  5 16:19:41 RSONas su: reks to root on /dev/pts/0
Nov  5 16:20:28 RSONas warden: Building new Jail... Please wait...
Nov  5 16:20:29 RSONas warden: zfs clone DANE/Jails/.warden-template-pluginjail@clean DANE/Jails/transmission_1
Nov  5 16:20:29 RSONas warden: ERROR: Failed creating clean ZFS base clone
Nov  5 16:20:29 RSONas manage.py: [middleware.exceptions:37] [MiddlewareError: [Errno 2] No such file or directory: u'/mnt/DANE/Jails/transmission_1/.plugins/PLUGIN']
Nov  5 16:22:44 RSONas warden: Building new Jail... Please wait...
Nov  5 16:22:44 RSONas warden: zfs clone DANE/Jails/.warden-template-pluginjail@clean DANE/Jails/transmission_1
Nov  5 16:22:44 RSONas warden: ERROR: Failed creating clean ZFS base clone
Nov  5 16:22:44 RSONas manage.py: [middleware.exceptions:37] [MiddlewareError: [Errno 2] No such file or directory: u'/mnt/DANE/Jails/transmission_1/.plugins/PLUGIN']
Nov  5 16:27:20 RSONas warden: Building new Jail... Please wait...
Nov  5 16:27:20 RSONas warden: zfs clone DANE/Jails/.warden-template-pluginjail@clean DANE/Jails/transmission_1
Nov  5 16:27:21 RSONas warden: Success!
Nov  5 16:27:21 RSONas warden: Jail created at /mnt/DANE/Jails/transmission_1
Nov  5 16:27:22 RSONas epair2a: Ethernet address: 02:96:4a:00:07:0a
Nov  5 16:27:22 RSONas epair2b: Ethernet address: 02:96:4a:00:08:0b
Nov  5 16:27:22 RSONas kernel: epair2a: link state changed to UP
Nov  5 16:27:22 RSONas kernel: epair2a: link state changed to UP
Nov  5 16:27:22 RSONas kernel: epair2b: link state changed to UP
Nov  5 16:27:22 RSONas kernel: epair2b: link state changed to UP
Nov  5 16:27:22 RSONas kernel: epair2a: promiscuous mode enabled
Nov  5 16:27:22 RSONas kernel: ng_ether_ifnet_arrival_event: can't re-name node epair2b
Nov  5 16:27:22 RSONas kernel: ng_ether_ifnet_arrival_event: can't re-name node epair2b
Nov  5 16:27:28 RSONas manage.py: [middleware.exceptions:37] [MiddlewareError: This file was not identified as in PBI format, it might as well be corrupt.]
Nov  5 16:27:29 RSONas manage.py: [freeadmin.navtree:621] An error occurred while unserializing from http://192.168.1.10/plugins/transmission/1/_s/treemenu: No JSON object could be decoded
Nov  5 16:30:50 RSONas manage.py: [plugins.utils:91] Couldn't retrieve http://192.168.1.10/plugins/transmission/1/_s/status: No JSON object could be decoded
Nov  5 16:34:11 RSONas kernel: arp: 192.168.1.10 moved from 02:96:4a:00:07:0a to 00:0c:29:01:66:c7 on epair2b
Nov  5 16:41:42 RSONas manage.py: [plugins.utils:91] Couldn't retrieve http://192.168.1.10/plugins/transmission/1/_s/status: No JSON object could be decoded
Nov  5 17:34:40 RSONas manage.py: [freeadmin.navtree:621] An error occurred while unserializing from http://192.168.1.10/plugins/transmission/1/_s/treemenu: No JSON object could be decoded



After that
Code:
Nov  5 16:27:20 RSONas warden: Building new Jail... Please wait...
Nov  5 16:27:20 RSONas warden: zfs clone DANE/Jails/.warden-template-pluginjail@clean DANE/Jails/transmission_1
Nov  5 16:27:21 RSONas warden: Success!

I lose all my old Jails and dont have any snapshot of Jails storage :(
 
Last edited:
D

dlavigne

Guest
Were you able to find a way to recover this? Which build version of FreeNAS (from System -> Information)?
 

reks

Dabbler
Joined
Dec 28, 2012
Messages
23
Were you able to find a way to recover this? Which build version of FreeNAS (from System -> Information)?
For now i dont have any clue to recover this - but still deleted Jails working fine (one have mysql with mysql storage out of Jail and second have openfire only)

In this company we have FreeNAS-9.3-STABLE-201605170422.

My name is Konrad and i am typing to you from RSOnline (we selling freenas certified servers on Europe)
 
Status
Not open for further replies.
Top