iocage set up itself on wrong pool, how can I move it?

Status
Not open for further replies.

starkita

Dabbler
Joined
Dec 25, 2017
Messages
10
Hi,

when I upgraded to latest version iocage created a dataset in the "games" pool, while the system dataset is called "nas", and I wanted it to go there.

How can I move it, or delete the wrong one and create it in the right position?

Thanks!
 

colmconn

Contributor
Joined
Jul 28, 2015
Messages
174
according to the man page for iocage you can run
Code:
iocage clean -a
to remove everything iocage related from the currently activated pool and then run iocage activate <pool of choice> to get it to activate on the pool of your choice.

As far as I understand it, cleaning will remove everything including any datasets for jail already created.

I wish I'd know this when I was setting it up originally as I deleted everything manually and it was a PITA. Note that I've not tried the first command myself and that you should read the man page to ensure you understand what you are doing first. Clearly I didn't take my own advice.
 
Last edited:
Status
Not open for further replies.
Top