Exporting and Importing Jails with iocage

Status
Not open for further replies.

brooktini86

Cadet
Joined
Feb 20, 2018
Messages
4
I have recently rebuilt my FreeNAS box, after stupidly adding a 5th stripe disk to a RAIDz2, rather than replacing a disk.

I've now gone and made another pool, but only noticed after setting up NextCloud 13 (in a jail using iocage), that i have set it up on a 4 disk stripe, rather than RAIDz2.

Is there a way of exporting the jail to another computer temporarily, and then importing it back to my FreeNAS after I have correctly configured RAIDz2?

Thanks
 

brooktini86

Cadet
Joined
Feb 20, 2018
Messages
4
Realised why it happened.
When I recreated the array, I was using different sized disks, so FreeNAS 11.1u2 wouldn't let me create a RAIDz2, defaulting me to stripe.
Luckily I have a weird set up on my server.
RAID card with 4 RAID0 arrays (Basically set to pass-through - 3TB x2, 4TB and 6TB - I plan to slowly replace them all with 6TB drives)

So I just changed all the RAID0 arrays to 2.5TB.
Booted into FreeNAS, built the RAIDz2 (as the drives now "matched size").
Booted back into the RAID card and expanded all the arrays.

Have learnt a lot in the process. Was taking me about a day to get NextCloud running.
But I have now just set up NextCloud 13 on PHP7.2 and Apache in about 45mins :)

I couldnt get iocage import to work (export worked fine ha) - but it forced me to use CLI more and set up NextCloud 13 on PHP 7.2
 
Status
Not open for further replies.
Top