-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Info working ZFS realisations #19
Comments
Indeed, there seem to be a lot of similarities between beadm and transactional-update, just that beadm is using ZFS instead of Btrfs. One thing I should note about the presentation: On page 40 it is claimed that a "complete system rollback, restoring the complete system to the identical state as it was in when a snapshot was taken, is not possible" with Btrfs / openSUSE. This is not a limitation of Btrfs, but an intentional design decision: If directories like /var would be part of the snapshot, then a rollback would roll back production data accumulated since taking the snapshot - which is most likely not what anybody would want. For that reason certain directories are excluded from the snapshot by creating separate subvolumes. |
Yes in ZFS BE save not all data, only content/datasets |
Hi, author of https://github.com/vermaden/beadm and https://is.gd/BECTL presentation here. For the record, I got similar question on my blog and this is the answer: I will copy it here so you will not have to visit my terrible blog :) FreeBSD by default omits these dirs in ZFS Boot Environments protection:
So no real ‘data’ here besides /home (by default as /usr/home on FreeBSD) – but beadm(8) is here to protect the system and its services – not users data. So on FreeBSD besides users home directories WHOLE SYSTEM along with daemons/services/data is protected by default. These are excludes from OpenSUSE Leap 15 Linux system:
This means that system can be screwed from the beginning (/boot/grub2.*) along with broken services/daemons/applications (/opt and /srv and /usr/local omitted). Not to mention ‘picky’ excludes for mariadb/mysql/pgsql dirs, why sqlite/db2/informix/mongodb/… directories are not omitted? I am also curious what Ubuntu 19.10 will bring as it will be shipped with root on ZFS feature … but as I know the Linux world the /boot partition will be separate anyway with some ext4/xfs filesystem so the whole idea of protection of the whole system will be dead on day one. Hope that helps. Regards. |
Yes, that was me in the blog - of course I'm always interested in seeing how other systems are solving the same task :-) Regarding the subvolume layout I should note that the above list for Leap is not up to date any more, I've opened https://bugzilla.opensuse.org/show_bug.cgi?id=1151714 to fix the documentation. We have a unified Regarding /boot: When using Btrfs on openSUSE However for transactional-update all of this is not relevant: ZFS should provide all the necessary features required for transactional-update support. |
May be you interesting in ZFS analog
https://docs.oracle.com/cd/E26502_01/html/E29031/beadm-1m.html (integrated grub, seems to have been https://launchpad.net/beadm)
https://github.com/vermaden/beadm
https://github.com/freebsd/freebsd/tree/master/sbin/bectl
https://is.gd/BECTL - presentation beadm and bectl
The text was updated successfully, but these errors were encountered: