Sometime it’s fast:
erlangen:~ # atomic-update --debug run false
2024-04-12 07:37:18,398: INFO: Starting atomic transaction...
2024-04-12 07:37:18,445: DEBUG: Snapper root config name: root
2024-04-12 07:37:18,460: DEBUG: Active snapshot number: 3361, Default snapshot number: 3361
2024-04-12 07:37:19,046: DEBUG: Latest atomic snapshot number: 3370
2024-04-12 07:37:19,046: INFO: Using snapshot 3361 as base for new snapshot 3370
2024-04-12 07:37:19,609: DEBUG: Btrfs root device: /dev/nvme1n1p2
2024-04-12 07:37:19,609: DEBUG: Setting up temp mounts...
2024-04-12 07:37:19,623: INFO: Verifying snapshot prior to update...
2024-04-12 07:37:19,623: DEBUG: Booting container
2024-04-12 07:37:19,623: DEBUG: Getting container id
2024-04-12 07:37:20,632: DEBUG: Container ID = rootfs-b926c6697f774605
2024-04-12 07:37:20,632: DEBUG: Waiting for container bootup to finish...
2024-04-12 07:37:23,885: DEBUG: Getting failed systemd units
2024-04-12 07:37:23,919: DEBUG: Number of failed units = 11
2024-04-12 07:37:23,919: DEBUG: Failed units = apache2.service, failure-notification@apache2.service, failure-notification@minidlna.service, failure-notification@rpcbind.service, failure-notification@sshd.service, failure-notification@vncmanager.service, minidlna.service, sshd.service, vncmanager.service, rpcbind.socket, vsftpd.socket
2024-04-12 07:37:23,919: DEBUG: Stopping container...
2024-04-12 07:37:23,923: INFO: Running command >>> false <<< within chroot...
2024-04-12 07:37:23,925: ERROR: Command returned exit code 256
2024-04-12 07:37:23,925: INFO: Discarding snapshot 3370
2024-04-12 07:37:23,930: INFO: Cleaning up...
2024-04-12 07:37:23,930: DEBUG: Stopping ephemeral systemd-nspawn containers...
2024-04-12 07:37:23,938: DEBUG: Cleaning up temp mounts...
2024-04-12 07:37:24,296: DEBUG: Cleaning up temp dirs...
2024-04-12 07:37:24,298: DEBUG: Cleaning up unfinished snapshots...
erlangen:~ #
Sometime it hangs:
erlangen:~ # atomic-update --debug run false
2024-04-12 07:39:57,043: INFO: Starting atomic transaction...
2024-04-12 07:39:57,047: DEBUG: Snapper root config name: root
2024-04-12 07:39:57,062: DEBUG: Active snapshot number: 3361, Default snapshot number: 3361
2024-04-12 07:39:57,752: DEBUG: Latest atomic snapshot number: 3370
2024-04-12 07:39:57,752: INFO: Using snapshot 3361 as base for new snapshot 3370
2024-04-12 07:39:58,341: DEBUG: Btrfs root device: /dev/nvme1n1p2
2024-04-12 07:39:58,341: DEBUG: Setting up temp mounts...
2024-04-12 07:39:58,354: INFO: Verifying snapshot prior to update...
2024-04-12 07:39:58,354: DEBUG: Booting container
2024-04-12 07:39:58,354: DEBUG: Getting container id
2024-04-12 07:39:59,363: DEBUG: Container ID = rootfs-c4a0abef4e6077e0
2024-04-12 07:39:59,363: DEBUG: Waiting for container bootup to finish...
2024-04-12 07:40:30,313: DEBUG: Getting failed systemd units
2024-04-12 07:40:30,347: DEBUG: Number of failed units = 13
2024-04-12 07:40:30,347: DEBUG: Failed units = apache2.service, failure-notification@apache2.service, failure-notification@fetchmail.service, failure-notification@minidlna.service, failure-notification@rpcbind.service, failure-notification@sshd.service, failure-notification@vncmanager.service, fetchmail.service, minidlna.service, sshd.service, vncmanager.service, rpcbind.socket, vsftpd.socket
2024-04-12 07:40:30,347: DEBUG: Stopping container...
2024-04-12 07:40:30,350: INFO: Running command >>> false <<< within chroot...
2024-04-12 07:40:30,352: ERROR: Command returned exit code 256
2024-04-12 07:40:30,352: INFO: Discarding snapshot 3370
2024-04-12 07:40:30,359: INFO: Cleaning up...
2024-04-12 07:40:30,359: DEBUG: Stopping ephemeral systemd-nspawn containers...
2024-04-12 07:40:30,368: DEBUG: Cleaning up temp mounts...
2024-04-12 07:40:30,746: DEBUG: Cleaning up temp dirs...
2024-04-12 07:40:30,748: DEBUG: Cleaning up unfinished snapshots...
erlangen:~ #
erlangen:~ # time mount -v -o subvol=@/.snapshots/3369/snapshot UUID=0e58bbe5-eff7-4884-bb5d-a0aac3d8a344 /mnt;
mount: /dev/nvme1n1p2 mounted on /mnt.
real 0m0.004s
user 0m0.003s
sys 0m0.001s
erlangen:~ # time for i in dev proc run sys; do mount -v --rbind --make-rslave /$i /mnt/$i; done;
mount: /dev bound on /mnt/dev.
mount: /proc bound on /mnt/proc.
mount: /run bound on /mnt/run.
mount: /sys bound on /mnt/sys.
real 0m0.008s
user 0m0.003s
sys 0m0.005s
erlangen:~ # time chroot /mnt mount -v -a -O no_netdev;
/boot/efi : successfully mounted
/ : ignored
/.snapshots : successfully mounted
/var : successfully mounted
/usr/local : successfully mounted
/srv : successfully mounted
/root : successfully mounted
/opt : successfully mounted
/home : successfully mounted
/boot/grub2/x86_64-efi : successfully mounted
/boot/grub2/i386-pc : successfully mounted
/home_SSD : successfully mounted
/GARMIN : ignored
/GARMIN-KART : ignored
mount: /FR735: can't find LABEL=FR735.
/WD25 : ignored
/Btrbk : successfully mounted
/Backup : successfully mounted
mount: /Crucial: can't find UUID=47e6d9ee-e910-4ea4-8c8f-7ac75f49a4d3.
mount: /Seagate: can't find UUID=2260f160-cc05-47cc-9893-cc32c050177d.
/fritz.box : ignored
mount: /Sandisk: can't find UUID=78383e24-1ed7-45ad-9a6b-65b8b98b93c2.
/home_karl_6700k : ignored
real 0m0.096s
user 0m0.000s
sys 0m0.012s
erlangen:~ #