I made a clone of zfs filesystem that has a number of snapshots. I also have several replicated copies of the filesystem.
How can I find which filesystem/snapshot a clone is attached to?
(Seems like something that should be in the docs/googlable but I haven't found anything)
Best Answer
There is a special property called
origin
which holds what you need. Let's assume we have a zpooltank
and a filesystemtank/f1
and we create a snapshot and a clone:Let's check the origin of that clone:
Output: