Can't delete jail.
Description
Problem/Justification
Impact
duplicates
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity

Joe Miller November 19, 2019 at 5:26 PM
Thank you. I fixed the issue by deleting the entire jails/iocage datasets through the GUI and starting over.
I think your recommendation would have worked. I have limited knowledge of BSD CLI commands available.

Dru Lavigne November 19, 2019 at 1:51 PM
The rm command is guaranteed to fail as it cannot delete a mounted dataset. This command should work though:
iocage destroy plex
This assumes that the name of the jail is plex (you can confirm the name in the Jails page of the UI.
Let us know if that resolves the issue.

Joe Miller November 17, 2019 at 10:33 PMEdited
Done.
The CLI command I tried was "rm -Rf mnt" from within the first mnt directory. I will post a screen of that too:

Dru Lavigne November 17, 2019 at 11:57 AM
please attach a debug (System -> Advanced -> Save debug) to the Private attachments section of this ticket.
Also, what is the exact CLI command you have tried that gives the error?
Details
Details
Assignee

Reporter

This jail was created through the plugin section. The process doesn't complete due to other errors I've reported (device busy, can't unmount). And the jail shows as corrupt.
When I try to delete it, I get a message that the config is gone and I should destroy and remove it. (see image)
When I try to delete it via shell the delete command fails because it says the root user is busy.