Can't delete jail.

Description

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.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

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 PM
Edited

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?

Duplicate
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created November 17, 2019 at 12:05 AM
Updated July 1, 2022 at 4:42 PM
Resolved November 20, 2019 at 9:52 PM