I'm a bit stumped and am curious if you all have any suggestions on how I might better migrate data from one ZFS pool to another. I'd like to move my ix-applications dataset from a pool named "Stockpile" to a pool named "Containers". I tried selecting a new pool and migrating applications using the UI but got the following error:
What I interpreted the above to mean is that "-L" is needed in the zfs send command but the command run by Truenas didn't include that flag. After destroying the incomplete dataset in the desired destination, I ran the following command line from the GUI in the hopes that it would correctly complete the migration:
That command initially appears to work before yielding this error:
Do you all have any thoughts on a better way to do this? I'm kinda stumped and haven't been able to find a solution online in the zfs documentation which matches the error I'm getting. Any pointers would be greatly appreciated!
Thank you!
Code:
Error: [EFAULT] Full ZFS replication failed to transfer all the children of the snapshot stockpile/ix-applications@ix-app-migrate-2022-09-11_10-02. The error was: cannot receive new filesystem stream: incremental send stream requires -L (--large-block), to match previous receive. Broken pipe. The snapshot containers/ix-applications/catalogs@ix-app-migrate-2022-09-11_10-02 was not transferred. Please run `zfs destroy -r containers/ix-applications@ix-app-migrate-2022-09-11_10-02` on the target system and run replication again.
What I interpreted the above to mean is that "-L" is needed in the zfs send command but the command run by Truenas didn't include that flag. After destroying the incomplete dataset in the desired destination, I ran the following command line from the GUI in the hopes that it would correctly complete the migration:
Code:
zfs send -vRL stockpile/ix-applications@migrate-2 | zfs recv containers/ix-applications
That command initially appears to work before yielding this error:
Code:
total estimated size is 85.4G TIME SENT SNAPSHOT stockpile/ix-applications/docker@auto-2022-08-29_00-00 12:57:10 15.4M stockpile/ix-applications/docker@auto-2022-08-29_00-00 12:57:11 38.0M stockpile/ix-applications/docker@auto-2022-08-29_00-00 12:57:12 71.3M stockpile/ix-applications/docker@auto-2022-08-29_00-00 12:57:13 132M stockpile/ix-applications/docker@auto-2022-08-29_00-00 12:57:14 167M stockpile/ix-applications/docker@auto-2022-08-29_00-00 12:57:15 202M stockpile/ix-applications/docker@auto-2022-08-29_00-00 12:57:16 237M stockpile/ix-applications/docker@auto-2022-08-29_00-00 12:57:17 259M stockpile/ix-applications/docker@auto-2022-08-29_00-00 TIME SENT SNAPSHOT stockpile/ix-applications/docker@auto-2022-09-11_00-00 12:57:26 80.2M stockpile/ix-applications/docker@auto-2022-09-11_00-00 cannot receive new filesystem stream: incremental send stream requires -L (--large-block), to match previous receive.
Do you all have any thoughts on a better way to do this? I'm kinda stumped and haven't been able to find a solution online in the zfs documentation which matches the error I'm getting. Any pointers would be greatly appreciated!
Thank you!