Remove Warden templates plugin jails

Status
Not open for further replies.

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
Hi Guys,

I did a fresh install of FN 11.2 BETA3 and imported my pool (without the configuration), i would like to do a cleanup in the pool to neath things up and make some space. listing the pool i can see 13GB of warden template plugin jails, are these an old jails i created perviously? can i remove them? if so what is the proper command\way to delete this files completely? i don't have/need any plugin anymore and i will use iocage for new jail only.

Regarding iocage, after the fresh install when creating new jail, the jail number come up as #30. i assume it continue from the last one i created inn older FN versions. can i reset to start from 1? sorry tidy freak :smile:

Thank you in advance



Code:
[root@freenas ~]# zfs list
NAME													   USED  AVAIL  REFER  MOUNTPOINT
Tank													  3.41T  16.6T   256K  /mnt/Tank
Tank/.bhyve_containers									 115M  16.6T   115M  /mnt/Tank/.bhyve_containers
Tank/.system											   226M  16.6T   299K  legacy
Tank/.system/configs-85575f3640124e06b9ead9eeda4080b1	  188K  16.6T   188K  legacy
Tank/.system/configs-9adeaf1b34484300be9487bd23ab62d6	 66.7M  16.6T  66.7M  legacy
Tank/.system/configs-a7c4a4a3d45a4720a1e6b8ad799731fd	  188K  16.6T   188K  legacy
Tank/.system/configs-c6df7f068c2c4171917a68f70a853917	  341K  16.6T   341K  legacy
Tank/.system/cores										5.47M  16.6T  5.47M  legacy
Tank/.system/rrd-85575f3640124e06b9ead9eeda4080b1		 21.9M  16.6T  21.9M  legacy
Tank/.system/rrd-9adeaf1b34484300be9487bd23ab62d6		 30.8M  16.6T  30.8M  legacy
Tank/.system/rrd-a7c4a4a3d45a4720a1e6b8ad799731fd		 21.7M  16.6T  21.7M  legacy
Tank/.system/rrd-c6df7f068c2c4171917a68f70a853917		 16.4M  16.6T  16.4M  legacy
Tank/.system/samba4									   1.03M  16.6T  1.03M  legacy
Tank/.system/syslog-85575f3640124e06b9ead9eeda4080b1	   452K  16.6T   452K  legacy
Tank/.system/syslog-9adeaf1b34484300be9487bd23ab62d6	  59.9M  16.6T  59.9M  legacy
Tank/.system/syslog-a7c4a4a3d45a4720a1e6b8ad799731fd	   384K  16.6T   384K  legacy
Tank/.system/syslog-c6df7f068c2c4171917a68f70a853917	   341K  16.6T   341K  legacy
Tank/.system/webui										 188K  16.6T   188K  legacy
Tank/.warden-template-pluginjail						   684M  16.6T   684M  /mnt/Tank/.warden-template-pluginjail
Tank/.warden-template-pluginjail-11.0-x64				  684M  16.6T   684M  /mnt/Tank/.warden-template-pluginjail-11.0-x64
Tank/.warden-template-pluginjail-11.0-x64-20180612024824   684M  16.6T   684M  /mnt/Tank/.warden-template-pluginjail-11.0-x64-20180612024824
Tank/.warden-template-pluginjail-11.0-x64-20180612030118   684M  16.6T   684M  /mnt/Tank/.warden-template-pluginjail-11.0-x64-20180612030118
Tank/.warden-template-pluginjail-11.0-x64-20180612043450   683M  16.6T   683M  /mnt/Tank/.warden-template-pluginjail-11.0-x64-20180612043450
Tank/.warden-template-pluginjail-11.0-x64-20180612103032   684M  16.6T   684M  /mnt/Tank/.warden-template-pluginjail-11.0-x64-20180612103032
Tank/.warden-template-standard-11.0-x64				   3.04G  16.6T  3.04G  /mnt/Tank/.warden-template-standard-11.0-x64
Tank/.warden-template-standard-11.0-x64-20180313141143	3.05G  16.6T  3.05G  /mnt/Tank/.warden-template-standard-11.0-x64-20180313141143
Tank/.warden-template-standard-11.0-x64-20180612231357	3.06G  16.6T  3.06G  /mnt/Tank/.warden-template-standard-11.0-x64-20180612231357
Tank/SMB												  2.46T  16.6T  2.46T  /mnt/Tank/SMB
Tank/TimeMachine										   933G  66.8G   933G  /mnt/Tank/TimeMachine
Tank/Windows Backup									   22.7G   177G  22.7G  /mnt/Tank/Windows Backup
Tank/iocage												526M  16.6T  3.62M  /mnt/iocage
Tank/iocage/download									   126M  16.6T   188K  /mnt/iocage/download
Tank/iocage/download/11.2-RELEASE						  126M  16.6T   126M  /mnt/iocage/download/11.2-RELEASE
Tank/iocage/images										 188K  16.6T   188K  /mnt/iocage/images
Tank/iocage/jails										  188K  16.6T   188K  /mnt/iocage/jails
Tank/iocage/log											188K  16.6T   188K  /mnt/iocage/log
Tank/iocage/releases									   396M  16.6T   188K  /mnt/iocage/releases
Tank/iocage/releases/11.2-RELEASE						  396M  16.6T   188K  /mnt/iocage/releases/11.2-RELEASE
Tank/iocage/releases/11.2-RELEASE/root					 396M  16.6T   396M  /mnt/iocage/releases/11.2-RELEASE/root
Tank/iocage/templates									  188K  16.6T   188K  /mnt/iocage/templates
Tank/isos												  188K  16.6T   188K  /mnt/Tank/isos
Tank/vm_block											 4.34G  16.6T  4.34G  -
Tank/vm_nfs											   1.81G  16.6T  1.81G  /mnt/Tank/vm_nfs
freenas-boot											   886M  12.2G	64K  none
freenas-boot/ROOT										  884M  12.2G	29K  none
freenas-boot/ROOT/Initial-Install							1K  12.2G   882M  legacy
freenas-boot/ROOT/default								  884M  12.2G   882M  legacy
 

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
no still waiting for help please
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
The best way to get rid of old jails is to log into the old GUI--http://freenas_ip/legacy. With respect to jail numbers, they're dynamically generated. After a reboot, the first jail to start is #1, the second is #2, etc.
 

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
Thanks dan will give it a go, ATM i have some issues importing my pool will try once ill sort it out.
 

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
Hi Dan, just checked the log GUI and the plug-in area is empty ,i think its traces of the old installations but not sure. is the templates should be removes when you delete the plugins? how do you suggest to clean it up completely from all the system?

Thank you
 

mow4cash

Contributor
Joined
Jan 20, 2017
Messages
132
Hi Dan, just checked the log GUI and the plug-in area is empty ,i think its traces of the old installations but not sure. is the templates should be removes when you delete the plugins? how do you suggest to clean it up completely from all the system?

Thank you
I'm interested in the same thing. I am planning to just delete the "jails" dataset.
 

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
Thanks Dan, i don't have any jails, plugins or dataset showing on the legacy GUI, only place i can see is the traces is in the zfs list showing in the OP unless there are other places i don't know about? if so do i just delete all the following manually?

Code:
root@freenas[~]# rm /mnt/Tank/.warden-
.warden-files-cache/								  .warden-template-pluginjail-11.0-x64-20180612043450/  .warden-template-standard-11.0-x64-20180313141143/
.warden-template-pluginjail-11.0-x64/				 .warden-template-pluginjail-11.0-x64-20180612103032/  .warden-template-standard-11.0-x64-20180612231357/
.warden-template-pluginjail-11.0-x64-20180612024824/  .warden-template-pluginjail-11.0-x64-20180924174323/ 
.warden-template-pluginjail-11.0-x64-20180612030118/  .warden-template-standard-11.0-x64/ 


Volume shows the following:
Screen Shot 2018-09-27 at 1.04.05 pm.png
 
Last edited:

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
Thanks dan all clean:)
 
Status
Not open for further replies.
Top