Snapper-tools

Hello Garuda users.

Please read the following template before requesting assistance:

Please post the terminal/konsole input and output as text (no pictures) from the the following command:

garuda-inxi

Refusing to post the output of the required "garuda-inxi" on a help request will likely result in you not receiving any help from the Garuda team. A failure to provide your system specs may also result in your thread being closed without notice, (as without this information providing assistance is often next to impossible).

Before opening a new help request, please search the Arch and Garuda Wiki's, and read any relevant sections related to your issue. Also, thoroughly search any error messages in the forum's search engine and on the web. For in depth information on how to search fo

some how snapper tools got screwed up so I uninstalled it. I reinstalled it later on but now it just shows a blank page on opening-no snapshots at all - I have about 40. If I boot into a snapshot it asks if I want to restore but does nothing. What's wrong??

INXI:
System:
Kernel: 6.0.1-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=7f8fe78a-a15f-45a7-b593-2691a874e1a3 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.26.80 tk: Qt v: 5.15.6 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: XPS 17 9710 v: N/A
serial: Chassis: type: 10 serial:
Mobo: Dell model: 0Y1K2K v: A00 serial: UEFI: Dell
v: 1.12.0 date: 07/13/2022
Battery:
ID-1: BAT0 charge: 48.0 Wh (77.5%) condition: 61.9/95.1 Wh (65.1%)
volts: 12.8 min: 11.4 model: SMP DELL 01RR3YM type: Li-poly
serial: status: charging
CPU:
Info: model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP
arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8D (141) stepping: 1
microcode: 0x40
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 10 MiB desc: 8x1.2 MiB
L3: 24 MiB desc: 1x24 MiB
Speed (MHz): avg: 2073 high: 3911 min/max: 800/4600 scaling:
driver: intel_pstate governor: powersave cores: 1: 802 2: 2657 3: 2300
4: 2101 5: 2300 6: 2300 7: 777 8: 3859 9: 800 10: 3911 11: 1375 12: 800
13: 2300 14: 2300 15: 2300 16: 2300 bogomips: 73728
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
filling, PBRSB-eIBRS: SW sequence
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915
v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21 ports:
active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
chip-ID: 8086:9a60 class-ID: 0300
Device-2: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Dell
driver: nvidia v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-10) arch: Ampere code: GAxxx process: TSMC n7
(7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max:
gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:25a2
class-ID: 0302
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 3-11:4 chip-ID: 0c45:672e class-ID: 0e02
Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris gpu: i915
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2400 s-size: <missing: xdpyinfo>
Monitor-1: eDP-1 model: Sharp 0x1517 built: 2021 res: 3840x2400 hz: 60
dpi: 266 gamma: 1.2 size: 366x229mm (14.41x9.02") diag: 432mm (17")
ratio: 16:10 modes: 3840x2400
Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
Device-1: Intel Tiger Lake-H HD Audio vendor: Dell
driver: sof-audio-pci-intel-tgl
alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:43c8 class-ID: 0401
Sound API: ALSA v: k6.0.1-zen2-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: yes
Sound Server-2: PipeWire v: 0.3.59 running: yes
Network:
Device-1: Intel Tiger Lake PCH CNVi WiFi vendor: Rivet Networks
driver: iwlwifi v: kernel bus-ID: 00:14.3 chip-ID: 8086:43f0 class-ID: 0280
IF: wlp0s20f3 state: up mac:
Bluetooth:
Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 3-14:5 chip-ID: 8087:0026 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address:
Drives:
Local Storage: total: 1.84 TiB used: 59.35 GiB (3.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B
speed: 63.2 Gb/s lanes: 4 type: SSD serial: rev: 3B2QGXA7
temp: 35.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 type: USB vendor: A-Data model: SE800
size: 953.87 GiB block-size: physical: 512 B logical: 512 B type: N/A
serial: scheme: MBR
Partition:
ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 59.35 GiB
(6.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 608 KiB
(0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 59.35
GiB (6.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 59.35
GiB (6.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 59.35
GiB (6.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 62.54 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 50.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 381 Uptime: 17m wakeups: 190 Memory: 62.54 GiB used: 5.05 GiB
(8.1%) Init: systemd v: 251 default: graphical tool: systemctl Compilers:
gcc: 12.2.0 clang: 14.0.6 Packages: 1338 pm: pacman pkgs: 1326 libs: 321
tools: gnome-software,octopi,pamac,paru,yay pm: flatpak pkgs: 12
Shell: Bash v: 5.1.16 running-in: konsole inxi: 3.3.22
Garuda (2.6.8.r2.gfea0fd4-1):
System install date: 2022-09-06
Last full system update: 2022-10-15
Is partially upgraded: No
Relevant software: tlp NetworkManager
Windows dual boot: No/Undetected
Snapshots: Snapper
Failed units:
[curley@curley-xps179710 ~]$

first of all; I'm sorry, but this might be one of the worst forums posts I've seen in here.

Please. Instead of posting the template, and adding the contents to a comment, edit the post and enclose the garuda-inxi in ~~~. Finally, delete the comment and add a descriptive title (the latter is something I should do more often too)

Anyways, please provide some screenshots.

What do you mean with "nothing happens"?

2 Likes

Did we need screenshots from nothing?

Why?

So, snapper use different path?
Check your drives with btrfs.

5 Likes

Please try

update remote reset-snapper

This will delete your old snapshots, but should hopefully restore the functionality.

If the reset above doesn’t work, make sure you reinstalled the package snapper-support, which includes also the template and all.

1 Like

Sorry about making the worst post--I'm a newbie to this forum and thought I was posting what I should. Nothing happens means just that -- if I click restore when asked if I want to it closes without prompt to reboot and does not restore the snapshot. I uninstalled it because it stopped restoring snapshots (but at least then it would show my snapshots when I opened it). Then on reinstall this happened.

what is the output of sudo btrfs subvolume list /

@.snapshots, that seems different. Did you create that?

Unfortunately I've screwed around with this so much I'm not sure what I did. I'm fairly comfortable with Arch but not so much with snapper.

BTW I really appreciate your help.

I mean with the way it is setup now I can restore snapshots manually with no problem. I just have to do in the terminal rather that just select "restore"

What does findmnt --real show?

[curley@archlinux ~]$ findmnt --real
TARGET SOURCE FSTYPE OPTIONS
/ /dev/nvme0n1p2[/@] btrfs rw,relatime,ssd,space_cache=v2,subv
├─/run/user/1000/doc portal fuse.por rw,nosuid,nodev,relatime,user_id=10
├─/boot /dev/nvme0n1p1 vfat rw,relatime,fmask=0022,dmask=0022,c
├─/.snapshots /dev/nvme0n1p2[/@.snapshots] btrfs rw,relatime,ssd,space_cache=v2,subv
├─/home /dev/nvme0n1p2[/@home] btrfs rw,relatime,ssd,space_cache=v2,subv
├─/var/cache/pacman/pkg
│ /dev/nvme0n1p2[/@pkg] btrfs rw,relatime,ssd,space_cache=v2,subv
└─/var/log /dev/nvme0n1p2[/@log] btrfs rw,relatime,ssd,space_cache=v2,subv
[curley@archlinux ~]$

I believe that snapper-tools is made to work with Garuda’s/snapper’s default layout for the root config.

You have a custom setup here.

I don’t think snapper-tools will work with that layout.

can you tell me how it should be for snapper tools to work?

Have you tried

update remote reset-snapper

?

Probably something like this:
Remove, @.snapshots from /etc/snapper
Unmount /.snapshots
rmdir /.snapshots
sudo btrfs subvolume create /.snapshots

You would need to create new snapshots for it to see them.

Given the non-standard layout that is being used here, are you sure that would be safe to run?

Ok, no, not sure, just disregard, sorry.

I'll try it. Safe be damned!

Of course it would be safe, it just wouldn’t delete the volumes of the non standard layout. Those would have to be deleted manually to avoid space usage.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.