How to find out which snapshot is taking most of my space

My garuda-updated failed because / ran out of free space. I found it odd, as du -shx / said only 20 GB are used of the 50 (and looking at the results of du --max-depth 1 -hx / showed the various subdirectories indeed only took about that much), however, df -h confirmed only about 208K remained.
Looking at a suggested thread, I realized it’s the .snapshots hidden dir that’s taking so much space. So I removed most of my snapshots, but even so, I only 3.1 GB were freed. This was enough to do a garuda-update, but now I only have 103 MB left.
Is there any way I can find out which of the few remaining snapshots I should remove to recover most of the space apparently being used by snapshots?

These are my remaining snapshots.

Here is my garuda-inxi.

System:
  Kernel: 6.12.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=580f509c-498c-4ac8-9a58-a3fd1a90a9a6 rw rootflags=subvol=@
    quiet loglevel=3 resume=UUID=2682c5fa-0d8b-4a82-b3e0-d1d57207bc6d ibt=off
  Desktop: KDE Plasma v: 6.2.5 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B450-PLUS v: Rev X.0x
    serial: <filter> part-nu: SKU uuid: 776f0def-1921-484d-4e37-0c9d92797148
    UEFI: American Megatrends v: 0318 date: 06/08/2018
Battery:
  Device-1: nintendo_switch_controller_battery_0003:057E:2009.0007 model: N/A
    serial: N/A charge: Full status: full
