My disk is full, even tho /home shouldnt even use half of it

Hey guys, so as you can see i have my /home partition seperately since i like to have it that way. Now here is the Problem, even tho the /home folder just uses 152 GiB, my partition still uses 367GIB for some reason. Now this is bad, since it doesnt allow me to install some bigger stuff from for example lutris, even tho i have the space.

Here is the output of

btrfs filesystem du /home
 152.59GiB   323.33MiB   133.01GiB  /home

and i also got this

× sudo btrfs fi show
Label: none  uuid: c62e35b2-c344-4a40-bff0-abcde7e3ec22
	Total devices 1 FS bytes used 36.55GiB
	devid    1 size 50.00GiB used 39.07GiB path /dev/nvme0n1p3

Label: none  uuid: e3ef7319-b6e1-4a7a-9183-c77c737ab2e1
	Total devices 1 FS bytes used 365.98GiB
	devid    1 size 399.26GiB used 373.02GiB path /dev/nvme0n1p4

Can anyone help me out here?

λ garuda-inxi
System:
  Kernel: 5.16.12-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=c62e35b2-c344-4a40-bff0-abcde7e3ec22 rw rootflags=subvol=@
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
  Desktop: KDE Plasma 5.24.3 tk: Qt 5.15.3 info: latte-dock wm: kwin_x11
    vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: MAG B550 TOMAHAWK (MS-7C91) v: 2.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: A.64
    date: 04/08/2021
