Timeline for How can *efficiently* be determined whether a ZFS dataset has been changed since the last snapshot as a simple yes/no-question?
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 21, 2019 at 19:01 | comment | added | s-m-e | I appended a section about why I am interested in this to my question. I do not expect daemons like syslogd or journald to write to my datasets. It's more about user data. | |
| Jul 21, 2019 at 17:13 | comment | added | Jim L. | It might work on mounted systems too, especially if that system doesn't have much activity. But on tank/var/log you might find a pristine snapshot, and then an instant later syslogd and friends will write to it. Can you expand your question to say why you want to figure out whether a snapshot is pristine? What will your script do if it is, or if it isn't? | |
| Jul 21, 2019 at 8:36 | comment | added | s-m-e | Thanks for the answer. It actually improved my understanding of what I am dealing with. One question / remark, though: Unmounting the filesystem may work under certain circumstances, but not always ... A solution that also works on a "live" / mounted filesystem would help a lot. | |
| Jul 21, 2019 at 1:25 | history | edited | Jim L. | CC BY-SA 4.0 | added 821 characters in body |
| Jul 21, 2019 at 1:15 | history | answered | Jim L. | CC BY-SA 4.0 |