No idea why storage space is full(df says it is full, but du tells otherwise)

Hello. Recently I got a problem with my storage space, that become full, but I cannot see why or how to fix it.
As for details, while playing a game I have a notification that my storage is almost full, I was confused, because I have around 500gb of space and don’t use it too much. So after some time I decided to check it with terminal:
df said that disk is full

/dev/nvme0n1p3  476G  460G  9,5G  98% /
devtmpfs        4,0M     0  4,0M   0% /dev
tmpfs           7,5G   83M  7,5G   2% /dev/shm
efivarfs        150K   87K   59K  60% /sys/firmware/efi/efivars
tmpfs           3,0G  2,3M  3,0G   1% /run
tmpfs           1,0M     0  1,0M   0% /run/credentials/systemd-network-generator.service
tmpfs           1,0M     0  1,0M   0% /run/credentials/systemd-journald.service
tmpfs           1,0M     0  1,0M   0% /run/credentials/systemd-udev-load-credentials.service
tmpfs           1,0M     0  1,0M   0% /run/credentials/systemd-tmpfiles-setup-dev-early.service
tmpfs           1,0M     0  1,0M   0% /run/credentials/systemd-sysctl.service
tmpfs           1,0M     0  1,0M   0% /run/credentials/systemd-tmpfiles-setup-dev.service
/dev/nvme0n1p3  476G  460G  9,5G  98% /home
/dev/nvme0n1p2  974M  307M  600M  34% /boot
tmpfs           7,5G  8,5M  7,5G   1% /tmp
/dev/loop0      128K  128K     0 100% /var/lib/snapd/snap/bare/5
/dev/loop3       56M   56M     0 100% /var/lib/snapd/snap/core18/2812
/dev/loop1      105M  105M     0 100% /var/lib/snapd/snap/core/17200
/dev/loop2      106M  106M     0 100% /var/lib/snapd/snap/core/16574
/dev/loop4       56M   56M     0 100% /var/lib/snapd/snap/core18/2829
/dev/loop5       64M   64M     0 100% /var/lib/snapd/snap/core20/2379
/dev/loop7       75M   75M     0 100% /var/lib/snapd/snap/core22/1380
/dev/loop6       64M   64M     0 100% /var/lib/snapd/snap/core20/2318
/dev/loop8      165M  165M     0 100% /var/lib/snapd/snap/gnome-3-28-1804/198
/dev/loop9       75M   75M     0 100% /var/lib/snapd/snap/core22/1612
/dev/loop10     497M  497M     0 100% /var/lib/snapd/snap/gnome-42-2204/141
/dev/loop11      92M   92M     0 100% /var/lib/snapd/snap/gtk-common-themes/1535
/dev/loop13     444M  444M     0 100% /var/lib/snapd/snap/kf5-5-113-qt-5-15-11-core22/1
/dev/loop12     256K  256K     0 100% /var/lib/snapd/snap/gtk2-common-themes/13
/dev/loop14      40M   40M     0 100% /var/lib/snapd/snap/snapd/21184
/dev/loop15      39M   39M     0 100% /var/lib/snapd/snap/snapd/21759
/dev/loop16     244M  244M     0 100% /var/lib/snapd/snap/subtitle-edit/7
/dev/loop17     326M  326M     0 100% /var/lib/snapd/snap/wine-platform-5-staging/34
/dev/loop18     348M  348M     0 100% /var/lib/snapd/snap/wine-platform-runtime/380
/dev/loop19     348M  348M     0 100% /var/lib/snapd/snap/wine-platform-runtime/390
tmpfs           1,0M     0  1,0M   0% /run/credentials/systemd-vconsole-setup.service
/dev/nvme0n1p1  599M   20M  580M   4% /boot/efi
tmpfs           1,0M     0  1,0M   0% /run/credentials/systemd-tmpfiles-setup.service
tmpfs           1,0M     0  1,0M   0% /run/credentials/systemd-resolved.service
tmpfs           1,5G  7,0M  1,5G   1% /run/user/1000

so I then checked du command to be more specific, but it showed that only around 75gb are taken by “/home”

Restarting didn’t affect it at all, so I have no idea how to fix it

du does not take into account the minimum size that will be allocated.

For example a 1 byte file typically needs 4k allocated.
And a 4097 byte file takes 2 4k allocations.

If you have a lot of files this makes a lot of difference.

2 Likes

Your disk space consumption problem may not be in /home.

In a default Fedora configuration, the root and /home are subvolumes of the btrfs file system that resides in your case on /dev/nvme0n1p3 (the approximately 500GB partition of your hard drive). The root and /home are separate mount points, but share the same pool of disk space. Filling up the root file system also impacts what’s available for /home because of this.

Try broadening your search to the root to find out what’s consuming the space on your disk.

3 Likes

You may want to check sudo btrfs filesystem usage -T /

5 Likes

You can see all partitions on any single disk using gparted. Available and used space will be displayed for each partition.

For more context, that space filled on my eyes, because before I started playing I checked and there was 60gb and some time after it just showed me notification of being fulll.
But if there limit also for amount of files, I would like to know how to check it

For me it just shows /dev/nvme0n1p3 that I already know

sudo btrfs filesystem usage -T /
Overall:
    Device size:		 475.35GiB
    Device allocated:		 475.35GiB
    Device unallocated:		   1.00MiB
    Device missing:		     0.00B
    Device slack:		     0.00B
    Used:			 458.89GiB
    Free (estimated):		   9.14GiB	(min: 9.14GiB)
    Free (statfs, df):		   9.14GiB
    Data ratio:			      1.00
    Metadata ratio:		      2.00
    Global reserve:		 512.00MiB	(used: 0.00B)
    Multiple profiles:		        no

                  Data      Metadata System                              
Id Path           single    DUP      DUP      Unallocated Total     Slack
-- -------------- --------- -------- -------- ----------- --------- -----
 1 /dev/nvme0n1p3 459.34GiB 16.00GiB 16.00MiB     1.00MiB 475.35GiB     -
-- -------------- --------- -------- -------- ----------- --------- -----
   Total          459.34GiB  8.00GiB  8.00MiB     1.00MiB 475.35GiB 0.00B
   Used           450.19GiB  4.35GiB 80.00KiB

Also, after reading some similiar threads I saw that they also was using VM. So I remembered that I noticed space shortage after I have installed Virt-Manager for some tasks and if I assume correct all space shortages that I remember was after using it(some time after obviously). I know it’s a bit hasty conclusion, I installed games from Steam and played too, while space was taken away, but all signs point to Virt-Manager.
I tried commands from other threads also, but I just don’t get it what to do with this information

sudo btrfs subvolume list /
ID 256 gen 270611 top level 5 path home
ID 257 gen 270611 top level 5 path root
ID 258 gen 270386 top level 257 path var/lib/machines