CPU:
  Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3
    family: 0x19 (25) model-id: 0x21 (33) stepping: 0 microcode: 0xA201009
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 3017 high: 3783 min/max: 2200/4650 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3783 2: 3227
    3: 3340 4: 2705 5: 2516 6: 3006 7: 3515 8: 2961 9: 2946 10: 2541 11: 2646
    12: 3026 bogomips: 88798
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown 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: Full AMD retpoline, IBPB: conditional,
    IBRS_FW, STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: ASUSTeK driver: amdgpu v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 ports: active: DP-1,DVI-D-1,HDMI-A-1 empty: DVI-D-2
    bus-ID: 2b:00.0 chip-ID: 1002:67df class-ID: 0300
  Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 5-1.1:4 chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 6400x1440 s-dpi: 96 s-size: 1693x381mm (66.7x15.0")
    s-diag: 1735mm (68.3")
  Monitor-1: DVI-D-0 mapped: DVI-D-1 pos: primary,left
    model: Idek Iiyama PL2480H serial: <filter> built: 2013 res: 1920x1080
    dpi: 94 gamma: 1.2 size: 521x293mm (20.5x11.5") diag: 598mm (23.5")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: DisplayPort-0 mapped: DP-1 pos: primary,center
    model: Acer XF272U serial: <filter> built: 2018 res: 2560x1440 hz: 144
    dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.2") diag: 685mm (27")
    ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-3: HDMI-A-0 mapped: HDMI-A-1 pos: right model: Kamvas Pro 13
    built: 2019 res: 1920x1080 dpi: 141 gamma: 1.2 size: 345x195mm (13.6x7.7")
    diag: 396mm (15.6") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  OpenGL: renderer: AMD Radeon RX 570 Series (POLARIS10 DRM 3.44.0
    5.16.12-zen1-1-zen LLVM 13.0.1)
    v: 4.6 Mesa 21.3.7 direct render: Yes
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 2b:00.1 chip-ID: 1002:aaf0 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 2d:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 5-1.1:4 chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.16.12-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Qualcomm Atheros AR9462 Wireless Network Adapter vendor: Lite-On
    driver: ath9k v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 04:00.0 chip-ID: 168c:0034 class-ID: 0280
  IF: wlp4s0 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 06:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-3: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: d000 bus-ID: 2a:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp42s0 state: down mac: <filter>
Bluetooth:
  Device-1: Lite-On Atheros AR3012 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-2.3:4 chip-ID: 04ca:300d class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
  Local Storage: total: 2.82 TiB used: 405.81 GiB (14.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT500P1SSD8
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: P3CR021
    temp: 40.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD20EZRZ-00Z5HB0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A80 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: SanDisk model: SSD PLUS 480GB
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 04RL scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 vendor: Intenso model: SSD Sata III
    size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 1D scheme: GPT
Partition:
  ID-1: / raw-size: 50 GiB size: 50 GiB (100.00%) used: 37.83 GiB (75.7%)
    fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 576 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 399.26 GiB size: 399.26 GiB (100.00%)
    used: 367.97 GiB (92.2%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-4: /var/log raw-size: 50 GiB size: 50 GiB (100.00%)
    used: 37.83 GiB (75.7%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-5: /var/tmp raw-size: 50 GiB size: 50 GiB (100.00%)
    used: 37.83 GiB (75.7%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.61 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 51.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1198
Info:
  Processes: 390 Uptime: 31m wakeups: 0 Memory: 15.61 GiB
  used: 4.14 GiB (26.5%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1378 lib: 394 Shell: fish
  v: 3.3.1 default: Bash v: 5.1.16 running-in: alacritty inxi: 3.3.13
Garuda (2.5.5-1):
  System install date:     2022-01-21
  Last full system update: 2022-03-09
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:

The problem is unclear. Are you trying to determine what is on the disk, using up the 367 GB? If so, what is the obstacle preventing you from just looking at the files?

Please show the output of lsblk -f.

1 Like

I also want to know why, when i deleted my Trash with like 100GiB in it my disk didnt free anything up

 λ lsblk -f
NAME        FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
└─sda1      ext4   1.0         d0f1a571-f655-4c78-9edd-8c3d355e5c3e
sdb
├─sdb1      vfat   FAT32       FE88-15F2
├─sdb2
├─sdb3      ntfs               A09C8D739C8D44AE
└─sdb4      ntfs               8E4A88EC4A88D27F
sdc
└─sdc1      ext4   1.0         9b39fe4e-6114-4f9f-a899-9a673ffb18c3
zram0                                                                              [SWAP]
nvme0n1
├─nvme0n1p1 vfat   FAT32       D14B-29DC                             510,4M     0% /boot/efi
├─nvme0n1p2 swap   1           06bc6b6c-44b9-48d9-8178-91400e61deb6
├─nvme0n1p3 btrfs              c62e35b2-c344-4a40-bff0-abcde7e3ec22   11,5G    76% /var/tmp
│                                                                                  /var/log
│                                                                                  /var/cache
│                                                                                  /srv
│                                                                                  /root
│                                                                                  /
└─nvme0n1p4 btrfs              e3ef7319-b6e1-4a7a-9183-c77c737ab2e1   28,6G    92% /home

here you go

Also i did look at the files directly, thats why i noticed it

Is your filesystem occupying the entire partition? Try:

sudo btrfs filesystem resize max /home

1 Like

yes,

 λ sudo btrfs filesystem resize max /home
Resize device id 1 (/dev/nvme0n1p4) from 399.26GiB to max

That does look confusing. Is nvme0n1p4 holding snapshots?

2 Likes

yes i have a snapshot config for /home. But .snapshots is in /home and i have shown u before my whole /home folder holds in total 152 GiB, so that shouldnt be the issue i think?

Have you tried using the btrfs filesystem balance tool in Garuda Assistant?

1 Like

yes, but i dont think it does anything. When i pressed start full balance it tells me to look for the system process and when i look at it in terminal it doesnt exist

Where are you seeing this? I am seeing you are using more like 328 GB in your home folder.

1 Like

in dolphin, here

btrfs filesystem du /home
 152.59GiB   323.33MiB   133.01GiB  /home

I don't have my computer in front of me, but isn't that output missing descriptors for the three outputs? I can't tell what those values represent.

What is the output of sudo btrfs filesystem du -s --human-readable /home?

1 Like
× btrfs filesystem du -s --human-readable /home
     Total   Exclusive  Set shared  Filename
cannot access: 'guest:' Inappropriate ioctl for device
cannot access: '.snapshots:' Permission denied
 152.59GiB   731.27MiB   132.63GiB  /home

Did you type sudo?

no, but when i do it, it doesnt end for some reason. But i also dont know why i would need to do that in /home

It looks like the snapshots are system files. I'm guessing that is where your extra space is tied up, and why your btrfs du is not expressing the full value of used space.

I would delete some of those snapshots to free up the space you need, it looks like you are a bit heavy.

5 Likes

hm seems like you are right, seems like snapshots of /home really clutter your shit fastly. i deleted the config for it and now it fits
thought this would be a really space light way to backup.

You are right, the snapshots add up fast and in my opinion the defaults are set kind of high.

I have mine set to hold one snapshot per day, and one per week and that's it. If I need restoration beyond the scope of those two snapshots I will use my actual rsync external hard drive backups.

3 Likes

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