dolphin_oracle wrote: Tue Jul 25, 2023 9:04 am
a btrfs snapshot will fail if there is an active swapfile. apparently.
Hmm, I have an "active" swapfile.
Code: Select all
lsblk -f /dev/vdb
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
vdb
├─vdb1
├─vdb2 vfat FAT32 EFI-SYSTEM 0908-2208 510.7M 0% /boot/efi
├─vdb3 ext4 1.0 BOOT 57378566-640d-4fd6-8505-161610023a5b 796.5M 11% /boot
└─vdb4 crypto_LUK 2 2ce85149-7558-4bd0-8f39-e8c9a708a450
└─luks-2ce85149-7558-4bd0-8f39-e8c9a708a450
btrfs BTRFS 51a2f439-7485-4900-b669-e6f6497c2ba8 13.8G 28% /swap
/home
/
which is on subvolume /@swap, and mounted under "/" root on /swap
timeshift mounts "/" top-subvolume when running
at /run/timeshift/2452/backup
Code: Select all
ls -al /run/timeshift/2452/backup/
total 0
drwxr-xr-x 1 root root 164 Jul 25 13:36 @
drwxr-xr-x 1 root root 12 Jul 25 13:33 @home
drwxr-xr-x 1 root root 8 Jul 25 13:33 @swap
drwxr-xr-x 1 root root 210 Jul 25 17:54 timeshift-btrfs
And seems do work when booting with systemd:
timeshift-luks-btrfs-systemd-02.jpg
It fails when booting with SysVinit, b/c of this:
Code: Select all
lsblk -f /dev/vdb
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
vdb
├─vdb1
├─vdb2 vfat FAT32 EFI-SYSTEM 0908-2208 510.7M 0% /boot/efi
├─vdb3 ext4 1.0 BOOT 57378566-640d-4fd6-8505-161610023a5b 796.5M 11% /boot
└─vdb4 crypto_LUKS 2 2ce85149-7558-4bd0-8f39-e8c9a708a450
└─luks-2ce85149-7558-4bd0-8f39-e8c9a708a450
13.8G 28% /swap
/home
/
When running syvinit lsblk does not provide FSTYPE, LABEL and UUID, of the luks partitions.
Recent timshift fails b/c it heavily uses lsblk.
So, seems related to Debian "lsblk" or something within the system setup. .
Note: When running timeshift under "SysVInit" within chroot-rescue
from LiveUSB into the system lsblk works and timeshift also under SysVinit.
on a luks-encrypted btrfs-installed system .
Screenshot: [later here]