CPU:
  Info: model: AMD Ryzen 5 2600 socket: AM4 bits: 64 type: MT MCP arch: Zen+
    gen: 1+ level: v3 note: check built: 2018-21 process: GF 12nm
    family: 0x17 (23) model-id: 8 stepping: 2 microcode: 0x800820D
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 6 threads: 12 tpc: 2
    smt: enabled cache: L1: 576 KiB desc: d-6x32 KiB; i-6x64 KiB L2: 3 MiB
    desc: 6x512 KiB L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 3400 min/max: 1550/3400 boost: enabled
    base/boost: 3400/3900 scaling: driver: acpi-cpufreq governor: performance
    volts: 1.1 V ext-clock: 100 MHz cores: 1: 3400 2: 3400 3: 3400 4: 3400
    5: 3400 6: 3400 7: 3400 8: 3400 9: 3400 10: 3400 11: 3400 12: 3400
    bogomips: 81437
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 22 [Radeon RX 6700/6700
    XT/6750 XT / 6800M/6850M XT] vendor: ASUSTeK driver: amdgpu v: kernel
    arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
    gen: 4 speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1 empty: DP-1,
    DP-2, DP-3, Writeback-1 bus-ID: 0b:00.0 chip-ID: 1002:73df class-ID: 0300
  Display: unspecified server: X.Org v: 24.1.4 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: HDMI-A-1 model: Asus VE247 serial: <filter> built: 2015 res:
    mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 92 gamma: 1.2
    size: 531x299mm (20.91x11.77") diag: 609mm (24") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: radeonsi surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.3-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6700 XT (radeonsi
    navi22 LLVM 19.1.6 DRM 3.59 6.12.9-zen1-1-zen) device-ID: 1002:73df
    memory: 11.72 GiB unified: no
  API: Vulkan v: 1.4.303 layers: 10 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6700 XT (RADV NAVI22) driver: N/A device-ID: 1002:73df
    surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe (LLVM 19.1.6 256
    bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: corectrl wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0b:00.1 chip-ID: 1002:ab28 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 0d:00.3 chip-ID: 1022:1457 class-ID: 0403
  API: ALSA v: k6.12.9-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: PipeWire v: 1.2.7 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK RTL8111H driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 04:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, sshd, systemd-timesyncd
Drives:
  Local Storage: total: 11.16 TiB lvm-free: 16 MiB used: 6.05 TiB (54.2%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW010T8
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 002C temp: 39.9 C scheme: GPT
  SMART: yes health: PASSED on: 1y 172d 6h cycles: 12,914
    read-units: 73,279,746 [37.5 TB] written-units: 28,668,316 [14.6 TB]
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD2003FZEX-00Z4SA0 family: Black size: 1.82 TiB block-size:
    physical: 4096 B logical: 512 B sata: 3.0 speed: 6.0 Gb/s tech: HDD
    rpm: 7200 serial: <filter> fw-rev: 1A01 temp: 39 C scheme: MBR
  SMART: yes state: enabled health: PASSED on: 2y 101d 22h cycles: 15002
  ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DM006-2DM164
    family: BarraCuda 3.5 (CMR) size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B sata: 3.1 speed: 6.0 Gb/s tech: HDD rpm: 7200
    serial: <filter> fw-rev: CC26 temp: 33 C scheme: MBR
  SMART: yes state: enabled health: PASSED on: 1y 276d 19h cycles: 14109
    read: 324.29 TiB written: 9.79 TiB Pre-Fail: attribute: Spin_Retry_Count
    value: 100 worst: 100 threshold: 97
  ID-4: /dev/sdc maj-min: 8:32 vendor: Western Digital
    model: WD20EZBX-00AYRA0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B sata: 3.1 speed: 6.0 Gb/s tech: HDD rpm: 7200
    serial: <filter> fw-rev: 1A01 temp: 34 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 267d 11h cycles: 7184
    Old-Age: UDMA CRC errors: 92
  ID-5: /dev/sdd maj-min: 8:48 vendor: Kingston model: SA400S37240G
    family: Driven SSDs size: 223.57 GiB block-size: physical: 512 B
    logical: 512 B sata: 3.2 speed: 6.0 Gb/s tech: SSD serial: <filter>
    fw-rev: T1A3 temp: 26 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 126d 22h cycles: 3950
    read: 4089 GiB written: 5274 GiB
  ID-6: /dev/sde maj-min: 8:64 vendor: Crucial model: CT1000MX500SSD1
    family: Micron Client SSDs size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B sata: 3.3 speed: 6.0 Gb/s tech: SSD serial: <filter>
    fw-rev: 043 temp: 33 C scheme: MBR
  SMART: yes state: enabled health: PASSED on: 220d 0h cycles: 7027
    written: 3.78 TiB
  ID-7: /dev/sdf maj-min: 8:80 vendor: Samsung model: PSSD T7 size: 1.82 TiB
    block-size: physical: 512 B logical: 512 B type: USB rev: 2.1 spd: 480 Mb/s
    lanes: 1 mode: 2.0 tech: SSD serial: <filter> fw-rev: FXG42P2Q
    temp: 34 Celsius C scheme: MBR
  SMART: yes health: PASSED on: 302d 13h cycles: 1,173
    read-units: 22,514,032 [11.5 TB] written-units: 20,373,267 [10.4 TB]
  ID-8: /dev/sdg maj-min: 8:96 vendor: Western Digital
    model: WD20SDRW-11VUUS0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B type: USB rev: 2.1 spd: 480 Mb/s lanes: 1 mode: 2.0
    sata: 3.1 speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
    fw-rev: 1026 drive-rev: 01.01A01 temp: 41 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 2y 36d 9h cycles: 1869
Partition:
  ID-1: / raw-size: 48.83 GiB size: 48.83 GiB (100.00%)
    used: 47.75 GiB (97.8%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p3
    maj-min: 259:3
  ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%)
    used: 53.5 MiB (5.2%) fs: vfat block-size: 512 B dev: /dev/sdc4
    maj-min: 8:36
  ID-3: /home raw-size: 100 GiB size: 97.87 GiB (97.87%)
    used: 57.48 GiB (58.7%) fs: ext4 block-size: 4096 B dev: /dev/sdc3
    maj-min: 8:35
  ID-4: /var/log raw-size: 48.83 GiB size: 48.83 GiB (100.00%)
    used: 47.75 GiB (97.8%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p3
    maj-min: 259:3
  ID-5: /var/tmp raw-size: 48.83 GiB size: 48.83 GiB (100.00%)
    used: 47.75 GiB (97.8%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p3
    maj-min: 259:3
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 23.39 GiB used: 190.8 MiB (0.8%)
    priority: 100 comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842
    max-streams: 12 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 55.0 C mobo: N/A gpu: amdgpu temp: 41.0 C
    mem: 40.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 24 GiB available: 23.39 GiB used: 6.02 GiB (25.7%)
  Processes: 462 Power: uptime: 31m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 9.34 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Packages: 1954 pm: pacman pkgs: 1949 libs: 581 tools: octopi,paru
    pm: flatpak pkgs: 5 Compilers: clang: 19.1.7 gcc: 14.2.1
    Shell: garuda-inxi (sudo) default: Bash v: 5.2.37 running-in: konsole
    inxi: 3.3.37
Garuda (2.6.26-1.1):
  System install date:     2024-11-26
  Last full system update: 2025-01-23 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Yes
  Failed units:            

Try Btrfs Assistant

IIRC it is not a good idea to delete snapshots with file browser, delete all with btrfs-assistant and make a new snapshot, edit value of snapshot a good luck if the fewer ones always can restore your system.

2 Likes

How do I add those columns? :sweat_smile: Mine only shows Subvolume, Created and Read-only.
(Sorry, I have no real experience with btrfs yet…)

And no, I did not delete snapshots with file browser but with snapper-tools.

ETA: I deleted the oldest (manual) one and the 87 one, now I have 12G available, so it should be good for a while.

If you have not cleared package cache in a while, you can probably free up a few more GB by doing that.

3 Likes

Was wondering this too. I am missing some of those columns too.

1 Like

In Btrfs-Assistant, Overwiev, Disable Btrfs Quotas and Refresh Btrfs Data

btw:

Be careful with this…if you haven’t backed up the drive yet, now is the time.

Either the HDD is about to die or the SATA cable is broken/not properly connected. Check that.

2 Likes

It’s already disabled and clicking the refresh button reflected no change.

Since I got duped by this confusing button:
It shows “Disable Btrfs Quotas” when it’s disabled.
If it shows “Enable Btrfs Quotas” then it’s enabled.

1 Like

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