Hi all.
I’m having an issue with my computer at work. It has openSuse 15.6 (new installation, no upgrade) and it is not taking any snapshots of the system.
I just notice it because an upgrade gone awry and when I tried to rollback there war nothing to roll it back to: I had to undo the packages by hand (successfully).
However, that is something that I don’t want, and I would like to solve this issue. Here follows a few commands outputs I’ve already tried to find out what is going on:
~> sudo snapper list-configs
[sudo] root password:
Configuration | Subvolume
-------------+----------
root | /
~> cat /etc/snapper/configs/root
# subvolume to snapshot
SUBVOLUME="/"
# filesystem type
FSTYPE="btrfs"
# btrfs qgroup for space aware cleanup algorithms
QGROUP="1/0"
# fraction of the filesystems space the snapshots may use
SPACE_LIMIT="0.5"
# fraction of the filesystems space that should be free
FREE_LIMIT="0.2"
# users and groups allowed to work with config
ALLOW_USERS=""
ALLOW_GROUPS=""
# sync users and groups from ALLOW_USERS and ALLOW_GROUPS to .snapshots
# directory
SYNC_ACL="no"
# start comparing pre- and post-snapshot in background after creating
# post-snapshot
BACKGROUND_COMPARISON="yes"
# run daily number cleanup
NUMBER_CLEANUP="yes"
# limit for number cleanup
NUMBER_MIN_AGE="1800"
NUMBER_LIMIT="2-10"
NUMBER_LIMIT_IMPORTANT="4-10"
# create hourly snapshots
TIMELINE_CREATE="no"
# cleanup hourly snapshots after some time
TIMELINE_CLEANUP="yes"
# limits for timeline cleanup
TIMELINE_MIN_AGE="1800"
TIMELINE_LIMIT_HOURLY="10"
TIMELINE_LIMIT_DAILY="10"
TIMELINE_LIMIT_WEEKLY="0"
TIMELINE_LIMIT_MONTHLY="10"
TIMELINE_LIMIT_YEARLY="10"
# cleanup empty pre-post-pairs
EMPTY_PRE_POST_CLEANUP="yes"
# limits for empty pre-post-pair cleanup
EMPTY_PRE_POST_MIN_AGE="1800"
~> systemctl list-unit-files btrfs*
UNIT FILE STATE PRESET
btrfsmaintenance-refresh.path enabled enabled
btrfs-balance.service static -
btrfs-defrag.service static -
btrfs-scrub.service static -
btrfs-trim.service static -
btrfsmaintenance-refresh.service static -
btrfs-balance.timer enabled enabled
btrfs-defrag.timer enabled enabled
btrfs-scrub.timer enabled enabled
btrfs-trim.timer enabled enabled
10 unit files listed.
~> cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.6"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.6"
PRETTY_NAME="openSUSE Leap 15.6"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.6"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"
~> cat /etc/fstab
/dev/nvme0n1p2 / btrfs subvol=/@ 0 0
/dev/nvme0n1p2 / btrfs defaults 0 0
/dev/nvme0n1p2 /var btrfs subvol=/@/var 0 0
/dev/nvme0n1p2 /usr/local btrfs subvol=/@/usr/local 0 0
/dev/nvme0n1p2 /root btrfs subvol=/@/root 0 0
/dev/nvme0n1p2 /opt btrfs subvol=/@/opt 0 0
/dev/nvme0n1p2 /boot/grub2/x86_64-efi btrfs subvol=/@/boot/grub2/x86_64-efi 0 0
/dev/nvme0n1p2 /boot/grub2/i386-pc btrfs subvol=/@/boot/grub2/i386-pc 0 0
#/dev/sda2 swap swap defaults 0 0
/dev/nvme0n1p1 /boot/efi vfat utf8 0 0
#/dev/sda4 /work xfs defaults 0 0
#/dev/sda3 /tmp xfs defaults 0 0
/dev/nvme0n1p4 /home xfs defaults 0 0
UUID=e4f47801-13cc-48ef-a92c-5e0c6eb290ea /work xfs defaults 0 0
~> ls -la /
total 0
drwxr-xr-x 1 root root 164 jan 14 14:44 .
drwxr-xr-x 1 root root 164 jan 14 14:44 ..
drwxr-xr-x 1 root root 1756 jan 15 12:30 bin
drwxr-xr-x 1 root root 668 jan 2 17:17 boot
drwxr-xr-x 22 root root 4340 mar 24 13:25 dev
drwxr-xr-x 1 root root 5630 mar 24 13:25 etc
drwxr-xr-x 16 root root 302 mar 14 13:54 home
drwxr-xr-x 1 root root 616 jan 15 12:29 lib
drwxr-xr-x 1 root root 2326 jan 15 11:36 lib64
drwxr-xr-x 1 root root 0 mar 15 2022 mnt
drwxr-xr-x 1 root root 22 mar 19 00:51 opt
dr-xr-xr-x 428 root root 0 mar 24 13:24 proc
drwx------ 1 root root 354 mar 21 21:16 root
drwxr-xr-x 45 root root 1200 abr 10 11:14 run
drwxr-xr-x 1 root root 3802 jan 15 12:29 sbin
drwxr-xr-x 1 root root 0 mar 15 2022 selinux
drwxr-xr-x 1 root root 0 jan 2 13:02 .snapshots
drwxr-xr-x 1 root root 22 jan 15 12:31 srv
dr-xr-xr-x 13 root root 0 mar 24 13:24 sys
drwxrwxrwt 1 root root 2588 mai 13 08:30 tmp
drwxr-xr-x 1 root root 124 jan 2 13:03 usr
drwxr-xr-x 1 root root 144 jan 15 12:31 var
drwxr-xr-x 15 root root 282 mar 13 14:02 work
~> zypper se snapper
S | Name | Summary | Type
---+----------------------------+-----------------------------------------------+-------------
i | grub2-snapper-plugin | Grub2's snapper plugin | pacote
| libsnapper-devel | Header files and documentation for libsnapper | pacote
i | libsnapper5 | Library for filesystem snapshot management | pacote
| pam_snapper | PAM module for calling snapper | pacote
| python3-dnf-plugin-snapper | Snapper Plugin for DNF | pacote
i+ | snapper | Tool for filesystem snapshot management | pacote
| snapper | Tool for filesystem snapshot management | pacote fonte
| snapper-testsuite | Integration tests for snapper | pacote
i | snapper-zypp-plugin | A zypp commit plugin for calling snapper | pacote
i | yast2-snapper | YaST - file system snapshots review | pacote
Does anybody has any idea on what might be going on? Any extra info needed to help find out what might be going on? Any suggestions?
Thanks a lot in advance!