Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: Jáder on March 06, 2017, 11:27:06 PM
-
I'm sure this is a dumb question, but have found no answer to it after a day searching (maybe with wrong terms!), so here is the problem""
See this:
[root@rinoceronte tmp]# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/main-root
455G 434G 0 100% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/md0 239M 77M 150M 34% /boot
Why those USED and SIZE number are different (11GB) and USE% column show as 100% ??
The disk appears to be full, because this command show an error:
[root@rinoceronte tmp]# mail -s "na CLI do Rinoceronte@`date`" someemail@somewhere.com</dev/null
Null message body; hope that's ok
[root@rinoceronte tmp]# qmail-inject: fatal: qq write error or disk full (#4.3.0)
-
that's because of the reserved space to root, which is (default) set at 5%
tune2fs -m 1 /dev/mapper/main-root
will set it at 1%
you can do it safely on a mounted running fs
in your case, I'd reboot the server after the edit to restart all the services
HTH
-
That's a great info... will verify it later
THANKS... BUT, after a while, I returned to same console screen (still opened) and now?
[root@rinoceronte tmp]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/main-root
455G 414G 18G 96% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/md0 239M 77M 150M 34% /boot
[root@rinoceronte tmp]# !mail
mail -s "na CLI do Rinoceronte@`date`" someemail@smewhere.com</dev/null
Null message body; hope that's ok
[root@rinoceronte tmp]#
So it fixed it by himself!!!WOW!
PS: 5% of 455GB = 22.75GB ...I was missing just 11GB!
-
1) were you doing a backup?
2) 455-434=21 ;-)
-
Stefano,
Thanks by the math class! It's official now: I'm a moron! hehehe
I'm not sure if it was doing a backup, I'm sure I tryed to reboot server BEFORE post, just to be sure it would release all locked files, but not sure if it not started a backup again.
Anyways I tune2fs to 1% and got a few GB back .
Hope it not mess anything else in future!
It's a backup only server...hope do not use it NEVER EVER!
Regards
Jáder
-
maybe time to get him two more bigger drives and use raid to change them one after the other and grow your partitions.