How to completely remove the Jails directory

Status
Not open for further replies.

Spud

Contributor
Joined
Oct 23, 2011
Messages
117
Hello again,

I'm trying to completely remove the Jails directory from my system so as to start clean

I have removed all the others through one means or another with the help of this

https://bugs.pcbsd.org/issues/4264
https://bugs.pcbsd.org/issues/4264
But I'm having problems removing these two directories from the Jails directory.

.warden-files-cache
.warden-template-VirtualBox-4.3.12

I have tried changing the permissions but just get " Operation not permitted"

So anyone got any ideas as to how I can completely remove all the contents of the Jails directory and start fresh?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I'm pretty sure those are datasets, so to delete them you need to destroy the datasets
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
turn off all jails and plugins then try to delete the dataset?
 

Spud

Contributor
Joined
Oct 23, 2011
Messages
117
turn off all jails and plugins then try to delete the dataset?

All plugins have been removed already and to the best of my knowledge all jails are off also but still cannot delete/remove/destroy the jails directory
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I guess you could try zpool unmount the .warden dataset? Then try to delete the jail dataset. I think you are going to have to use the cli at this point.
 

Spud

Contributor
Joined
Oct 23, 2011
Messages
117
I guess you could try zpool unmount the .warden dataset? Then try to delete the jail dataset. I think you are going to have to use the cli at this point.

OK sounds good but I have no idea what you mean here can you elaborate please?

Thanks
 
Status
Not open for further replies.
Top