SOLVED Cannot delete Jail

Lucas Rey

Contributor
Joined
Jul 25, 2011
Messages
180
Hello community, I have a problem with a Jail created previously. I tried to delete from shell (GUI doesn't show it at all, but I'm not able to do it:

Code:
# jls
   JID  IP Address      Hostname                      Path
     2  192.168.10.8    tankjail                      /mnt/tank/iocage/jails/tankjail/root
    13  192.168.10.9    nextcloud                     /mnt/tank/iocage/jails/nextcloud/root


Code:
# jexec 2 tcsh
jexec: jail_attach(2): Not a directory

Code:
# iocage list
+-----+-----------+-------+--------------+--------------+
| JID |   NAME    | STATE |   RELEASE    |     IP4      |
+=====+===========+=======+==============+==============+
| 13  | nextcloud | up    | 11.2-RELEASE | 192.168.10.9 |
+-----+-----------+-------+--------------+--------------+

Code:
# iocage destroy tankjail

This will destroy jail tankjail

Are you sure? [y/N]: y
Partial UUID/NAME supplied, cannot check for dependant jails.

Proceed? [y/N]: y
jail 'tankjail' not found!


The jail seems running since I can ping its IP, but I would like to delete it.
Please help, thank you,
Lucas
 
Top