The change worked on my PC. The difference has been tested with limited changes to my userdata, but I try tomorrow with the next set of updates. The current snapshots are: bertadmin@VM-Xubuntu-2110:~$ zfs list -t snapshot NAME USED AVAIL REFER MOUNTPOINT bpool/BOOT/ubuntu_q3cgtj@211015-proposed 56K - 78.6M - rpool/ROOT/ubuntu_q3cgtj@211015-proposed 54.0M - 3.51G - rpool/ROOT/ubuntu_q3cgtj/srv@211015-proposed 0B - 96K - rpool/ROOT/ubuntu_q3cgtj/usr@211015-proposed 0B - 96K - rpool/ROOT/ubuntu_q3cgtj/usr/local@211015-proposed 0B - 144K - rpool/ROOT/ubuntu_q3cgtj/var@211015-proposed 0B - 96K - rpool/ROOT/ubuntu_q3cgtj/var/games@211015-proposed 0B - 96K - rpool/ROOT/ubuntu_q3cgtj/var/lib@211015-proposed 300K - 33.6M - rpool/ROOT/ubuntu_q3cgtj/var/lib/AccountsService@211015-proposed 56K - 100K - rpool/ROOT/ubuntu_q3cgtj/var/lib/NetworkManager@211015-proposed 104K - 140K - rpool/ROOT/ubuntu_q3cgtj/var/lib/apt@211015-proposed 0B - 79.6M - rpool/ROOT/ubuntu_q3cgtj/var/lib/dpkg@211015-proposed 256K - 37.9M - rpool/ROOT/ubuntu_q3cgtj/var/log@211015-proposed 416K - 71.3M - rpool/ROOT/ubuntu_q3cgtj/var/mail@211015-proposed 0B - 96K - rpool/ROOT/ubuntu_q3cgtj/var/snap@211015-proposed 0B - 96K - rpool/ROOT/ubuntu_q3cgtj/var/spool@211015-proposed 72K - 112K - rpool/ROOT/ubuntu_q3cgtj/var/www@211015-proposed 0B - 96K - rpool/USERDATA/bertadmin_g64ltk@211015-proposed 1.91M - 177M - rpool/USERDATA/bertadmin_g64ltk@autozsys_6g35l0 128K - 176M - rpool/USERDATA/root_g64ltk@211015-proposed 8K - 812K - bertadmin@VM-Xubuntu-2110:~$
That autosys snapshot has been created automatically the first time I did run the next script to create a snapshot: zsysctl save $1 -s zfs list -t snapshot | grep rpool zfs list -t snapshot | grep bpool According to the Internet the next commands would stop all autosys snapshots systemctl --user stop zsys-user-savestate.timer systemctl --user disable zsys-user-savestate.timer sudo mv /etc/apt/apt.conf.d/90_zsys_system_autosnapshot /etc/apt/apt.conf.d /90_zsys_system_autosnapshot_disabled Did I make an error or is it another bug? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1946808 Title: zfs fails reverting to a previous snapshot on reboot when selected on grub Status in zfs-linux package in Ubuntu: Triaged Status in zfs-linux source package in Impish: Fix Committed Bug description: [Impact] * zfs fails reverting to a previous snapshot on reboot when selected on grub * A miss-merge dropped initramfs hook changes, which result in failing to generate and use a new zfs uid. * Thus revert code to how it was before in https://launchpad.net/ubuntu/+source/zfs-linux/2.0.2-1ubuntu3 [Test Plan] * Create snapshot with $ zsysctl save test-sru --system * Reboot and attempt to boot into test-sru snapshot [Where problems could occur] * The change is to initramfs hook only, thus initrd generation and boot paths are affected. Only latest initrd is rebuilt, rather than old ones, meaning booting initrds of older kernel abis will not be resolved. [Other Info] * Original bug report After creating a snapshot with: zsysctl save 211012-linux13-19 -s the reboot fails as shown on the screenshot, the other screenshot shows the result of the snapshot. ProblemType: Bug DistroRelease: Ubuntu 21.10 Package: zsys 0.5.8 ProcVersionSignature: Ubuntu 5.13.0-19.19-generic 5.13.14 Uname: Linux 5.13.0-19-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu70 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: XFCE Date: Tue Oct 12 19:11:43 2021 InstallationDate: Installed on 2021-10-12 (0 days ago) InstallationMedia: Xubuntu 21.10 "Impish Indri" - Release amd64 (20211012) Mounts: Error: [Errno 40] Too many levels of symbolic links: '/proc/mounts' ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_zgtuq6@/vmlinuz-5.13.0-19-generic root=ZFS=rpool/ROOT/ubuntu_zgtuq6 ro quiet splash RelatedPackageVersions: zfs-initramfs 2.0.6-1ubuntu2 zfsutils-linux 2.0.6-1ubuntu2 SourcePackage: zsys SystemdFailedUnits: UpgradeStatus: No upgrade log present (probably fresh install) ZFSImportedPools: NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT bpool 768M 79.2M 689M - - 0% 10% 1.00x ONLINE - rpool 14G 3.33G 10.7G - - 1% 23% 1.00x ONLINE - ZFSListcache-bpool: bpool /boot off on on off on off on off - none - - - - - - - - bpool/BOOT none off on on off on off on off - none - - - - - - - - bpool/BOOT/ubuntu_zgtuq6 /boot on on on off on off on off - none - - - - - - - - ZSYSJournal: -- Journal begins at Tue 2021-10-12 18:10:37 AST, ends at Tue 2021-10-12 19:11:52 AST. -- -- No entries -- modified.conffile..etc.apt.apt.conf.d.90_zsys_system_autosnapshot: [deleted] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1946808/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp