Remove Warden templates plugin jails

Status
Not open for further replies.

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
<div class="bbWrapper">Hi Guys,<br /> <br /> 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.<br /> <br /> 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 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":smile:" title="Smile :smile:" loading="lazy" data-shortname=":smile:" /><br /> <br /> Thank you in advance<br /> <br /> <br /> <br /> <div class="bbCodeBlock bbCodeCode"><div class="type">Code:</div><pre> [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 </pre></div></div>
 
D

dlavigne

Guest
<div class="bbWrapper">Did you find the answer to your questions?</div>
 

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
<div class="bbWrapper">no still waiting for help please</div>
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
<div class="bbWrapper">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.</div>
 

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
<div class="bbWrapper">Thanks dan will give it a go, ATM i have some issues importing my pool will try once ill sort it out.</div>
 

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
<div class="bbWrapper">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? <br /> <br /> Thank you</div>
 

mow4cash

Contributor
Joined
Jan 20, 2017
Messages
132
<div class="bbWrapper"><blockquote data-attributes="member: 68288" data-quote="AVSION" data-source="post: 484404" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-title"> <a href="/community/goto/post?id=484404" class="bbCodeBlock-sourceJump" rel="nofollow" data-xf-click="attribution" data-content-selector="#post-484404">AVSION said:</a> </div> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> 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?<br /> <br /> Thank you </div> <div class="bbCodeBlock-expandLink js-expandLink"><a role="button" tabindex="0">Click to expand...</a></div> </div> </blockquote>I'm interested in the same thing. I am planning to just delete the &quot;jails&quot; dataset.</div>
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
<div class="bbWrapper">If you don't see any jails (check there too, not just plugins), it should be safe to remove the dataset.</div>
 

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
<div class="bbWrapper">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 <code style="background-color: #dee3e7; padding: .2px; margin: .1em; display: inline-block;"> <kbd>zfs list</kbd></code> showing in the OP unless there are other places i don't know about? if so do i just delete all the following manually?<br /> <br /> <div class="bbCodeBlock bbCodeCode"><div class="type">Code:</div><pre> 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/ </pre></div><br /> <br /> Volume shows the following:<br /> <script class="js-extraPhrases" type="application/json"> { "lightbox_close": "Close", "lightbox_next": "Next", "lightbox_previous": "Previous", "lightbox_error": "The requested content cannot be loaded. Please try again later.", "lightbox_start_slideshow": "Start slideshow", "lightbox_stop_slideshow": "Stop slideshow", "lightbox_full_screen": "Full screen", "lightbox_thumbnails": "Thumbnails", "lightbox_download": "Download", "lightbox_share": "Share", "lightbox_zoom": "Zoom", "lightbox_new_window": "New window", "lightbox_toggle_sidebar": "Toggle sidebar" } </script> <div class="bbImageWrapper js-lbImage" title="Screen Shot 2018-09-27 at 1.04.05 pm.png" data-src="https://www.truenas.com/community/attachments/screen-shot-2018-09-27-at-1-04-05-pm-png.25850/" data-lb-sidebar-href="" data-lb-caption-extra-html="" data-single-image="1"> <img src="https://www.truenas.com/community/attachments/screen-shot-2018-09-27-at-1-04-05-pm-png.25850/" data-url="" class="bbImage" data-zoom-target="1" style="" alt="Screen Shot 2018-09-27 at 1.04.05 pm.png" title="Screen Shot 2018-09-27 at 1.04.05 pm.png" width="1575" height="460" loading="lazy" /> </div></div>
 
Last edited:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
<div class="bbWrapper">I think you'll have to do them individually, but it'd be <code style="background-color: #dee3e7; padding: .2px; margin: .1em; display: inline-block;"> <kbd>zfs destroy Tank/.warden-template-whatever</kbd></code>.</div>
 

AVSION

Contributor
Joined
Dec 28, 2016
Messages
128
<div class="bbWrapper">Thanks dan all clean:)</div>
 
Status
Not open for further replies.
Top