#[SOLVED]could not lock database No space left on the device
230 messages · Page 1 of 1 (latest)
lsblk -o name,fsavail
what does it say
This shows
lsbk: unknown column: fsvail
Ohh my bad
Your also missing the dash before the o
Well your system is still working for now come back in the morning. Probably get some more experienced people in
Hmmm alright
did you try typing it in correctly
lmao
nope
Yea yea he explained it
again, the command is lsblk -o name,fsavail
so did it work
free might be a thing but i cant check
bestie -o means the output columns to specify not the info its going to spit out
i mean yeah
… the command i sent?
My Linux partition is 30gb
I always had free space around that
Pacman used to work
My last command before this was syu
fsavail: available space left on the file system
Also I tried this as well
sudo touch /var/lib/pacman/db.lck
you chrooted in rn?
Yes
i rember seeing something like this
do a balance
Balance?
btrfs balance
btrfs balance start -musage=70 -dusage=90 /
O so I don't use it?
Is there a space between 70 and -
Not sure what you mean
btrfs qgroup show /
also you can clear some space up by running paru -Scc
or yay, or pacman if you dont have it
try this.
Pacman doesn't work
Paru is not working as well
Yay not found even though I had it
When I first entered chroot
Pacman was working
I did -Syu
have you done a balance yet?
yes
It showed not enough space so i tried -Sc and -Scc as well which also worked
But next i tried Linux zen it showed that
Not enough space
Wait let me
btrfs balance start --full-balance /
rm -r .cache/paru/*
do you still have enough space
like atleast 5 more gb to extend that filesystem into
gtg
No such file or directory
cus we really need to balance that metadata
better to do this than screw everything up
Don't think i had paru
I don't think so
I legit have nothing installed
Just 1 game which is like 2 3 gb
Idk what's taking up the space
parted /dev/nvme0n1 -s unit gib print free
This does
shows free spaces in /dev/nvme0n1
F
💀why
cant extend
atleast enough for a block group to get allocated
so maybe around 250MiB-1GiB
Wait let me see if I can yeet something
no
you dont have to delete stuff
since it wont work anyways
we need space where block groups arent allocated there yet
So like i need 1gb of unallocated space
I could load windows and make my partition smaller
i would ask you to delete nvme0n1p4 but that's where winrecovery resides
that wont work
it has to be next to it to be able to extend
Hmm
other wise youll have to move partitions
which is risky and is very bad when you get a powercut
nah
i would be sleepin
i should actually go to bed
bye
just a heads up
if youre still going to use btrfs as your root in the future
and only give it 20-40GiB
remember to balance weekly so that this wont happen again
.s archbased
Users of unofficial install scripts and Arch-based distributions may not make support posts using the arch tag. This comes from the Arch Code of Conduct. By installing the system in a way that you do not have control over, you do not know how your system is set up or if a script silently broke something. This can cause huge issues with support, especially if people don't know you used a script.
If you need support with your system, use the other distros tag.
so remove arch tag and use other distros instead as this is garuda which is not arch but based on it
make room by using filelight or baobab
.aw filelight
No results found
.aw baobab
No results found
.aw mantainance
No results found
bruh
read what i just said b4
.
@hushed dragon
the problem is not the space for data
it's the space for metadata
it cant create anymore files since it can no longer create another block group for medata since the rest is all allocated to data
🥲gm
@hot aurora i tried to free up some space
And Pacman started working
But now it's stuck at this
Wait something happened
you shouldve done a balance b4 the pacman to fully to fix the thing 💀
Shittt
good
atleast it continued
Now
could you show
btrfs fi us /
yeah we still need to do a ballance
data is hogging all the space
btrfs balance start --full-balance /
🤷♂️
are you fine with having WinRe deleted?
yeah but we need some device unallocated here
which you cant get by just deleting stuff
Hmmm
@hot aurora
How long does this full balance take
I did balance with dusage 90
Like 7 8 chunks relocated
But that was not enough
So i did full balance
depends on the drive speed
but it should be no more than 1 hour
👍
wait
how?
did you btrfs dev add?
Yes
oh boy
youll have to wait more minutes
to btrfs dev remove
oh good
now
to prevent this from happening again
just do
btrfs balance -musage=20 -dusage=30 every week
yeah
Oko ok
you can make a cron job or systemd service for it if you dont want to keep typing that every week
... solved
#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.
- You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
- You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".
Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you
damn i think i have messed up bad
