TrueNAS snapshot vs replication

i messed up and expanded the wrong pool OPPS!
it was a 6 drive pool that i made to 7 well now i need to fix it…
so what’s the best way to do this? just take a Snapshot and save that to a different pool remake the 6 drive pool and restore it?
this pool has the apps like PLEX Jellyfin and Immach so i would like to retain them.
Thanks for any help.

Here are my notes when I need to move things.

You should test with a small dataset 1st. :slight_smile:

Relocate system dataset if on your source DS.
Create final source snapshot:
zfs snapshot -r p0/dsPictures@copy
Copy the data:
zfs send -Rv p0/dsPictures@copy | zfs receive -F p1/dsPictures
Wait… Wait some more…
Check your data copies with du or SMB share
Delete created snapshot:
zfs destroy -r p0/dsPictures@copy ; zfs destroy -r p1/dsPictures@copy

ok i’m a noob and that scares me lol

:slight_smile: Ya, does seem kinda daunting as it is command line. The same thing can be done on the GUI but with many more steps.

Because I have some time this morning… Thought it could help.

Check where system dataset is located and take it off your source pool if your going to destroy the pool.

For testing purposes and to write your own runbook:

  • Create a new source tank/datasetSource to emulate your existing source.
  • Create a new target tank2/datasetTarget to emulate your new location.

Manually create a snapshot of the existing Source dataset

Name it something useful to you

Check it exists in the Storage>Snapshots panel

From here, I don’t know how to do the rest in GUI because I don’t think it exists unless you use Clone and do other scary contortions to Promote and Demote the Clone.
Edit: Afterthought I guess you could create one time Replication Task to copy the data…

Recommend: Use the CLI… to restore to the target so either ssh into the server or use the console Shell to execute the copy:

zfs send -Rv p0/dsPictures@Copy | zfs receive -F p1/dsPictures

Check your data copies with du -hs or SMB share

Delete the snapshots @Copy from the Storage>Snapshots panel.

Good luck!

If you expanded the wrong raidz# (and had not made a checkpoint), yes Backup-Destroy-Restore is the only way.
A description of your system (7 drives, and it’s maybe not the only pool?) and the output of
/usr/sbin/zpool status in the shell, nicely formatted with the </> button, would help us understand the context.

ok thanks guys every thing worked out.