-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zfs send -R -i does not fail if source snapshot does not exist #3894
Comments
This be duplicate #3010 (comment) |
Still an issue here, reproducer needs both
|
Interesting... in theory this should be zero right?
|
That is indeed the bug,
|
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
In ZFS 0.6.5 (and also older versions) the following command will succeed:
Also happens with -I. It appears ZFS does "zfs send -R ..." instead. Without -R, it fails as expected:
This can result in confusing error messages with replication, when source snapshot does not exist any more. Then the receiving party gets: "cannot receive new filesystem stream: destination 'pool/dataset' exists". This is because the stream from "zfs send -R -i" is not, in fact, an incremental stream.
The text was updated successfully, but these errors were encountered: