No Space Left on Device, but space available

12System:
12Kernel 5.17.4-zen1-1-zen 12arch x86_64 12bits 64 12compiler gcc 12v 11.2.0 12clocksource tsc
12avail hpet,acpi_pm 12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
misobasedir=garuda misolabel=GARUDA_DR460NIZED_TALON quiet systemd.show_status=1
driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1
12Console N/A 12wm kwin_x11 12Distro Garuda 12base Arch Linux
12Machine:
12Type Laptop 12System Hewlett-Packard 12product HP Pavilion dv4 Notebook PC
12v 0496200000241210100630000 12serial <filter> 12Chassis 12type 10 12serial N/A
12Mobo Hewlett-Packard 12model 140A 12v 50.17 12serial <filter> 12part-nu VN673AV
12uuid 3f3b226e-613b-df11-bde4-705ab6a2c76d 12BIOS Insyde 12v F.0B 12date 02/24/2010
12Battery:
12ID-1 BAT0 12charge 0% 12condition 47.5/47.5 Wh (100.0%) 12volts 4.5 12min 10.8
12model Hewlett-Packard Primary 12type Li-ion 12serial N/A 12status N/A
12CPU:
12Info 12model Intel Core i3 M 330 12bits 64 12type MT MCP 12arch Westmere 12gen core 1 12level v2
12built 2010-11 12process Intel 32nm 12family 6 12model-id 0x25 (37) 12stepping 2 12microcode 0x11
12Topology 12cpus 1x 12cores 2 12tpc 2 12threads 4 12smt enabled 12cache 12L1 128 KiB
12desc d-2x32 KiB; i-2x32 KiB 12L2 512 KiB 12desc 2x256 KiB 12L3 3 MiB 12desc 1x3 MiB
12Speed (MHz) 12avg 933 12min/max 933/2133 12base/boost 2133/2133 12scaling 12driver acpi-cpufreq
12governor schedutil 12volts 0.0 V 12ext-clock 1066 MHz 12cores 121 933 122 933 123 933 124 933 12bogomips 17025
12Flags ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
12Vulnerabilities <filter>
12Graphics:
12Device-1 Intel Core Processor Integrated Graphics 12vendor Hewlett-Packard 12driver i915 12v kernel
12arch Gen-5.75 12process Intel 45nm 12built 2010 12ports 12active LVDS-1,VGA-1 12empty DP-1,HDMI-A-1
12bus-ID 00:02.0 12chip-ID 8086:0046 12class-ID 0300
12Device-2 Silicon Motion - Taiwan (formerly Feiya ) HP Webcam 12driver uvcvideo 12type USB 12rev 2.0
12speed 480 Mb/s 12lanes 1 12mode 2.0 12bus-ID 2-1.5:4 12chip-ID 090c:137b 12class-ID 0e02 12serial <filter>
12Display 12server X.org 12v 1.21.1.13 12with Xwayland 12v 23.2.6 12compositor kwin_x11 12driver 12gpu i915
12display-ID :0
12Monitor-1 LVDS-1 12model AU Optronics 0x4444 12built 2006 12res 1280x800 12dpi 107 12gamma 1.2
12size 304x190mm (11.97x7.48") 12diag 358mm (14.1") 12ratio 16:10 12modes 1280x800
12Monitor-2 VGA-1 12model Samsung S24B240 12serial <filter> 12built 2012 12res 1920x1080 12dpi 94 12gamma 1.2
12size 521x293mm (20.51x11.54") 12diag 598mm (23.5") 12ratio 16:9 12modes 12max 1920x1080 12min 720x400
12API EGL 12v 1.5 12hw 12drv intel crocus 12platforms 12device 0 12drv crocus 12device 1 12drv swrast 12gbm
12drv crocus 12surfaceless 12drv crocus 12inactive wayland,x11
12API OpenGL 12v 4.5 12compat-v 2.1 12vendor mesa 12v 24.0.6-arch1.2 12note incomplete (EGL sourced)
12renderer Mesa Intel HD Graphics (ILK), llvmpipe (LLVM 17.0.6 128 bits)
12API Vulkan 12Message No Vulkan data available.
12Audio:
12Device-1 Intel 5 Series/3400 Series High Definition Audio 12vendor Hewlett-Packard
12driver snd_hda_intel 12v kernel 12bus-ID 00:1b.0 12chip-ID 8086:3b56 12class-ID 0403
12API ALSA 12v k5.17.4-zen1-1-zen 12status kernel-api 12tools N/A
12Server-1 PipeWire 12v 1.0.5 12status n/a (root, process) 12with 121 pipewire-pulse 12status active
122 wireplumber 12status off 123 pipewire-alsa 12type plugin 124 pw-jack 12type plugin
12tools pactl,pw-cat,pw-cli,wpctl
12Network:
12Device-1 Broadcom BCM43225 802.11b/g/n 12vendor Hewlett-Packard 12driver bcma-pci-bridge 12v N/A 12pcie
12gen 1 12speed 2.5 GT/s 12lanes 1 12bus-ID 02:00.0 12chip-ID 14e4:4357 12class-ID 0280
12Device-2 Realtek RTL810xE PCI Express Fast Ethernet 12vendor Hewlett-Packard 12driver r8169
12v kernel 12pcie 12gen 1 12speed 2.5 GT/s 12lanes 1 12port 3000 12bus-ID 03:00.0 12chip-ID 10ec:8136
12class-ID 0200
12IF enp3s0f0 12state down 12mac <filter>
12IF-ID-1 wlp2s0b1 12state up 12mac <filter>
12Info 12services mld, NetworkManager, systemd-timesyncd, wpa_supplicant
12Drives:
12Local Storage 12total 305.55 GiB 12used 32.3 GiB (10.6%)
12ID-1 /dev/sda 12maj-min 8:0 12vendor Western Digital 12model WD3200BEKT-60V5T1 12family Scorpio Black
12size 298.09 GiB 12block-size 12physical 512 B 12logical 512 B 12sata 2.5 12speed 3.0 Gb/s 12tech HDD 12rpm 7200
12serial <filter> 12fw-rev 1A12 12temp 52 C
12SMART yes 12state enabled 12health PASSED 12on 252d 6h 12cycles 4688 12Old-Age 12g-sense error rate 240
12write error rate 100 12threshold 100
12ID-2 /dev/sdb 12maj-min 8:16 12model USB DISK 2.0 12size 7.46 GiB 12block-size 12physical 512 B
12logical 512 B 12type USB 12rev 2.0 12spd 480 Mb/s 12lanes 1 12mode 2.0 12tech N/A 12serial <filter> 12fw-rev PMAP
12SMART Message Unknown USB bridge. Flash drive/Unsupported enclosure?
12Partition:
12ID-1 / 12raw-size 34.1 GiB 12size 34.1 GiB (100.00%) 12used 32.3 GiB (94.7%) 12fs btrfs 12block-size 4096 B
12dev /dev/sda11 12maj-min 8:11
12Swap:
12Kernel 12swappiness 133 (default 60) 12cache-pressure 100 (default) 12zswap no
12ID-1 swap-1 12type zram 12size 3.63 GiB 12used 685.2 MiB (18.4%) 12priority 100 12comp zstd
12avail lzo,lzo-rle,lz4,lz4hc,842 12max-streams 4 12dev /dev/zram0
12Sensors:
12System Temperatures 12cpu 70.0 C 12mobo N/A
12Fan Speeds (rpm) N/A
12Info:
12Memory 12total 4 GiB 12available 3.64 GiB 12used 2.44 GiB (67.2%) 12igpu 32 MiB
12Processes 213 12Power 12uptime 16m 12states freeze,mem,disk 12suspend deep 12avail s2idle 12wakeups 0
12hibernate platform 12avail shutdown, reboot, suspend, test_resume 12image 1.41 GiB
12services org_kde_powerdevil, power-profiles-daemon, upowerd 12Init systemd 12v 255
12default graphical 12tool systemctl
12Packages 12pm pacman 12pkgs 0 12tools octopi,paru 12Compilers 12gcc 14.1.1 12Client 12inxi 3.3.34
error: config file /etc/pacman.d/mirrorlist could not be read: No such file or directory
Garuda ():
System install date:     2023-11-27
Last full system update: 2024-04-26
Is partially upgraded:   Yes
Relevant software:       snapper NetworkManager connman
Windows dual boot:       No/Undetected
Running in chroot, ignoring command 'list-units'
Failed units:

An upgrade failed because of not enough disk space. I’ve balanced, I’ve scrubed, I’ve deleted files & snapshots, I’ve added more space. It shows enough disk space & metadata. When I try to even rename a file, it says ‘not enough disk space’. I can only chroot from a live USB. How can I get the system to recognize the space so I can begin to fix this.

Is this the root partition? It is only 34 GiB.

If you have resized a partition, you need to expand the filesystem afterward as well to take up the full partition.

sudo btrfs filesystem resize max /mnt/path
2 Likes

I have done so. It previously was 30GB.

With over 1GB of free space, I am unable to rename a file (etc/pacman.d/mirrorlist.bak to etc/pacman.d/mirrorlist) or run mkinitcpio. Which I should be able to do.

Clear .cache and pacman cache too.

1 Like

Is there a recommended way to clear .cache?

Read the link, please.
Use Garuda Assistant.

3 Likes

Ok, that I’ve already done. Cleared the paccache as well before. Still end up with “No space left on device” error.

I tested by simply renaming a file.

Honestly, I wouldn’t do anything about it anymore.

@BluishHumility has already mentioned the first point. You need more free space.
The WD Scorpio Black is probably just as old as the laptop, the remaining SMART values ​​probably look even worse than those shown in the garuda-inxi.

It would probably make more sense if you made a backup, bought a new drive (SSD) and reinstalled garuda.
But this time with a larger root partition and a current iso - GARUDA DR460NIZED TALON is a bit old.

