Actions
Bug #3901
openincorrect behaviour of zfs receive -F
Start date:
2013-07-20
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
zfs receive -F does not respect the destinations canmount properties if it has to destroy/rollback some destinations child datasets.
in this case a second "plain" zfs receive WILL always fail if the source datasets ARE mounted.
it looks like that zfs receive -F will mount datasets (even if their canmount is inherited to off) before it destroys them.
see the attached file for a test script and result matrix. the result matrix was taken on oi151a. but the test script seems to behave the same on omnios-33fdde4 .
zfs receive -F should always behave the same, regardless if it has to destroy/rollback datasets. it also should respect the actual (inherited) canmount settings.
Files
Actions