I am have trouble understanding what is included in zfs recursive snapshots and rollbacks.
If I put a test file in 6 locations, 3 disappear with the rollback, 3 do not. I cannot seem to find what the "rules" are in the handbook.
For example, /var/testfile goes away, /var/mail/testfile does not. This would make sense, but I am not sure how to determine what directories are included.
Code:
NAME USED AVAIL REFER MOUNTPOINT
zroot 1.93G 206G 128K /zroot
zroot/ROOT 482M 206G 128K none
zroot/ROOT/default 482M 206G 482M /
zroot/tmp 128K 206G 128K /tmp
zroot/usr 1.46G 206G 128K /usr
zroot/usr/home 6.48M 206G 6.38M /usr/home
zroot/usr/ports 828M 206G 828M /usr/ports
zroot/usr/src 662M 206G 662M /usr/src
zroot/var 1.12M 206G 128K /var
zroot/var/audit 128K 206G 128K /var/audit
zroot/var/crash 128K 206G 128K /var/crash
zroot/var/log 410K 206G 298K /var/log
zroot/var/mail 213K 206G 128K /var/mail
zroot/var/tmp 128K 206G 128K /var/tmp
zfs snapshot -r zroot/ROOT/default@FreshInstall.10.2-r
If I put a test file in 6 locations, 3 disappear with the rollback, 3 do not. I cannot seem to find what the "rules" are in the handbook.
For example, /var/testfile goes away, /var/mail/testfile does not. This would make sense, but I am not sure how to determine what directories are included.