1 Like

Can you post output from

df -Th
ilesystem     Type      Size  Used Avail Use% Mounted on
/dev/sda11     btrfs      35G   33G  1.7G  96% /
udev           devtmpfs  1.8G     0  1.8G   0% /dev
shm            tmpfs     1.9G     0  1.9G   0% /dev/shm
run            tmpfs     1.9G     0  1.9G   0% /run
tmp            tmpfs     1.9G     0  1.9G   0% /tmp
overlay        overlay   2.8G  338M  2.4G  13% /etc/resolv.conf
1 Like

Seems I miss something in your last post.

1 Like

Yes, those are other partitions. Unrelated to Garuda. I had taken 3GB from one of the other ones and added it to this partition, which temporarily fixed things, but quickly filled up (by what I’m not sure) when I tried to do garuda-update.

I think you need to grow it abit more? :smiley:

You kind of answered your own question :smiley:

2 Likes

It doesn’t. It consumed a good amount of disk simply trying to run garuda-update. Between added space & deleted files, about 5GB? And it shows empty space. I’d rather get to the root of this issue rather than throw disk at the problem only to have it grow to full again.

had this happen to me too, funninly enough also during an upgrade. Try a btrfs check. If it does come up with a ton of filenames with errors then I suggest to just reinstall. I also tried scrubbing and everything, but to no avail.
Apparently btrfs hates being completely filled to the brim.

1 Like

You need more disk space for what you are trying to do.

Don’t forget, with snap-pac installed you are going to add two Btrfs snapshots with every Pacman transaction (a pre and a post). Btrfs snapshots are tricky to account for from a disk space perspective, because they “remember” things that you have deleted from the disk already. If you delete a file that is captured in a snapshot, no disk space is released until you delete the snapshot as well.

Additionally, if you are pulling down 500 MB of packages during an upgrade, and those are replacing 500 MB of old versions of those same packages, you need 1000 MB to take the upgrade because the old version of the packages remain in the package cache.

If your available disk space is exhausted during an upgrade and it causes a crash, it can be really difficult to restore. It’s basically the worst case scenario for a crash. https://wiki.archlinux.org/title/Pacman#Pacman_crashes_during_an_upgrade

You should avoid a crash during an upgrade at all costs. If your disk is only 34 GB and it is 96% full, that means you only have like one gig of space left. I would not risk it.

4 Likes

ups wrong lol

Maybe you have a USB Drive and store some Data on this =)

Drives:
Local Storage total 305.55 GiB used 32.3 GiB (10.6%)
ID-1 /dev/sda maj-min 8:0 vendor Western Digital model WD3200BEKT-60V5T1 family Scorpio Black
size 298.09 GiB block-size physical 5 B logical 5 B sata 2.5 speed 3.0 Gb/s tech HDD rpm 7200
serial <filter> fw-rev 1A temp 52 C
SMART yes state enabled health PASSED on 252d 6h cycles 4688 Old-Age g-sense error rate 240
write error rate 100 threshold 100
ID-2 /dev/sdb maj-min 8:16 model USB DISK 2.0 size 7.46 GiB block-size physical 5 B
logical 5 B type USB rev 2.0 spd 480 Mb/s lanes 1 mode 2.0 tech N/A serial <filter> fw-rev PMAP
SMART Message Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1 / raw-size 34.1 GiB size 34.1 GiB (100.00%) used 32.3 GiB (94.7%) fs btrfs block-size 4096 B
dev /dev/sda11 maj-min 8:11

Yes he has.

I try to remove all the “12” in his inxi for better reading.

System:
Kernel 5.17.4-zen1-1-zen arch x86_64 bits 64 compiler gcc v 11.2.0 clocksource tsc
avail hpet,acpi_pm parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
misobasedir=garuda misolabel=GARUDA_DR460NIZED_TALON quiet systemd.show_status=1
driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1
Console N/A wm kwin_x11 Distro Garuda base Arch Linux
Machine:
Type Laptop System Hewlett-Packard product HP Pavilion dv4 Notebook PC
v 04962000002410100630000 serial <filter> Chassis type 10 serial N/A
Mobo Hewlett-Packard model 140A v 50.17 serial <filter> part-nu VN673AV
uuid 3f3b226e-613b-df11-bde4-705ab6a2c76d BIOS Insyde v F.0B date 02/24/2010
Battery:
ID-1 BAT0 charge 0% condition 47.5/47.5 Wh (100.0%) volts 4.5 min 10.8
model Hewlett-Packard Primary type Li-ion serial N/A status N/A
CPU:
Info model Intel Core i3 M 330 bits 64 type MT MCP arch Westmere gen core 1 level v2
built 2010-11 process Intel 32nm family 6 model-id 0x25 (37) stepping 2 microcode 0x11
Topology cpus 1x cores 2 tpc 2 threads 4 smt enabled cache L1 8 KiB
desc d-2x32 KiB; i-2x32 KiB L2 5 KiB desc 2x256 KiB L3 3 MiB desc 1x3 MiB
Speed (MHz) avg 933 min/max 933/2133 base/boost 2133/2133 scaling driver acpi-cpufreq
governor schedutil volts 0.0 V ext-clock 1066 MHz cores 1 933 2 933 3 933 4 933 bogomips 17025
Flags ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Vulnerabilities <filter>
Graphics:
Device-1 Intel Core Processor Integrated Graphics vendor Hewlett-Packard driver i915 v kernel
arch Gen-5.75 process Intel 45nm built 2010 ports active LVDS-1,VGA-1 empty DP-1,HDMI-A-1
bus-ID 00:02.0 chip-ID 8086:0046 class-ID 0300
Device-2 Silicon Motion - Taiwan (formerly Feiya ) HP Webcam driver uvcvideo type USB rev 2.0
speed 480 Mb/s lanes 1 mode 2.0 bus-ID 2-1.5:4 chip-ID 090c:137b class-ID 0e02 serial <filter>
Display server X.org v 1.21.1.13 with Xwayland v 23.2.6 compositor kwin_x11 driver gpu i915
display-ID :0
Monitor-1 LVDS-1 model AU Optronics 0x4444 built 2006 res 80x800 dpi 107 gamma 1.2
size 304x190mm (11.97x7.48") diag 358mm (14.1") ratio 16:10 modes 80x800
Monitor-2 VGA-1 model Samsung S24B240 serial <filter> built 20 res 1920x1080 dpi 94 gamma 1.2
size 521x293mm (20.51x11.54") diag 598mm (23.5") ratio 16:9 modes max 1920x1080 min 720x400
API EGL v 1.5 hw drv intel crocus platforms device 0 drv crocus device 1 drv swrast gbm
drv crocus surfaceless drv crocus inactive wayland,x11
API OpenGL v 4.5 compat-v 2.1 vendor mesa v 24.0.6-arch1.2 note incomplete (EGL sourced)
renderer Mesa Intel HD Graphics (ILK), llvmpipe (LLVM 17.0.6 8 bits)
API Vulkan Message No Vulkan data available.
Audio:
Device-1 Intel 5 Series/3400 Series High Definition Audio vendor Hewlett-Packard
driver snd_hda_intel v kernel bus-ID 00:1b.0 chip-ID 8086:3b56 class-ID 0403
API ALSA v k5.17.4-zen1-1-zen status kernel-api tools N/A
Server-1 PipeWire v 1.0.5 status n/a (root, process) with 1 pipewire-pulse status active
2 wireplumber status off 3 pipewire-alsa type plugin 4 pw-jack type plugin
tools pactl,pw-cat,pw-cli,wpctl
Network:
Device-1 Broadcom BCM43225 802.11b/g/n vendor Hewlett-Packard driver bcma-pci-bridge v N/A pcie
gen 1 speed 2.5 GT/s lanes 1 bus-ID 02:00.0 chip-ID 14e4:4357 class-ID 0280
Device-2 Realtek RTL810xE PCI Express Fast Ethernet vendor Hewlett-Packard driver r8169
v kernel pcie gen 1 speed 2.5 GT/s lanes 1 port 3000 bus-ID 03:00.0 chip-ID 10ec:8136
class-ID 0200
IF enp3s0f0 state down mac <filter>
IF-ID-1 wlp2s0b1 state up mac <filter>
Info services mld, NetworkManager, systemd-timesyncd, wpa_supplicant
Drives:
Local Storage total 305.55 GiB used 32.3 GiB (10.6%)
ID-1 /dev/sda maj-min 8:0 vendor Western Digital model WD3200BEKT-60V5T1 family Scorpio Black
size 298.09 GiB block-size physical 5 B logical 5 B sata 2.5 speed 3.0 Gb/s tech HDD rpm 7200
serial <filter> fw-rev 1A temp 52 C
SMART yes state enabled health PASSED on 252d 6h cycles 4688 Old-Age g-sense error rate 240
write error rate 100 threshold 100
ID-2 /dev/sdb maj-min 8:16 model USB DISK 2.0 size 7.46 GiB block-size physical 5 B
logical 5 B type USB rev 2.0 spd 480 Mb/s lanes 1 mode 2.0 tech N/A serial <filter> fw-rev PMAP
SMART Message Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1 / raw-size 34.1 GiB size 34.1 GiB (100.00%) used 32.3 GiB (94.7%) fs btrfs block-size 4096 B
dev /dev/sda11 maj-min 8:11
Swap:
Kernel swappiness 133 (default 60) cache-pressure 100 (default) zswap no
ID-1 swap-1 type zram size 3.63 GiB used 685.2 MiB (18.4%) priority 100 comp zstd
avail lzo,lzo-rle,lz4,lz4hc,842 max-streams 4 dev /dev/zram0
Sensors:
System Temperatures cpu 70.0 C mobo N/A
Fan Speeds (rpm) N/A
Info:
Memory total 4 GiB available 3.64 GiB used 2.44 GiB (67.2%) igpu 32 MiB
Processes 213 Power uptime 16m states freeze,mem,disk suspend deep avail s2idle wakeups 0
hibernate platform avail shutdown, reboot, suspend, test_resume image 1.41 GiB
services org_kde_powerdevil, power-profiles-daemon, upowerd Init systemd v 255
default graphical tool systemctl
Packages pm pacman pkgs 0 tools octopi,paru Compilers gcc 14.1.1 Client inxi 3.3.34
error: config file /etc/pacman.d/mirrorlist could not be read: No such file or directory
Garuda ():
System install date:     2023-11-27
Last full system update: 2024-04-26
Is partially upgraded:   Yes
Relevant software:       snapper NetworkManager connman
Windows dual boot:       No/Undetected
Running in chroot, ignoring command 'list-units'
Failed units:
2 Likes

Agreed, not trying to full upgrade with this little free space. Want to understand how the filesystem works. I can delete things & no extra space opens up. It will show space & say it’s out of space.

Right now I literally just want to rename a file.