Moving iocage storage location

Status
Not open for further replies.

ryanakata

Explorer
Joined
Jul 26, 2015
Messages
63
I have a new SSD installed in my system (Oracle F40) and am wanting to move my iocage storage and existing jails over to it on 2x100gb slots in one volume and with the other 2x100gb I plan on using that for L2ARC.

I'm wondering if I can just send a snapshot to the new location and then do an iocage activate to the new SSD. Will this move all links over or is this a recipe for disaster?
 

ryanakata

Explorer
Joined
Jul 26, 2015
Messages
63
Apologies for the late reply, I actually had someone over on reddit give me a solid answer that I haven't had a chance to implement yet. Not as easy as I had hoped but it seems it will get the job done once I have time to try it.

Code:
iocage export JAIL

will export the jail and tar it into /iocage/images/

cp the tar to new host system/pool etc then just

iocage import
 
Status
Not open for further replies.
Top