Migrating 5disk Z2 to 6disk Z2 using spare machine: best practices?

jasonbuechler

Dabbler
Joined
Mar 28, 2018
Messages
20
  • Machine0 = 5x4TB disks (in Z2; plus a 6th 4TB disk, currently unused)
  • Machine2 = 3x2TB+3x3TB (in Z1; noting warnings about diff sizes)
...both running FreeNAS 11.2-u7 from usb, and I've exported "SAVE CONFIG" from System/General to my desktop.
I've already rsync'd my most important stuff to an 8TB disk AND I'm currently replicating a full-pool snapshot from Machine0 to Machine2, after which I would like to "recreate" Machine0 as completely as possible, but with an additional disk in the "same" Raid-Z2 pool.

I'm a little foggy on the finer details of how exactly to do this; specifically:
  • getting the replicated snapshot back to Machine0 (replicate snapshot back using Machine2 as source?)
  • establishing the "new" Pool0 as writable and "identical" to the original (e.g. name/id? because I assume this is necessary to preserve shares/etc?)
  • using 'UPLOAD CONFIG' to import the config previously exported to my desktop (when? before/after prev points?)
  • does migrating iocage jails require additional work? (e.g. `iocage export`/`iocage import`) or is some/all automatic?

Apologies for what is probably a simple and frequent question, but nearly all of my forum/googling research turns up migrating to a new box, or replacing individual disks to expand a pool without changing the number of disks.
Thanks for any assistance!
 

jasonbuechler

Dabbler
Joined
Mar 28, 2018
Messages
20
Hm kay, let me ask one thing at a time then: now that I've replicated everything to a secondary FreeNAS server... and saved my 'config' (including pw secret seed) from System>General... do I need to manually save/export anything more? (e.g. iocage jails? plugins?)
The obvious first research step would be to check docs for what is contained in this config export, but although it seems to imply it's the entirety of settings reachable through FreeNAS webgui.... nothing explicitly confirms this.

Perhaps more to the point, even if the exported config has everything a growing boy could need, when I trash the 5disk pool and create a 6disk pool from its ashes... is there a way to assign/define the new pool to be "the same pool as before" such that all tasks, shares, jails, etc are properly "linked" to the new pool?
 
Top