<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.hateotu.de/index.php?action=history&amp;feed=atom&amp;title=Remove_a_Jail</id>
	<title>Remove a Jail - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.hateotu.de/index.php?action=history&amp;feed=atom&amp;title=Remove_a_Jail"/>
	<link rel="alternate" type="text/html" href="https://www.hateotu.de/index.php?title=Remove_a_Jail&amp;action=history"/>
	<updated>2026-04-09T06:57:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://www.hateotu.de/index.php?title=Remove_a_Jail&amp;diff=576&amp;oldid=prev</id>
		<title>Damarx: /* Destroy ZFS Pool */</title>
		<link rel="alternate" type="text/html" href="https://www.hateotu.de/index.php?title=Remove_a_Jail&amp;diff=576&amp;oldid=prev"/>
		<updated>2019-05-19T12:02:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Destroy ZFS Pool&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:02, 19 May 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Destroy ZFS Pool===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Destroy ZFS Pool===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Unmount the new Pool&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Unmount the new Pool&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  zfs umount /export/&amp;lt;jailname&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  zfs umount /export&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/jails&lt;/ins&gt;/&amp;lt;jailname&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Please double check the jail that shall be deleted. Otherwise other people might LART you.&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Please double check the jail that shall be deleted. Otherwise other people might LART you.&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Destroy the zfs pool&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Destroy the zfs pool&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  zfs destroy zfs0/&amp;lt;jailname&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  zfs destroy zfs0/&amp;lt;jailname&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===If You&amp;#039;re not using ZFS, delete the Folder===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===If You&amp;#039;re not using ZFS, delete the Folder===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  rm -r /export/jails/&amp;lt;jailname&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  rm -r /export/jails/&amp;lt;jailname&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Damarx</name></author>
	</entry>
	<entry>
		<id>https://www.hateotu.de/index.php?title=Remove_a_Jail&amp;diff=559&amp;oldid=prev</id>
		<title>Damarx: Created page with &quot;==Remove a Jail== Replace &lt;jailname&gt; with the Name of your Jail ===Precautions=== * Backup all necessary data from the jail-filesystem (/export/&lt;jailname&gt;) * Remember to stop...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.hateotu.de/index.php?title=Remove_a_Jail&amp;diff=559&amp;oldid=prev"/>
		<updated>2018-09-13T17:23:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Remove a Jail== Replace &amp;lt;jailname&amp;gt; with the Name of your Jail ===Precautions=== * Backup all necessary data from the jail-filesystem (/export/&amp;lt;jailname&amp;gt;) * Remember to stop...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Remove a Jail==&lt;br /&gt;
Replace &amp;lt;jailname&amp;gt; with the Name of your Jail&lt;br /&gt;
===Precautions===&lt;br /&gt;
* Backup all necessary data from the jail-filesystem (/export/&amp;lt;jailname&amp;gt;)&lt;br /&gt;
* Remember to stop the jail before proceeding&lt;br /&gt;
 service jail stop &amp;lt;jailname&amp;gt;&lt;br /&gt;
===Destroy ZFS Pool===&lt;br /&gt;
* Unmount the new Pool&lt;br /&gt;
 zfs umount /export/&amp;lt;jailname&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Please double check the jail that shall be deleted. Otherwise other people might LART you.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Destroy the zfs pool&lt;br /&gt;
 zfs destroy zfs0/&amp;lt;jailname&amp;gt;&lt;br /&gt;
===If You&amp;#039;re not using ZFS, delete the Folder===&lt;br /&gt;
 rm -r /export/jails/&amp;lt;jailname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/jail.conf===&lt;br /&gt;
* Remove the jail.conf entry for the selected jail&lt;br /&gt;
&lt;br /&gt;
 vi /etc/jail.conf&lt;br /&gt;
*Be careful to only delete the entry of your the desired Jail. Just remove the lines below for the corresponding Jail.&lt;br /&gt;
 &amp;lt;jailname&amp;gt; {&lt;br /&gt;
         host.hostname = &amp;quot;&amp;lt;jailname&amp;gt;.hateotu.de&amp;quot;;&lt;br /&gt;
         ip4.addr = &amp;lt;ip the new Jail should have&amp;gt;;&lt;br /&gt;
 }&lt;br /&gt;
===fstab===&lt;br /&gt;
*Remove the fstab file for the Jail&lt;br /&gt;
 rm /etc/fstab.&amp;lt;jailname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Die Jail aus Saltstack entfernen===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WIP&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===DNS entfernen===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WIP&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Damarx</name></author>
	</entry>
</feed>