The filesystem “/” mounted at “/” reached “critical” status...
Hello
I am receiving notification email:
The filesystem “/” mounted at “/” reached “critical” status because you currently use 94.76% of its available blocks.
I have checked df -h and here is the output:
Filesystem Size Used Avail Use% Mounted on
devtmpfs 32G 0 32G 0% /dev
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 32G 1,2M 32G 1% /run
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/md2 437G 30G 385G 8% /
/dev/md1 487M 159M 304M 35% /boot
tmpfs 6,3G 0 6,3G 0% /run/user/0
If I try du -h --max-depth=1 / 2>/dev/null | sort -hr here is the output:
158G /
138G /home
9,8G /var
7,0G /usr
2,7G /backup
591M /opt
156M /boot
67M /etc
34M /root
1,2M /run
320K /tmp
16K /lost+found
8,0K /log
4,0K /srv
4,0K /mnt
4,0K /media
0 /sys
0 /proc
0 /dev
As you can see at the first output, I have 8% usage at /dev/md2 which is my root. So, I dont understand why do I receive these notifications and why I dont have enough space?
Any help?
-
How about inodes? (i.e number of files). Use the following command to see it's usage:
df -i
Andrew N. - cPanel Plesk VMWare Certified Professional
Do you need immediate assistance? 20 minutes response time!* Open a ticket
EmergencySupport - Professional Server Management and One-time Services0 -
Here is the inodes output:
Filesystem Inodes IUsed IFree IUse% Mounted on
devtmpfs 8191462 395 8191067 1% /dev
tmpfs 8198257 1 8198256 1% /dev/shm
tmpfs 8198257 788 8197469 1% /run
tmpfs 8198257 16 8198241 1% /sys/fs/cgroup
/dev/md2 29122560 287653 28834907 1% /
/dev/md1 131072 351 130721 1% /boot
tmpfs 8198257 1 8198256 1% /run/user/00 -
Can you check the headers of that email message to confirm it is coming from the same server you think it is? It's common for older systems to be left online, or a hostname change to happen, and the notification is actually coming from a different machine.
0 -
Yes. The headers are fine. All is as it should be. The mail is coming from our server.
Simply said: free/available/used space is not matching the actual size of the partition.
I wanted to open ticket, but I cant as my hosting provider is Hetzner.
0 -
€web381user
there is something I don't understand in your 1st post:
df shows that in the / filesystem there is 30G used, but du shows that /home is using 138G,
that does not make sense...0 -
It doesnt matter.
I have decided to reinstall the server, as CentOS has to be replaced with AlmaLinux.
Thanks for your answers.
0
Please sign in to leave a comment.
Comments
6 comments