- Joined
- Feb 18, 2014
- Messages
- 2,925
I’m hoping for review and comments on my situation:
BACKGROUND:
TASK FOR COMMENT/CHECK/SUGGESTIONS:
I know that I have to nuke the existing 4-HDD pool nas3 Volume1 and replicate the backup snapshots over from nas4 tank to the new 6-HDD pool Volume1, then import that new Volume1. I did a lot of reading. The old “the more I read , the less certain I became” syndrome kicked in, so to try to get my head straight on the procedure I spun up a VM and tested the above with two pools on one machine – works fine. I added another VM and tested between the two VM’s – also works fine.
So here’s my final – open for comment, correction, caveat – whatever. All contributions gratefully received.
BACKGROUND:
- I have two TrueNAS 12.0-U4 installs – nas3 and nas4 – both created on “new” hardware with salvaged HDD’s after a house fire a couple of years ago.
- nas3 has 4 HDD’s recovered from my old FreeNAS mini with a Z2 pool Volume1
- nas4 has 6 HDD’s recovered from my old Dell C2100/FS12-TY with a Z2 pool tank
- Both of the “new” SM X9SCM-F -based boxes have been running 18 months or so, with a couple of drive replacements – all is stable.
- nas4 is a backup machine (replication target) and contains a full set of 6-hourly snapshots of Volume1 of nas3.
- nas3 is shortly going to hit 80% pool capacity so I want to add 2 drives (all 6 will be 4TB CMR WD Reds) using my two burned-in spares (I have 2 4TB Red+’s on burn-in now to become my two future spares).
- As soon as those 2 new spares are available, I’ll install my current spares in nas3 to give it 6 disks total, providing capability of a new 6-disk Z2 pool.
TASK FOR COMMENT/CHECK/SUGGESTIONS:
I know that I have to nuke the existing 4-HDD pool nas3 Volume1 and replicate the backup snapshots over from nas4 tank to the new 6-HDD pool Volume1, then import that new Volume1. I did a lot of reading. The old “the more I read , the less certain I became” syndrome kicked in, so to try to get my head straight on the procedure I spun up a VM and tested the above with two pools on one machine – works fine. I added another VM and tested between the two VM’s – also works fine.
So here’s my final – open for comment, correction, caveat – whatever. All contributions gratefully received.
- Step 1. Export nas3 System Dataset from pool Volume1 to Boot Drive.
- Step 2. Immediately after a scheduled total Volume1 replication nas3 to nas4, shut down any scheduled tasks involving nas3 pending reestablishment of new 6-disk pool.
- Step 3. Save TN config of nas3 via GUI.
- Step 4. Export pool Volume1 and destroy it to recover the disk space.
- Step 5. Create new pool Volume1 from the 6 disks .
- Step 6. Confirm 10G SSH connections between nas3 and nas4.
- Step 7. Open a “pull” Replication Task on nas3, select the new pool nas3 “Volume1” as the destination and the nas4 backup directory containing the latest root snapshot of nas3 as the source, check “Recursive”, then “Run Once”; allow to finish.
- Step 8. Reload saved nas3 configuration (which I guess is insensitive to pool size?).
- Step 9. Import pool Volume1. (it seems upload of saved config in Step 8 may import the pool?)
- Step 10. Restart and test all tasks shut down in Step 2.
- Step 11. Breathe again…