I'd like to ask for some help understanding how ZFS is supposed to work... Below I have a mock-up of a shell session where as root, I compile the kernel, get the ports, and try to strategically take some ZFS snapshots.
My trouble is, issuing
Thanks in advance!
Code:
# make - j4 buildworld
# make - j4 buildkernel
# zfs snapshot zpool@first-snapshot-bare-kernel
# portsnap fetch
# portsnap extract
# zfs snapshot zpool@second-snapshot-empty-ports-tree
# cd /usr/ports/graphics/graphviz
# make && make install
# cd /usr/ports/devel/doxygen
# make && make install
# cd /usr/ports/lang/ruby27
# make && make install
# zfs snapshot zpool@third-snapshot-pre-kde
# cd /usr/ports/x11/plasma5-plasma-desktop
# make && make install
# zfs snapshot zpool@fourth-snapshot-kde
My trouble is, issuing
# zfs rollback zpool@third-snapshot-pre-kde
generates absolutely no errors, but # pkg info x11-wm/plasma5-kwin
shows that I still have it installed. And all the distfiles that I have downloaded since that third snapshot are still there. I want to go back to the zpool@third-snapshot-pre-kde
snapshot and try re-compiling the ports again, starting at that snapshot... I'm a little reluctant to use # zfs destroy
, but if that's what does the job, I'll bite the bullet.Thanks in advance!