Replies: 3 comments 4 replies
-
I don't think one can do that.... |
Beta Was this translation helpful? Give feedback.
-
I don't know the internals so my answer is only based on my experience, but on my system with a limited number (~20) of arguments, all snapshots had the same txg, so I do believe it's b). |
Beta Was this translation helpful? Give feedback.
-
As I see, all the snapshot you specify on one command line will always be created at one TXG. If you need to create more than you pass to the command line, you might use channel programs, designed specifically for that purpose. |
Beta Was this translation helpful? Give feedback.
-
Here is a question around snapshot consistency if snapshotting multiple datasets within a single non-recursive 'zfs snapshot' CLI call:
If the user is executing a recursive snapshot like 'zfs snapshot -r a001@foo a002@foo' then all snapshots will have identical createtxg. So far so good.
Now, what if the user takes a non-recursive snapshot on multiple datasets by omitting the '-r' flag, all within the same CLI invocation, like so: 'zfs snapshot a001@foo a002@foo ... a999@foo' with one thousand snapshots within the same single CLI invocation. Will all the resulting snapshots have identical createtxg a) sometimes, or b) always, or c) never?
Beta Was this translation helpful? Give feedback.
All reactions