sudo fpaste --btrfsinfo --printonly
Gathering system info ............. 
=== fpaste 0.5.0.0 System Information ===
* OS Release (cat /etc/*-release | uniq):
     Fedora release 41 (Forty One)
     NAME="Fedora Linux"
     VERSION="41 (Workstation Edition)"
     RELEASE_TYPE=stable
     ID=fedora
     VERSION_ID=41
     VERSION_CODENAME=""
     PLATFORM_ID="platform:f41"
     PRETTY_NAME="Fedora Linux 41 (Workstation Edition)"
     ANSI_COLOR="0;38;2;60;110;180"
     LOGO=fedora-logo-icon
     CPE_NAME="cpe:/o:fedoraproject:fedora:41"
     DEFAULT_HOSTNAME="fedora"
     HOME_URL="https://fedoraproject.org/"
     DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f41/system-administrators-guide/"
     SUPPORT_URL="https://ask.fedoraproject.org/"
     BUG_REPORT_URL="https://bugzilla.redhat.com/"
     REDHAT_BUGZILLA_PRODUCT="Fedora"
     REDHAT_BUGZILLA_PRODUCT_VERSION=41
     REDHAT_SUPPORT_PRODUCT="Fedora"
     REDHAT_SUPPORT_PRODUCT_VERSION=41
     SUPPORT_END=2025-12-15
     VARIANT="Workstation Edition"
     VARIANT_ID=workstation
     Fedora release 41 (Forty One)
     
* Kernel (uname -r):
     6.11.7-300.fc41.x86_64
     
* Kernel cmdline (cat /proc/cmdline):
     BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.11.7-300.fc41.x86_64 root=UUID=c3404e8c-7479-47d2-89e3-ec77617b2bb4 ro rootflags=subvol=root rhgb quiet
     
* block devices (lsblk -o NAME,FSTYPE,SIZE,FSUSE%,MOUNTPOINT,UUID,MIN-IO,SCHED,DISC-GRAN,MODEL):
     NAME        FSTYPE   SIZE FSUSE% MOUNTPOINT                                        UUID                                 MIN-IO SCHED DISC-GRAN MODEL
     loop0                  4K   100% /var/lib/snapd/snap/bare/5                                                                512 none         4K 
     loop1              104,2M   100% /var/lib/snapd/snap/core/17200                                                            512 none         4K 
     loop2              105,4M   100% /var/lib/snapd/snap/core/16574                                                            512 none         4K 
     loop3               55,7M   100% /var/lib/snapd/snap/core18/2812                                                           512 none         4K 
     loop4               55,7M   100% /var/lib/snapd/snap/core18/2829                                                           512 none         4K 
     loop5                 64M   100% /var/lib/snapd/snap/core20/2379                                                           512 none         4K 
     loop6               63,9M   100% /var/lib/snapd/snap/core20/2318                                                           512 none         4K 
     loop7               74,2M   100% /var/lib/snapd/snap/core22/1380                                                           512 none         4K 
     loop8              164,8M   100% /var/lib/snapd/snap/gnome-3-28-1804/198                                                   512 none         4K 
     loop9               74,3M   100% /var/lib/snapd/snap/core22/1612                                                           512 none         4K 
     loop10               497M   100% /var/lib/snapd/snap/gnome-42-2204/141                                                     512 none         4K 
     loop11              91,7M   100% /var/lib/snapd/snap/gtk-common-themes/1535                                                512 none         4K 
     loop12               140K   100% /var/lib/snapd/snap/gtk2-common-themes/13                                                 512 none         4K 
     loop13               444M   100% /var/lib/snapd/snap/kf5-5-113-qt-5-15-11-core22/1                                         512 none         4K 
     loop14              39,1M   100% /var/lib/snapd/snap/snapd/21184                                                           512 none         4K 
     loop15              38,8M   100% /var/lib/snapd/snap/snapd/21759                                                           512 none         4K 
     loop16             243,7M   100% /var/lib/snapd/snap/subtitle-edit/7                                                       512 none         4K 
     loop17             325,5M   100% /var/lib/snapd/snap/wine-platform-5-staging/34                                            512 none         4K 
     loop18             347,1M   100% /var/lib/snapd/snap/wine-platform-runtime/380                                             512 none         4K 
     loop19               347M   100% /var/lib/snapd/snap/wine-platform-runtime/390                                             512 none         4K 
     zram0                  8G        [SWAP]                                                                                   4096              4K 
     nvme0n1            476,9G                                                                                                  512 none       512B SAMSUNG MZVLQ512HALU-00000
     ├─nvme0n1p1 vfat     600M     3% /boot/efi                                         DFC7-1037                               512 none       512B 
     ├─nvme0n1p2 ext4       1G    31% /boot                                             2601c5f1-39c3-4a0f-bf8a-f8bd5a8341f9    512 none       512B 
     └─nvme0n1p3 btrfs  475,4G    97% /home                                             c3404e8c-7479-47d2-89e3-ec77617b2bb4    512 none       512B 
     
* btrfs usage (btrfs filesystem usage -T /):
     Overall:
         Device size:		 475.35GiB
         Device allocated:		 474.35GiB
         Device unallocated:		   1.00GiB
         Device missing:		     0.00B
         Device slack:		     0.00B
         Used:			 458.97GiB
         Free (estimated):		   9.06GiB	(min: 8.56GiB)
         Free (statfs, df):		   9.06GiB
         Data ratio:			      1.00
         Metadata ratio:		      2.00
         Global reserve:		 512.00MiB	(used: 0.00B)
         Multiple profiles:		        no
     
                       Data      Metadata System                              
     Id Path           single    DUP      DUP      Unallocated Total     Slack
     -- -------------- --------- -------- -------- ----------- --------- -----
      1 /dev/nvme0n1p3 458.34GiB 16.00GiB 16.00MiB     1.00GiB 475.35GiB     -
     -- -------------- --------- -------- -------- ----------- --------- -----
        Total          458.34GiB  8.00GiB  8.00MiB     1.00GiB 475.35GiB 0.00B
        Used           450.27GiB  4.35GiB 80.00KiB                            
     
* btrfs-progs (rpm -q btrfs-progs):
     btrfs-progs-6.11-1.fc41.x86_64
     
* btrfs mounts (grep btrfs /proc/mounts):
     /dev/nvme0n1p3 / btrfs rw,seclabel,relatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=257,subvol=/root 0 0
     /dev/nvme0n1p3 /home btrfs rw,seclabel,relatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/home 0 0
     
* FSUUID (findmnt -n -o UUID $(stat -c '%m' "/")):
     c3404e8c-7479-47d2-89e3-ec77617b2bb4
     
* btrfs allocations (FSUUID=$(findmnt -n -o UUID $(stat -c '%m' "/")); grep -R . /sys/fs/btrfs/"$FSUUID"/allocation/ | sed "s/^.*allocation//"):
     /metadata/disk_used:9338814464
     /metadata/bytes_pinned:147456
     /metadata/dynamic_reclaim:0
     /metadata/chunk_size:1073741824
     /metadata/reclaim_errors:0
     /metadata/bytes_used:4669407232
     /metadata/periodic_reclaim:0
     /metadata/bg_reclaim_threshold:0
     /metadata/size_classes:none 0
     /metadata/size_classes:small 0
     /metadata/size_classes:medium 0
     /metadata/size_classes:large 0
     /metadata/reclaim_count:0
     /metadata/dup/used_bytes:4669407232
     /metadata/dup/total_bytes:8589934592
     /metadata/disk_total:17179869184
     /metadata/total_bytes:8589934592
     /metadata/reclaim_bytes:0
     /metadata/bytes_reserved:753664
     /metadata/bytes_readonly:65536
     /metadata/bytes_zone_unusable:0
     /metadata/bytes_may_use:709099520
     /metadata/flags:4
     /system/disk_used:163840
     /system/bytes_pinned:0
     /system/dynamic_reclaim:0
     /system/chunk_size:33554432
     /system/reclaim_errors:0
     /system/bytes_used:81920
     /system/periodic_reclaim:0
     /system/bg_reclaim_threshold:0
     /system/size_classes:none 0
     /system/size_classes:small 0
     /system/size_classes:medium 0
     /system/size_classes:large 0
     /system/reclaim_count:0
     /system/dup/used_bytes:81920
     /system/dup/total_bytes:8388608
     /system/disk_total:16777216
     /system/total_bytes:8388608
     /system/reclaim_bytes:0
     /system/bytes_reserved:0
     /system/bytes_readonly:0
     /system/bytes_zone_unusable:0
     /system/bytes_may_use:0
     /system/flags:2
     /global_rsv_reserved:536870912
     /data/disk_used:483477696512
     /data/bytes_pinned:0
     /data/dynamic_reclaim:0
     /data/chunk_size:10737418240
     /data/reclaim_errors:0
     /data/bytes_used:483477696512
     /data/periodic_reclaim:0
     /data/bg_reclaim_threshold:0
     /data/size_classes:none 161
     /data/size_classes:small 121
     /data/size_classes:medium 150
     /data/size_classes:large 29
     /data/single/used_bytes:483477696512
     /data/single/total_bytes:492134465536
     /data/reclaim_count:0
     /data/disk_total:492134465536
     /data/total_bytes:492134465536
     /data/reclaim_bytes:0
     /data/bytes_reserved:577536
     /data/bytes_readonly:65536
     /data/bytes_zone_unusable:0
     /data/bytes_may_use:1490944
     /data/flags:1
     /global_rsv_size:536870912
     
* btrfs features (FSUUID=$(findmnt -n -o UUID $(stat -c '%m' "/")); grep -R . /sys/fs/btrfs/"$FSUUID"/features/ | sed "s/^.*features//"):
     /free_space_tree:1
     /no_holes:1
     /compress_zstd:1
     /skinny_metadata:1
     /extended_iref:1
     
* btrfs checksum (FSUUID=$(findmnt -n -o UUID $(stat -c '%m' "/")); cat /sys/fs/btrfs/"$FSUUID"/checksum):
     crc32c (crc32c-intel)
     
* Kernel messages (journalctl -k -o short-monotonic --no-hostname | grep "Linux version\| ata\|Btrfs\|BTRFS\|] hd\| scsi\| sd\| sdhci\| mmc\| nvme\| usb\| vd"):
     [    2.520846] kernel: Linux version 6.11.7-300.fc41.x86_64 (mockbuild@6c49ea81e72a4908b02fd96c22f92edf) (gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3), GNU ld version 2.43.1-2.fc41) #1 SMP PREEMPT_DYNAMIC Fri Nov  8 19:23:10 UTC 2024
     [    2.539263] kernel: usbcore: registered new interface driver usbfs
     [    2.539268] kernel: usbcore: registered new interface driver hub
     [    2.539274] kernel: usbcore: registered new device driver usb
     [    2.780088] kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.11
     [    2.780251] kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
     [    2.780362] kernel: usb usb1: Product: xHCI Host Controller
     [    2.780470] kernel: usb usb1: Manufacturer: Linux 6.11.7-300.fc41.x86_64 xhci-hcd
     [    2.780575] kernel: usb usb1: SerialNumber: 0000:00:14.0
     [    2.780963] kernel: usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.11
     [    2.781084] kernel: usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
     [    2.781189] kernel: usb usb2: Product: xHCI Host Controller
     [    2.781297] kernel: usb usb2: Manufacturer: Linux 6.11.7-300.fc41.x86_64 xhci-hcd
     [    2.781402] kernel: usb usb2: SerialNumber: 0000:00:14.0
     [    2.782497] kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.11
     [    2.782645] kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
     [    2.782755] kernel: usb usb3: Product: xHCI Host Controller
     [    2.782866] kernel: usb usb3: Manufacturer: Linux 6.11.7-300.fc41.x86_64 xhci-hcd
     [    2.782976] kernel: usb usb3: SerialNumber: 0000:3a:00.0
     [    2.783432] kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.11
     [    2.783549] kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
     [    2.783658] kernel: usb usb4: Product: xHCI Host Controller
     [    2.783766] kernel: usb usb4: Manufacturer: Linux 6.11.7-300.fc41.x86_64 xhci-hcd
     [    2.783876] kernel: usb usb4: SerialNumber: 0000:3a:00.0
     [    2.784181] kernel: usbcore: registered new interface driver usbserial_generic
     [    2.784187] kernel: usbserial: USB Serial support registered for generic
     [    2.784809] kernel: usbcore: registered new interface driver usbhid
     [    2.784817] kernel: usbhid: USB HID core driver
     [    2.784967] kernel: Btrfs loaded, zoned=yes, fsverity=yes
     [    2.785248] kernel: usb 1-1: new low-speed USB device number 2 using xhci_hcd
     [    2.785439] kernel: usb 1-1: New USB device found, idVendor=1bcf, idProduct=08a0, bcdDevice= 1.04
     [    2.785543] kernel: usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
     [    2.785696] kernel: hid-generic 0003:1BCF:08A0.0001: input,hiddev96,hidraw0: USB HID v1.10 Mouse [HID 1bcf:08a0] on usb-0000:00:14.0-1/input0
     [    2.785827] kernel: usb 1-7: new full-speed USB device number 3 using xhci_hcd
     [    2.786157] kernel: usb 1-7: New USB device found, idVendor=8087, idProduct=0a2b, bcdDevice= 0.10
     [    2.786266] kernel: usb 1-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0
     [    2.786461] kernel: usb 1-8: new full-speed USB device number 4 using xhci_hcd
     [    2.786614] kernel: usb 1-8: New USB device found, idVendor=138a, idProduct=00ab, bcdDevice= 1.64
     [    2.786719] kernel: usb 1-8: New USB device strings: Mfr=0, Product=0, SerialNumber=1
     [    2.786819] kernel: usb 1-8: SerialNumber: c424a488a6d2
     [    2.787336] kernel: usb 1-9: new high-speed USB device number 5 using xhci_hcd
     [    2.787664] kernel: usb 1-9: New USB device found, idVendor=04f2, idProduct=b5e7, bcdDevice= 0.18
     [    2.787815] kernel: usb 1-9: New USB device strings: Mfr=3, Product=1, SerialNumber=2
     [    2.787967] kernel: usb 1-9: Product: HP HD Camera
     [    2.788165] kernel: usb 1-9: Manufacturer: Generic
     [    2.788319] kernel: usb 1-9: SerialNumber: 0001
     [    3.180050] kernel: nvme nvme0: pci function 0000:3b:00.0
     [    3.199050] kernel: nvme nvme0: D3 entry latency set to 8 seconds
     [    3.225078] kernel: nvme nvme0: allocated 64 MiB host memory buffer.
     [    3.338092] kernel: nvme nvme0: 8/0/0 default/read/poll queues
     [    3.358032] kernel:  nvme0n1: p1 p2 p3
     [    5.000837] kernel: BTRFS: device label fedora_localhost-live devid 1 transid 270385 /dev/nvme0n1p3 (259:3) scanned by mount (517)
     [    5.000881] kernel: BTRFS info (device nvme0n1p3): first mount of filesystem c3404e8c-7479-47d2-89e3-ec77617b2bb4
     [    5.000917] kernel: BTRFS info (device nvme0n1p3): using crc32c (crc32c-intel) checksum algorithm
     [    5.000952] kernel: BTRFS info (device nvme0n1p3): using free-space-tree
     [    6.046030] kernel: BTRFS info (device nvme0n1p3 state M): use zstd compression, level 1
     [    7.130438] kernel: usbcore: registered new interface driver btusb
     [    7.130677] kernel: usb 1-9: Found UVC 1.50 device HP HD Camera (04f2:b5e7)
     [    7.147577] kernel: usb 1-9: Found UVC 1.50 device HP HD Camera (04f2:b5e7)
     [    7.166738] kernel: usbcore: registered new interface driver uvcvideo
     [ 5570.228242] kernel: nvme nvme0: D3 entry latency set to 8 seconds
     [ 5570.228946] kernel: nvme nvme0: 8/0/0 default/read/poll queues
     [ 5570.229322] kernel: usb 1-7: reset full-speed USB device number 3 using xhci_hcd
     [ 5570.229816] kernel: usb 1-9: reset high-speed USB device number 5 using xhci_hcd
     [ 5570.231531] kernel: usb 1-8: USB disconnect, device number 4
     [ 5570.341021] kernel: usb 1-8: new full-speed USB device number 6 using xhci_hcd
     [ 5570.475021] kernel: usb 1-8: New USB device found, idVendor=138a, idProduct=00ab, bcdDevice= 1.64
     [ 5570.476724] kernel: usb 1-8: New USB device strings: Mfr=0, Product=0, SerialNumber=1
     [ 5570.476946] kernel: usb 1-8: SerialNumber: c424a488a6d2
     [ 7005.515087] kernel: BTRFS info (device nvme0n1p3): balance: start -dusage=30
     [ 7005.516085] kernel: BTRFS info (device nvme0n1p3): relocating block group 574482284544 flags data
     [ 7006.919055] kernel: BTRFS info (device nvme0n1p3): found 18 extents, stage: move data extents
     [ 7007.854027] kernel: BTRFS info (device nvme0n1p3): found 18 extents, stage: update data pointers
     [ 7008.454062] kernel: BTRFS info (device nvme0n1p3): balance: ended with status: 0
     [ 7300.112029] kernel: BTRFS info (device nvme0n1p3): scrub: started on devid 1
     [ 7656.429128] kernel: BTRFS info (device nvme0n1p3): scrub: finished on devid 1 with status: 0


Use something like Filelight or Disk Usage Analyzer to check which files and folders are gobbling up the most space in / (or /home).

sudo du -h -d 2 /home
find the largest directory
sudo du -h -d 1 /home/largest directory

Until you find the offending files.

Assuming it has something to do with virtmanager you may want to start with du -h -d 1 ~/.local/share/libvirt

1 Like

As for largest directory, I checked and the biggest directory had only 23gb (./var) and second 22gb (./local). So I can’t find what takes other ~400gb, as it’s hidden files.
And about the last directory, terminal said there is no this directory or file

Disk Usage Analyzer show that my place is taken, but don’t show why. Same for Filelight, but it’s UI looks cool, so thanks

Can you check:
sudo du -h -d 1 /

1 Like
327M	/boot
12K	/dev
70G	/home
du: Unable to access '/proc/4315/task/4315/fd/3': No such file or directory exists
du: could not access '/proc/4315/task/4315/fdinfo/3': No such file or directory
du: could not access '/proc/4315/fd/4': No such file or directory
du: could not access '/proc/4315/fdinfo/4': No such file or directory
0 /proc
du: Unable to access '/run/user/1000/doc': Access denied
2,6M	/run
0	/sys
16K	/tmp
586M	/root
0	/afs
44M	/etc
0	/lost+found
0	/media
0	/mnt
375M	/opt
0	/srv
14G	/usr
97G	/var
0	/servers.json
181G	/

It looks like you have old snaps installed which are no longer used. The snaps will by updated automatically, but it will keep the old snaps. To check run

snap list --all

You can remove an old unused snap by running

snap remove --revision nnn ppp

where nnn is the revision number and ppp the snap name.

1 Like

Interesting stuff you have going on here. It does not seem to add up.

One reason I’ve encountered for usage not adding up is when an open file is deleted. The filesystem will not free up the space until the file is closed. One way to look for this is to sort by file size a list of open files

lsof -Ki -X +D / | sort -nk7

So, that looks scary, but as I understood we need the lowest, because all of it does not fit in terminal.
The lowest one is from chromium browser that I watch from

chrome     8314            user  txt    REG   0,42 281873128 10366639 /var/lib/flatpak/app/org.chromium.Chromium/x86_64/stable/eb22c61dd3f2cb7bdadbc8d4f90f103754be6a6ccc61dcd2664061847d0e02cb/files/chromium/chrome
chrome     8342            user  mem    REG   0,42 281873128 10366639 /var/lib/flatpak/app/org.chromium.Chromium/x86_64/stable/eb22c61dd3f2cb7bdadbc8d4f90f103754be6a6ccc61dcd2664061847d0e02cb/files/chromium/chrome
chrome     8342            user  txt    REG   0,42 281873128 10366639 /var/lib/flatpak/app/org.chromium.Chromium/x86_64/stable/eb22c61dd3f2cb7bdadbc8d4f90f103754be6a6ccc61dcd2664061847d0e02cb/files/chromium/chrome

What you are looking for are open files that do not show up on the filesystem ie: ls -l of a file from the lsof output does not find the file. As the largest open file is 281MB I doubt this is your situation.

It also wrote me at the beginning:

lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
      Output information may be incomplete.

But I don’t if it affects anything or not

Another technique that reduces variables would be to boot into rescue mode and then analyze btrfs.