TrueNAS zpool replacement

I have a full 10x6T Z2 zpool on a TrueNAS-CORE machine.

I want to upgrade that zpool to a 6x14T Z2 zpool, which I have created on a 2nd box. This replacement poll is at 61% capacity, which should be fine for the foreseeable future.

I’ve been successfully keeping the “new” zpool up-to-date with the old pool.

My goals are:

  • replace the old zpool with the new one
  • minimizing downtime
  • keeping the users/sharing the same

I’ve read a lot of documentation and posts on how to do this, and some steps are not clear to me.

I think I want to:

  • “quiet” both machines
  • make sure the new zpool is up-to-date
  • export both zpools
  • remove the drives from both machines
  • put the drives from the new zpool into the production machine
    • try out my new PT-H300LI labeler with the 9/64" tape to get each drive’s serial number on the caddy
  • import the zpool
  • do some simple testing
  • if all goes well, yay!

Is the above correct (enough) and sufficient?

Any recommendations for improvements?

Thanks…

Basic process is to export the pools, then remove the old pool disks, then move the new pool disks, then import the pool.

You can simplify things by ensuring the new pool has the same name as the old pool, then the sharing configs etc will come back when you export one pool, and import the other.

If you’ve been keeping the “new” pool uptodate with the old pool via replication, make sure the replicated datasets are not configured as read only.

1 Like

Thanks!

The new pool has the same name as the old pool.

I’ve been keeping the new pool updated using replication and also rsync (which, if I time things right, says there is nothing to update).

I’ll look to see how to make sure the replicated datasets are not read-only.