Moving iocage to a new pool

Status
Not open for further replies.

hexley

Dabbler
Joined
Sep 8, 2017
Messages
11
I added a new zpool and wanted to use it for my jail storage. I don't believe there is currently a way to do this in the new UI. The docs don't say much more than this bullet point:
  • iocage automatically uses the first pool that is not a root pool for the FreeNAS® system.
Anyway, I didn't care to preserve any existing jails. This worked for me:

# stop all the jails
iocage clean -a # WARNING: This is destructive.
umount /mnt/iocage # Don't forget this, else iocage will mount
# its new dataset on top of the old one... (d'oh!)
iocage activate mynewpool


Cheers!
 
Status
Not open for further replies.
Top