You are not logged in.

#1 2023-09-29 08:05:33

Baboon9
Member
Registered: 2023-09-28
Posts: 8

df -h says my disk is full, but but only 3% of inodes are in use

$ df -h

Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
dev             1,9G       0  1,9G    0% /dev
run             1,9G    1,2M  1,9G    1% /run
efivarfs         72K     21K   47K   31% /sys/firmware/efi/efivars
/dev/sda5       183G    108G   66G   63% /
tmpfs           1,9G     62M  1,9G    4% /dev/shm
/dev/sda4       974M    268K  906M    1% /rescue
/dev/sda1       300M    113M  187M   38% /boot
tmpfs           1,9G     15M  1,9G    1% /tmp
/dev/sda3        49G    7,2G   40G   16% /backup
tmpfs           382M     36K  382M    1% /run/user/1000

$df -i

/dev/sda5      12206080   293727 11912353    3% /
tmpfs            488432      424   488008    1% /dev/shm
/dev/sda4         65536       12    65524    1% /rescue
/dev/sda1             0        0        0     - /boot
tmpfs           1048576       50  1048526    1% /tmp
/dev/sda3       3276800   146994  3129806    5% /backup
tmpfs             97686       51    97635    1% /run/user/1000

When i run
$ lsof | grep deleted

it spits out an uncountable number of files that are mostly from chromium.

How can I clean the File System?
I don't want that my partiotion is full of trash sad

Offline

#2 2023-09-29 08:34:57

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: df -h says my disk is full, but but only 3% of inodes are in use

Your title says df -h reports a full disk, but none of those are even remotely full. Lots of data but few used inodes could as well mean you're storing a lot of huge files. Have you tried du or ncdu on your root and got an actual grasp of what's going on on your disk?

Offline

#3 2023-09-29 08:45:14

dogknowsnx
Guest

Re: df -h says my disk is full, but but only 3% of inodes are in use

Baboon9 wrote:

How can I clean the File System?
I don't want that my partiotion is full of trash sad

Choose wisely when it comes to installing (GUI) applications...

https://wiki.archlinux.org/title/System … filesystem

#4 2023-09-29 09:00:20

Baboon9
Member
Registered: 2023-09-28
Posts: 8

Re: df -h says my disk is full, but but only 3% of inodes are in use

I just rm -rf /.zenmap and /.cache/* but there is a hidden ./luckybackup directory, or it was threre for a moment.
Oh! It was in ~ its gone now as well.

Lets do $ df -h again

Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
dev             1,9G       0  1,9G    0% /dev
run             1,9G    1,2M  1,9G    1% /run
efivarfs         72K     21K   47K   31% /sys/firmware/efi/efivars
/dev/sda5       183G    108G   66G   63% /
tmpfs           1,9G     12M  1,9G    1% /dev/shm
tmpfs           1,9G     16K  1,9G    1% /tmp
/dev/sda1       300M    113M  187M   38% /boot
/dev/sda4       974M    268K  906M    1% /rescue
/dev/sda3        49G    2,1G   45G    5% /backup
tmpfs           382M     16K  382M    1% /run/user/1000

sorrry... I really don't know whats going on.
Is there a hidden File or something? is That possible?

Offline

#5 2023-09-29 09:09:36

Baboon9
Member
Registered: 2023-09-28
Posts: 8

Re: df -h says my disk is full, but but only 3% of inodes are in use

I just ran rmlint. Sorry for the german output.

==> Beachte: Bitte benutze das Skript unten zum Löschen, nicht die Ausgabe.
==> Insgesamt 243437 Dateien, von denen 18872 Duplikate in 7571 Gruppen sind.
==> Dies entspricht 122,32 MB an Duplikaten die entfernt werden können.
==> 86862 andere merkwürdige Datei(en) gefunden, die in ihrer Größe variieren.
==> Das ganze hat 39,365s gedauert.

It says: 18872 duplicates that can be deleted;
And: 86862 strange files that are varying in size....

?

Offline

#6 2023-09-29 09:10:41

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,384

Re: df -h says my disk is full, but but only 3% of inodes are in use

Did you do a reboot since those deletes?
the deleted files for some reason stay in the ram cache and df reads it or something in that direction (at least that was the solution for some threads I read).


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#7 2023-09-29 09:24:01

dogknowsnx
Guest

Re: df -h says my disk is full, but but only 3% of inodes are in use

Please post complete outputs...
Did 'rmlint' create "~/rmlint.sh"? If so, whats the output of

./rmlint.sh -n

(check first before posing it here/use a pastebin if it's too large)

#8 2023-09-29 09:25:25

Baboon9
Member
Registered: 2023-09-28
Posts: 8

Re: df -h says my disk is full, but but only 3% of inodes are in use

well... thats emberressing... i run the script from rmlint to clean the filesystem of duplicate files.. now even sudo or pacman is gone, even bash.
I'm a little afraid to reboot.

Offline

#9 2023-09-29 09:37:53

dogknowsnx
Guest

Re: df -h says my disk is full, but but only 3% of inodes are in use

I assume you didn't refresh before posting...
Did you run 'rmlint' and/or the script as root? (The command I posted would do a dry-run, btw)

EDIT: Anyway, Captain Hindsight says to always do some reading first. How did you install Arch Linux?

So you cannot

pacman -Q pacman

is what you're saying?

Last edited by dogknowsnx (2023-09-29 09:55:48)

#10 2023-09-29 13:10:47

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: df -h says my disk is full, but but only 3% of inodes are in use

That escalated quickly. You could have used ncdu to look first, but you went for the nuclear option.

Create an Arch install USB now if you still can and boot that. Then backup all your important data to something external. Then do some diagnostics.

Offline

#11 2023-09-29 14:10:44

dogknowsnx
Guest

Re: df -h says my disk is full, but but only 3% of inodes are in use

"https://bbs.archlinux.org/viewtopic.php?id=289175" is where Baboon9 wrote:

I tried to manually remove the openjpeg package by renaming it, but then renamining it again. That must have been the root of the problem

Don't ever do that, since it will create "strange files" for sure...

Reason for editing: Added emphasis

Last edited by dogknowsnx (2023-09-29 14:22:00)

#12 2023-09-30 19:07:17

Baboon9
Member
Registered: 2023-09-28
Posts: 8

Re: df -h says my disk is full, but but only 3% of inodes are in use

Im sorry. Don't hate me please. I had two malicious mirrors in the repository look up thingy. My backup is unmountable now. I need to completely reinstall everything

I mean the apt arch repository Derivat thing. Sorry. The whole fstab is not possible to generate anymore

Last edited by Baboon9 (2023-09-30 19:10:32)

Offline

#13 2023-09-30 19:19:02

dogknowsnx
Guest

Re: df -h says my disk is full, but but only 3% of inodes are in use

Well, nobody's going to hate you (I hope), but to be blunt, the only intelligible thing I gathered may be that you've been using a debian-based distro before and are sort of confused as to how sh*t is done the Arch way?

#14 2023-11-17 09:05:49

Baboon9
Member
Registered: 2023-09-28
Posts: 8

Re: df -h says my disk is full, but but only 3% of inodes are in use

Alright, thanks everyone, I sort of managed to reinstall my system.

Offline

Board footer

Powered by FluxBB