Jail storage-is this pool safe to delete?

NASbox

Guru
Joined
May 8, 2012
Messages
650
I am planning to upgrade from 11.1-U7 to 11.2-U7, but a long time ago I played with a couple of Jails/VMs, but ultimately decided to delete them.

There is about 684M of something in the jails dataset even though the GUI currently shows that I am not using any jails, plugins or VMs.

Code:
NAME                                              USED  AVAIL  REFER  MOUNTPOINT
TANK/jails                                        684M  8.36T   205K  /mnt/TANK/jails
TANK/jails/.warden-template-pluginjail-11.0-x64   684M  8.36T   684M  /mnt/TANK/jails/.warden-template-pluginjail-11.0-x64


The data seems to live in the dataset TANK/jails/.warden-template-pluginjail-11.0-x64 - can I just run:
zfs destroy TANK/jails/.warden-template-pluginjail-11.0-x64,
from the shell, or is this likely to cause problems? If it is safe to delete, should I do it before/after upgrading, or does it matter?

This is what the dataset contains:
Code:
/mnt/TANK/jails/.warden-template-pluginjail-11.0-x64
#>ls -la
total 207
drwxr-xr-x  18 root  wheel    22 Jan  6  2018 .
drwxr-xr-x   5 root  wheel     5 Jan 10  2018 ..
-rw-r--r--   2 root  wheel   957 Sep 28  2016 .cshrc
drwxr-xr-x   2 root  wheel     2 May 12  2017 .plugins
-rw-r--r--   2 root  wheel   249 Sep 28  2016 .profile
drwxr-xr-x   2 root  wheel    47 Sep 28  2016 bin
drwxr-xr-x   8 root  wheel    51 Sep 28  2016 boot
-r--r--r--   1 root  wheel  6197 Sep 28  2016 COPYRIGHT
dr-xr-xr-x   2 root  wheel     2 Sep 28  2016 dev
drwxr-xr-x  25 root  wheel   104 May 12  2017 etc
drwxr-xr-x   4 root  wheel    56 Sep 28  2016 lib
drwxr-xr-x   3 root  wheel     5 May 12  2017 libexec
drwxr-xr-x   2 root  wheel     2 Sep 28  2016 media
drwxr-xr-x   2 root  wheel     2 Sep 28  2016 mnt
dr-xr-xr-x   2 root  wheel     2 Sep 28  2016 proc
drwxr-xr-x   2 root  wheel   146 Sep 28  2016 rescue
drwxr-xr-x   2 root  wheel     6 Sep 28  2016 root
drwxr-xr-x   2 root  wheel   136 Sep 28  2016 sbin
lrwxr-xr-x   1 root  wheel    11 Sep 28  2016 sys -> usr/src/sys
drwxrwxrwt   2 root  wheel     2 May 12  2017 tmp
drwxr-xr-x  14 root  wheel    14 Sep 28  2016 usr
drwxr-xr-x  24 root  wheel    24 Sep 28  2016 var


This appears to be a rudimentary FreeBSD system, but I am not sure how old it is or what version.

As much as possible, I like to get rid of obsolete configuration files since they may end up causing problems or confusion at some point in the future.

Any advice is much appreciated.
 

msbxa

Contributor
Joined
Sep 21, 2014
Messages
151
I am planning to upgrade from 11.1-U7 to 11.2-U7, but a long time ago I played with a couple of Jails/VMs, but ultimately decided to delete them.

There is about 684M of something in the jails dataset even though the GUI currently shows that I am not using any jails, plugins or VMs.

Code:
NAME                                              USED  AVAIL  REFER  MOUNTPOINT
TANK/jails                                        684M  8.36T   205K  /mnt/TANK/jails
TANK/jails/.warden-template-pluginjail-11.0-x64   684M  8.36T   684M  /mnt/TANK/jails/.warden-template-pluginjail-11.0-x64


The data seems to live in the dataset TANK/jails/.warden-template-pluginjail-11.0-x64 - can I just run:
zfs destroy TANK/jails/.warden-template-pluginjail-11.0-x64,
from the shell, or is this likely to cause problems? If it is safe to delete, should I do it before/after upgrading, or does it matter?

This is what the dataset contains:
Code:
/mnt/TANK/jails/.warden-template-pluginjail-11.0-x64
#>ls -la
total 207
drwxr-xr-x  18 root  wheel    22 Jan  6  2018 .
drwxr-xr-x   5 root  wheel     5 Jan 10  2018 ..
-rw-r--r--   2 root  wheel   957 Sep 28  2016 .cshrc
drwxr-xr-x   2 root  wheel     2 May 12  2017 .plugins
-rw-r--r--   2 root  wheel   249 Sep 28  2016 .profile
drwxr-xr-x   2 root  wheel    47 Sep 28  2016 bin
drwxr-xr-x   8 root  wheel    51 Sep 28  2016 boot
-r--r--r--   1 root  wheel  6197 Sep 28  2016 COPYRIGHT
dr-xr-xr-x   2 root  wheel     2 Sep 28  2016 dev
drwxr-xr-x  25 root  wheel   104 May 12  2017 etc
drwxr-xr-x   4 root  wheel    56 Sep 28  2016 lib
drwxr-xr-x   3 root  wheel     5 May 12  2017 libexec
drwxr-xr-x   2 root  wheel     2 Sep 28  2016 media
drwxr-xr-x   2 root  wheel     2 Sep 28  2016 mnt
dr-xr-xr-x   2 root  wheel     2 Sep 28  2016 proc
drwxr-xr-x   2 root  wheel   146 Sep 28  2016 rescue
drwxr-xr-x   2 root  wheel     6 Sep 28  2016 root
drwxr-xr-x   2 root  wheel   136 Sep 28  2016 sbin
lrwxr-xr-x   1 root  wheel    11 Sep 28  2016 sys -> usr/src/sys
drwxrwxrwt   2 root  wheel     2 May 12  2017 tmp
drwxr-xr-x  14 root  wheel    14 Sep 28  2016 usr
drwxr-xr-x  24 root  wheel    24 Sep 28  2016 var


This appears to be a rudimentary FreeBSD system, but I am not sure how old it is or what version.

As much as possible, I like to get rid of obsolete configuration files since they may end up causing problems or confusion at some point in the future.

Any advice is much appreciated.
My suggestion don't remove it until FreeNAS 11.3 when that version will remove all Warden jails completely from FreeNAS.
 

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319
It's safe to delete. Do it from the GUI though! It's just a template file used when you first created the jail.
 

NASbox

Guru
Joined
May 8, 2012
Messages
650
It's safe to delete. Do it from the GUI though! It's just a template file used when you first created the jail.
I can't use the GUI since there are no entries - I looked at jails/templates/plugins/vms ... NOTHING!
Should I just use the shell and nuke it with zfs destroy?
 
Top