Hello,
the displayed amount of disk space used in the KDE partitioning tool and in the file browser is too high. It shows that 840 GiB of 914 GiB of my SSD are used, but when checking the actual file size (for example in filelight) all of my data beginning from / is 438 GiB. I noticed a couple days back that more disk space is used than it should be, but now I am worried what happens when my SSD "has no space left". After further investigation I noticed, that the baloo_file_extractor uses some disk I/O, but that never gave me trouble in the past. I am really lost here and don't have a clue on what to do. Any help would be greatly appreciated.
We need more detailes
sudo btrfs filesystem usage /
sudo lsblk --paths --tree --include 8 --output uuid,name,fstype,label,mountpoint
inxi -Fxxxza
Read
please
and post
inxi -Fxxxza
as text! Even if you personally think it is unnecessary.
and
Check how much space your logs and your package cache is taking up. Delete them if you need to reclaim space. Delete all your timeshift snapshots, then perform a btrfs balance.
Thanks for the help so far. Here are the needed outputs. Sorry for the lack of details, this is the first ever post to a forum for me
```
sudo btrfs filesystem usage /
Overall:
Device size: 914.05GiB
Device allocated: 844.03GiB
Device unallocated: 70.02GiB
Device missing: 0.00B
Used: 841.50GiB
Free (estimated): 71.08GiB (min: 71.08GiB)
Free (statfs, df): 71.08GiB
Data ratio: 1.00
Metadata ratio: 1.00
Global reserve: 512.00MiB (used: 0.00B)
Multiple profiles: no
Data,single: Size:839.00GiB, Used:837.94GiB (99.87%)
/dev/sda2 839.00GiB
Metadata,single: Size:5.00GiB, Used:3.55GiB (71.08%)
/dev/sda2 5.00GiB
System,single: Size:32.00MiB, Used:128.00KiB (0.39%)
/dev/sda2 32.00MiB
Unallocated:
/dev/sda2 70.02GiB
```
Note that sdb and sdc are hard drives running Windows.
```
sudo lsblk --paths --tree --include 8 --output uuid,name,fstype,label,mountpoint
UUID NAME FSTYPE LABEL MOUNTPOINT
/dev/sda
D9FC-10AB ├─/dev/sda1 vfat /boot/efi
fd658104-4ded-4cfb-beac-684bc09c0ccc ├─/dev/sda2 btrfs /var/log
66f05a03-e3a9-48f0-82da-b61a6a5827f9 └─/dev/sda3 swap [SWAP]
/dev/sdb
BCB42722B426DF20 └─/dev/sdb1 ntfs F: Win
/dev/sdc
0ADECC9ADECC7F85 ├─/dev/sdc1 ntfs C: Win
4E8AD2288AD20C79 ├─/dev/sdc2 ntfs
2222294122291B75 └─/dev/sdc3 ntfs
/dev/sdd
17825db5-84ec-47aa-a503-d8f961652aac └─/dev/sdd1 ext4 /run/media/michael/backup
```
```
inxi -Fxxxza
System: Kernel: 5.11.8-140-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq
root=UUID=fd658104-4ded-4cfb-beac-684bc09c0ccc rw rootflags=subvol=@ quiet splash rd.udev.log_priority=3
vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 resume=UUID=66f05a03-e3a9-48f0-82da-b61a6a5827f9
loglevel=3
Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux
base: Arch Linux
Machine: Type: Desktop Mobo: ASUSTeK model: PRIME X570-PRO v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 1405
date: 11/19/2019
CPU: Info: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 family: 17 (23) model-id: 71 (113)
stepping: N/A microcode: 8701013 cache: L2: 3 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 86323
Speed: 4108 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 1: 4108 2: 3404 3: 4135 4: 4155 5: 3573
6: 4089 7: 4162 8: 4141 9: 3664 10: 3860 11: 4144 12: 4140
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 and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: Tul
driver: amdgpu v: kernel bus-ID: 09:00.0 chip-ID: 1002:731f class-ID: 0300
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: amdgpu,ati unloaded: modesetting,radeon
alternate: fbdev,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 4350x1440 s-dpi: 96 s-size: 1150x381mm (45.3x15.0") s-diag: 1211mm (47.7")
Monitor-1: DisplayPort-0 res: 2560x1440 hz: 60 dpi: 109 size: 597x336mm (23.5x13.2") diag: 685mm (27")
Monitor-2: HDMI-A-0 res: 1680x1050 hz: 60 dpi: 89 size: 480x270mm (18.9x10.6") diag: 551mm (21.7")
OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10 DRM 3.40.0 5.11.8-140-tkg-bmq LLVM 11.1.0) v: 4.6 Mesa 20.3.4
direct render: Yes
Audio: Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio driver: snd_hda_intel v: kernel bus-ID: 09:00.1
chip-ID: 1002:ab38 class-ID: 0403
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus-ID: 0b:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: JMTek LLC. LCS USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-1:2
chip-ID: 0c76:2018 class-ID: 0300 serial: <filter>
Device-4: ARC Camera type: USB driver: snd-usb-audio,uvcvideo bus-ID: 5-2:2 chip-ID: 05a3:9331 class-ID: 0102
serial: <filter>
Sound Server-1: ALSA v: k5.11.8-140-tkg-bmq running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.24 running: no
Network: Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel port: f000 bus-ID: 03:00.0
chip-ID: 8086:1539 class-ID: 0200
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 2.38 TiB used: 1.23 TiB (51.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 3B6Q scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10EZEX-00BN5A0 size: 931.51 GiB block-size:
physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: 1A01 scheme: MBR
ID-3: /dev/sdc maj-min: 8:32 vendor: Corsair model: Corsair Force LS SSD size: 111.79 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 05.8 scheme: MBR
ID-4: /dev/sdd maj-min: 8:48 vendor: Seagate model: ST3500312CS size: 465.73 GiB block-size: physical: 512 B
logical: 512 B speed: 3.0 Gb/s rotation: 5900 rpm serial: <filter> rev: CA12 scheme: GPT
Partition: ID-1: / raw-size: 914.05 GiB size: 914.05 GiB (100.00%) used: 842.04 GiB (92.1%) fs: btrfs dev: /dev/sda2
maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 560 KiB (0.2%) fs: vfat dev: /dev/sda1
maj-min: 8:1
ID-3: /home raw-size: 914.05 GiB size: 914.05 GiB (100.00%) used: 842.04 GiB (92.1%) fs: btrfs dev: /dev/sda2
maj-min: 8:2
ID-4: /var/log raw-size: 914.05 GiB size: 914.05 GiB (100.00%) used: 842.04 GiB (92.1%) fs: btrfs dev: /dev/sda2
maj-min: 8:2
ID-5: /var/tmp raw-size: 914.05 GiB size: 914.05 GiB (100.00%) used: 842.04 GiB (92.1%) fs: btrfs dev: /dev/sda2
maj-min: 8:2
Swap: Kernel: swappiness: 10 (default 60) cache-pressure: 75 (default 100)
ID-1: swap-1 type: partition size: 17.16 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3 maj-min: 8:3
ID-2: swap-2 type: zram size: 1.3 GiB used: 37.5 MiB (2.8%) priority: 32767 dev: /dev/zram0
ID-3: swap-3 type: zram size: 1.3 GiB used: 37.6 MiB (2.8%) priority: 32767 dev: /dev/zram1
ID-4: swap-4 type: zram size: 1.3 GiB used: 37.5 MiB (2.8%) priority: 32767 dev: /dev/zram2
ID-5: swap-5 type: zram size: 1.3 GiB used: 37.5 MiB (2.8%) priority: 32767 dev: /dev/zram3
ID-6: swap-6 type: zram size: 1.3 GiB used: 37.5 MiB (2.8%) priority: 32767 dev: /dev/zram4
ID-7: swap-7 type: zram size: 1.3 GiB used: 37.3 MiB (2.8%) priority: 32767 dev: /dev/zram5
ID-8: swap-8 type: zram size: 1.3 GiB used: 37.4 MiB (2.8%) priority: 32767 dev: /dev/zram6
ID-9: swap-9 type: zram size: 1.3 GiB used: 37.4 MiB (2.8%) priority: 32767 dev: /dev/zram7
ID-10: swap-10 type: zram size: 1.3 GiB used: 37.4 MiB (2.8%) priority: 32767 dev: /dev/zram8
ID-11: swap-11 type: zram size: 1.3 GiB used: 37.4 MiB (2.8%) priority: 32767 dev: /dev/zram9
ID-12: swap-12 type: zram size: 1.3 GiB used: 37.4 MiB (2.8%) priority: 32767 dev: /dev/zram10
ID-13: swap-13 type: zram size: 1.3 GiB used: 37.3 MiB (2.8%) priority: 32767 dev: /dev/zram11
Sensors: System Temperatures: cpu: 55.4 C mobo: N/A gpu: amdgpu temp: 56.0 C mem: 60.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1314
Info: Processes: 340 Uptime: 33m wakeups: 0 Memory: 15.6 GiB used: 5.7 GiB (36.5%) Init: systemd v: 247 tool: systemctl
Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: 1844 pacman: 1839 lib: 547 flatpak: 5 Shell: fish v: 3.2.1
running-in: alacritty inxi: 3.3.03
```
I already deleted the logs and the package cache, but that was of no help. I did a btrfs balance, but did not delete the snapshots beforehand. I will try that next, thank you.
So deleting the snapshots from timeshift did solve the problem, although I don't know why they suddenly became a problem.
Even simply deleting the snapshots sometimes is not enough to reclaim the used space. Be sure to perform another btrfs balance after deleting all timeshift snapshots and that should fully reclaim the lost space.
Glad to hear that helped.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.