I’m using Electric Eel 24.10 now, but I have a jailmaker jail set up in 24.04. I can’t delete it with rm
on the command line, nor with the GUI dataset delete. The latter responds with " Error deleting dataset Ark/jailmaker. [EBUSY] Failed to delete dataset: cannot unmount ‘/mnt/Ark/jailmaker/jails/ffmpeg’: pool or dataset is busy cannot unmount ‘/mnt/Ark/jailmaker/jails’: pool or dataset is busy cannot unmount ‘/mnt/Ark/jailmaker’: pool or dataset is busy"
jlmkr.py commands don’t work any more. How can I delete the jailmaker dataset?
Datasets cannot be removed with rm.
You need to delete the dataset from the GUI or zfs destroy .
But if there is any file being used/open under that directory, or you are in the command line, inside that directory, it will give you that error.
Check the Init/Shutdown Scripts or anything else using/opening files in that dataset.
Thanks. There actually is a postinit command to start up jailmaker after boot, by running /path/to/jailmaker/dataset/jlmkr.py startup
.
I didn’t think it did anything because there is no jlmkr.py there anymore. Just to be sure, I deleted the postinit command and rebooted the machine. Then I could delete the jailmaker dataset in the GUI!
I don’t understand, but problem solved.
That would only be true if you actively removed it, since it would have been manually installed by you.
Okay, to be precise, when I tried to execute jlmkr.py commands just
as I did in 24.04, I got ‘command not found’.