hi, I’m facing a problem I can’t manage by myself , today / become magically full.
/usr/bin/df tell me 97% full :
# df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/dm-0 882G 811G 27G 97% /
but when i check with /usr/bin/du and /usr/bin/ncdu there is another story
# /usr/bin/du -d1 -h /
541G /home
du: impossible d'accéder à '/run/user/1231/doc': Permission non accordée
du: impossible d'accéder à '/run/user/1231/gvfs': Permission non accordée
2,4M /run
12K /srv
16K /lost+found
309M /efi
16G /usr
528K /root
11G /var
20K /tmp
15M /boot
1,3T /data1
0 /sys
55M /dev
4,0K /mnt
du: impossible d'accéder à '/proc/4473/task/20074/fdinfo/67': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à '/proc/4473/task/20083/fd/206': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à '/proc/20105/task/20105/fd/4': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à '/proc/20105/task/20105/fdinfo/4': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à '/proc/20105/fd/3': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à '/proc/20105/fdinfo/3': Aucun fichier ou dossier de ce nom
0 /proc
12M /etc
1,3T /data0
887M /opt
3,2T /
ncdu 2.9.2 ~ Use the arrow keys to navigate, press ? for help
--- / --------------------------------------------------------------------------------------------------------------------------------------------------------------
1.3 TiB [#######################] /data0
540.4 GiB [######### ] /home
15.9 GiB [ ] /usr
10.4 GiB [ ] /var
886.7 MiB [ ] /opt
308.9 MiB [ ] /efi
14.2 MiB [ ] /boot
11.5 MiB [ ] /etc
. 2.3 MiB [ ] /run
528.0 KiB [ ] /root
e 16.0 KiB [ ] /lost+found
16.0 KiB [ ] /tmp
12.0 KiB [ ] /srv
e 4.0 KiB [ ] /mnt
e 4.0 KiB [ ] /data1
0.0 B [ ] /proc
0.0 B [ ] /sys
0.0 B [ ] /dev
@ 0.0 B [ ] sbin
@ 0.0 B [ ] lib64
@ 0.0 B [ ] lib
@ 0.0 B [ ] bin
(/data0 & /data1 are on separate drive)
We are far from 811G cumulative for /
I’m sure few weeks ago all was fine ( / around 60% occupy), my guess is my NVME is dying but, what do you think ? if not, where are those missing gigas ?
Thanks for reading and for helping, sorry for my bad english.
Edit 1 : I’ve run fsck at boot without positive issue
those drives have been in a zpool before, but ZFS is not installed on this system.
plus, the problem show up suddenly. I’m sure few weeks ago / was around 60% occupy.
well you have 540 in your /home, which is the bulk of the usage, but 300 gigs is somewhere else… looks weird, do you have some files or . directories in your / ?
you could run this sudo du -sh * .* | sort -h in your / to get a fuller picture, it’s going to run for a while, but it should list everything sorted
I have similarly weird ext4 multiple partition setup, it ran for almost 3 minutes, listed the dotfiles too
thank you !! you made me found those missing gigas !!
As you said it will take long time because it will run for a while, I prefer to unmount /data0 & /data1, and what a surprise :
# du -sh * .* | sort -h
du: impossible d'accéder à 'proc/4351/task/4354/fd/165': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à 'proc/4351/task/4356/fd/165': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à 'proc/4351/task/4365/fdinfo/96': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à 'proc/4351/task/163388/fdinfo/165': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à 'proc/4351/task/163388/fdinfo/166': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à 'proc/163444/task/163444/fd/4': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à 'proc/163444/task/163444/fdinfo/4': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à 'proc/163444/fd/3': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à 'proc/163444/fdinfo/3': Aucun fichier ou dossier de ce nom
du: impossible d'accéder à 'run/user/1231/doc': Permission non accordée
du: impossible d'accéder à 'run/user/1231/gvfs': Permission non accordée
du: impossible d'accéder à '.*': Aucun fichier ou dossier de ce nom
0 bin
0 lib
0 lib64
0 proc
0 sbin
0 sys
4,0K data0
4,0K mnt
12K srv
16K lost+found
100K tmp
528K root
2,4M run
12M etc
15M boot
55M dev
309M efi
887M opt
11G var
16G usr
243G data1
541G home
4,0K data0
243G data1
Looks like my backup run one time when /data1 was not mounted.
Thanks a lot to everyone who help me on this one, I feel a bit dumb
Huh I didn’t know you can mount something to a non empty directory… What happens if you mount something to a non empty directory? The content just disappears?
There’s a command to check if something is mounted so you don’t fill your /