[Solved] Another update, unstable system again

Hi,

Another update …

This time it is worse, i removed everything from AUR, even the pamac-GUI and reinstalled firefox:

“your firefox profile can not be loaded. It may be missing or innaccessible.”

sudo pacman -Syyu did nothing and yay -Syu is giving this result:

"Failed to create cache directory ‘/home/keos/.cache/yay’ : mkdir /home/keos/.cache.yay: no space left on device.

– or maybe it has some relation with the ‘testdisk application’?, i don’t know because right now i don’t remember what happened first … i have been doing many things … i’m tired.
This post is from my other system, there is no access to firefox, Midori, or Dillo. Cliqz was removed.

Thanks.

give the output of : df -h

yay does save in .cache for compilation

yay -Scc can fix your /home space if seporate home

identify yuour space in df -h ?

df -h wil show how much space is left if it become critical your system function worser.

if you install stuf from aur it saves the data in ~/.cache/yay if it stay there it eats space also

[keos@keos-pc ~]$ df -h
S.ficheros     Tamaño Usados  Disp Uso% Montado en
dev              3.9G      0  3.9G   0% /dev
run              3.9G   1.5M  3.9G   1% /run
/dev/nvme0n1p3    31G    30G     0 100% /
tmpfs            3.9G      0  3.9G   0% /dev/shm
tmpfs            3.9G      0  3.9G   0% /sys/fs/cgroup
tmpfs            3.9G   8.0K  3.9G   1% /tmp
/dev/nvme0n1p1   488M   416K  487M   1% /boot/efi
tmpfs            784M    16K  784M   1% /run/user/1000
[keos@keos-pc ~]$ yay -Scc
Failed to create cache directory '/home/keos/.cache/yay': mkdir /home/keos/.cache/yay: no space left on device
[keos@keos-pc ~]$ 

After doble click in .cache there is this emty file:

/home/keos/.cache/event-sound-cache.tdb.f2abfb8ecc3e4ed3a37e509973626381.x86_64-pc-linux-gnu

And just in case, there is nothing here at:

/home/keos/.config/yay/



Your / full in use if it isnt the cache you can checksome folders with du -s. Where the culperit is

Du -s /var/cache. Checks how big the chache size in use

well, i did’t see your last post, any way, no idea of what is this: [keos@keos-pc ~]$ du -s
24702860 .
[keos@keos-pc ~]

[keos@keos-pc ~]$ du -s
24702860	.
[keos@keos-pc ~]$ 

[keos@keos-pc ~]$ sudo du -s /var/cache
[sudo] password for keos:
62032 /var/cache
[keos@keos-pc ~]$

i was capable of to install Falkon and it is working fine, now i can log in into the forum from Endeavouros – the only achieve for the moment. :worried: :tired_face: :zzz:

Disk usage is stil 100procent gor now. Sudo pacman -Scc

Do you play steam games on it ? Becaudr you need to find the isse. Disk is 30g / and usage is 100 procent, or i miss something

you have try to identyfy which folder onder your disk is full.

so you can do also

du -s /home
du -s /var/log

somewhere taking lot of space…

if its in your home you have to see where it come from mostly in .cache

so like in /home/keos

du -s .cache
if the amount of space its there , go to .cache

do ‘ls’ to list the folder mayby you need to furter

if .cache is not so big, you can do also du -s .local

if you using steam as example and you have some games on board, it can take some GB’s on space

for that reason i have it external…

its importand to identify… 30gb is enough space but you have to maintain it also.

No steam games, no games at all, just chess and not much …

I’m not sure i understand this .cache ls …

This is what i did:

ty[keos@keos-pc ~]$ du -s /home
24702856	/home
[keos@keos-pc ~]$ du -s /var/log
du: no se puede leer el directorio '/var/log/audit': Permiso denegado
du: no se puede leer el directorio '/var/log/lightdm': Permiso denegado
du: no se puede leer el directorio '/var/log/private': Permiso denegado
91240	/var/log
[keos@keos-pc ~]$ LANG=C du -s /var/log
du: cannot read directory '/var/log/audit': Permission denied
du: cannot read directory '/var/log/lightdm': Permission denied
du: cannot read directory '/var/log/private': Permission denied
91240	/var/log
[keos@keos-pc ~]$ du -s .cache
4	.cache
[keos@keos-pc ~]$ .cache ls
bash: .cache: orden no encontrada
[keos@keos-pc ~]$ LANG=C .cache ls
bash: .cache: orden no encontrada
[keos@keos-pc ~]$ du -s .local
6100	.local
[keos@keos-pc ~]$pe or paste code here

In thunar at .cache file i’m still seeing this rare empty file:

/home/keos/.cache/event-sound-cache.tdb.f2abfb8ecc3e4ed3a37e509973626381.x86_64-pc-linux-gnu

atleast you see now where the biggest number of space its in your /home !

to list cache is like ls .cache ,

but… now you have to find where in your own space taking much space…

ls -la
to list all your folders ? .cache and .local does look ok

you have to peak in alle hidden folder or even in downloads most space is used is from home.
all with du -s command you did with the other folder.

I did nothing rare … before the updates everything was fine …

type or [keos@keos-pc ~]$ ls -la
total 136
drwx------ 21 keos keos 12288 ene 20 06:50  .
drwxr-xr-x  3 root root  4096 ene  1 18:51  ..
-rw-r--r--  1 keos keos    41 ene  2 18:17  .aspell.en.prepl
-rw-r--r--  1 keos keos    22 ene  2 18:17  .aspell.en.pws
-rw-r--r--  1 keos keos    24 ene  7 09:41  .aspell.es.prepl
-rw-r--r--  1 keos keos    22 ene  7 09:41  .aspell.es.pws
-rw-------  1 keos keos     0 ene 20 06:49  .bash_history
-rw-r--r--  1 keos keos    21 nov 13 12:31  .bash_logout
-rwxr-xr-x  1 keos keos   153 ene  1 18:51  .bash_profile
-rwxr-xr-x  1 keos keos  1581 dic 22 16:06  .bashrc
drwxr-xr-x  2 keos keos  4096 ene 20 06:50  .cache
drwx------  8 keos keos  4096 ene  2 21:17  .cliqz
drwxr-xr-x 26 keos keos  4096 ene 19 21:12  .config
drwxr-xr-x  6 keos keos  4096 ene 19 17:05  Descargas
-rw-r--r--  1 keos keos    43 ene  1 18:52  .dmrc
drwxr-xr-x  3 keos keos  4096 ene 19 17:07  Documentos
drwxr-xr-x  2 keos keos  4096 ene  1 18:52  Escritorio
drwx------  3 keos keos  4096 ene  5 14:04  .fltk
drwx------  4 keos keos  4096 ene 12 11:27  .gnupg
-rw-------  1 keos keos     0 ene  1 18:52  .ICEauthority
drwxr-xr-x  2 keos keos  4096 dic 16 15:46  Imágenes
drwxr-xr-x  2 root root  4096 ene 10 00:40  Linux
drwxr-xr-x  3 keos keos  4096 ene  1 18:52  .local
drwx------  5 keos keos  4096 ene  1 19:03  .mozilla
drwxr-xr-x  5 keos keos  4096 ene  2 21:23  Música
drwxr-xr-x  2 root root  4096 dic 20 17:45 'Música, Religión'
drwx------  3 keos keos  4096 ene  4 08:13  .pki
drwxr-xr-x  2 keos keos  4096 ene 18 14:55  Postimages
-rw-r--r--  1 keos keos  3729 oct  2 17:06  .screenrc
drwx------  4 keos keos  4096 ene  6 09:57  .thumbnails
drwxr-xr-x  2 keos keos  4096 ene 17 18:49  Vídeos
drwx------  2 keos keos  4096 ene  4 08:13  .w3m
-rw-r--r--  1 keos keos   382 ene 12 13:32  .wget-hsts
-rw-------  1 keos keos    52 ene 20 06:50  .Xauthority
-rw-------  1 keos keos     0 ene 20 06:52  .xsession-errors
-rw-------  1 keos keos     0 ene 20 06:49  .xsession-errors.old
[keos@keos-pc ~]$ 

paste code here
type or pas[keos@keos-pc ~]$ ls .cache
event-sound-cache.tdb.f2abfb8ecc3e4ed3a37e509973626381.x86_64-pc-linux-gnu
[keos@keos-pc ~]$ 
te code here

it looks to me that the problem is here, i opened thunar as root and removed this thing, but is back again …

you must not look at specifik files. thunar need sometimes to save something, is also like libreoffice if you edit a word file, it saves some part to work…

you must identify space like :slight_smile:

du -s .thumbnails
du -s Videos
du -s Imágenes
du -s Descargas
du -s Musica

you have to see te folder which space it needs , when you find the folder with biggest space
you must go intoo that folder and if there any other folder you have to do over again…until je found the biggest culperit.

it is not reading ‘video’ and ‘música’, the files exist …

[keos@keos-pc ~]$ du -s .thumbnails
12	.thumbnails
[keos@keos-pc ~]$ du -s Videos
du: no se puede acceder a 'Videos': No existe el fichero o el directorio
[keos@keos-pc ~]$ du -s Imágenes
30152	Imágenes
[keos@keos-pc ~]$ du -s Descargas
5085184	Descargas
[keos@keos-pc ~]$ du -s Musica
du: no se puede acceder a 'Musica': No existe el fichero o el directorio
[keos@keos-pc ~]$ 


yeah you copy & paste it… it has a special u , i dont have on my keyboard…

Descargas

is downloads ?

you have to investigate the folders you listed…

as you listed :

ty[keos@keos-pc ~]$ du -s /home
24702856	/home

and

[keos@keos-pc ~]$ du -s Descargas
5085184	Descargas

is stil a small amount it uses in /home lets say /home uses 24gb (not exact !) and thats folder 5gb (not exact!)

there is stil 19gb somewhere hiding in the folder…mayby you saved music or games i dont know hard to tel, it there are music files saved you have to backupthose external first but identify the space is important to solve the issue.

as i notifued the space it use is just example , but partly can be wrong… cannot tell like this exact :slight_smile:

Files

find . -printf '%s %p\n'| sort -nr | head -10

folder

du -sm * | sort -nr | head -10
1 Like

@ringo, Well, this is what i did, there were some videos, not from youtube but from a site that i downloaded using this download /tool page you can find everywhere … i tried to copy these videos into a USB, it was not possible … so i erased all of them, cleaned the system … and the system is back again; nothing to do with AUR, i think, till now … because the videos are been there for a around a week or so.

I checked the rare empty file at the .cache and is not there any more, to me all this is very strange, let’s see what happen later, now everything looks o’k.

Thanks!

@SGS , do you think i should execute this commands?

i’m ask you because now everything is fine, for the moment.

No, but put in your .bashrc/.zshrc as alias, easy way to find big files/folder next time. :wink:

@keos what is your df -h now ?

i think if you same situation you come also check these… if drive become full it can’t save logs and other temporarely stuf then your system gona get unstable.

but usb is mayby other issue i dont know but if system runs then is good :slight_smile: