Skip to content

NAS-140878 / 27.0.0-BETA.1 / Extend error message for full ZFS replication when there are missing datasets#359

Merged
themylogin merged 1 commit into
masterfrom
NAS-140878
Jul 6, 2026
Merged

NAS-140878 / 27.0.0-BETA.1 / Extend error message for full ZFS replication when there are missing datasets#359
themylogin merged 1 commit into
masterfrom
NAS-140878

Conversation

@themylogin

Copy link
Copy Markdown
Contributor

Full ZFS replication fails when some of the source datasets with older snapshots are not present on the destination side.

This can happen in case of dataset rename. We do dataset renames when migrating from incus to new containers system, that's the root cause of the reported issue.

I am reluctant to try to replicate dataset renames automatically. We can try parsing zpool history, but, after all, it's just a text stream without any structure and there is no guarantee it is consistent with the real history.

Additionally, we can try matching renamed datasets by snapshots guids (snapshots guid are the same on the source and destination system). However, this will require retrieving a lot of snapshot metadata on both source and destination systems, and add unnecessary complexity for such a rare case.

@themylogin

Copy link
Copy Markdown
Contributor Author

time 2:00

@bugclerk bugclerk changed the title Extend error message for full ZFS replication when there are missing datasets NAS-140878 / 27.0.0-BETA.1 / Extend error message for full ZFS replication when there are missing datasets May 26, 2026
@bugclerk

Copy link
Copy Markdown

@themylogin themylogin merged commit 12f2fd4 into master Jul 6, 2026
1 check failed
@themylogin themylogin deleted the NAS-140878 branch July 6, 2026 12:05
@bugclerk

bugclerk commented Jul 6, 2026

Copy link
Copy Markdown

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jul 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants