Im running centos 6.8 with virtualmin
My server is from kimsufi.com with a disk space of 2tb
the file system is 20gb
below I have df -h output:
[root@server ~]# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 20G 8,7G 9,7G 48% /
devtmpfs 7,8G 176K 7,8G 1% /dev
tmpfs 7,9G 0 7,9G 0% /dev/shm
/dev/sda2 20G 8,7G 9,7G 48% /
/dev/sda2 20G 8,7G 9,7G 48% /var/named/chroot/etc/named
/dev/sda2 20G 8,7G 9,7G 48% /var/named/chroot/var/named
/dev/sda2 20G 8,7G 9,7G 48% /var/named/chroot/etc/named.conf
/dev/sda2 20G 8,7G 9,7G 48% /var/named/chroot/etc/named.rfc1912.zones
/dev/sda2 20G 8,7G 9,7G 48% /var/named/chroot/etc/rndc.key
/dev/sda2 20G 8,7G 9,7G 48% /var/named/chroot/usr/lib64/bind
/dev/sda2 20G 8,7G 9,7G 48% /var/named/chroot/etc/named.iscdlv.key
/dev/sda2 20G 8,7G 9,7G 48% /var/named/chroot/etc/named.root.key
[root@server ~]#
with df -i 48% is 100% Im a newbea but my server was working fine since one month ago.
I tried to clear the cache after searching google with the following command:
sudo rm -rf /var/cache/yum/x86_64/6/$REPONAME
so after running that command I logged in webmin and instead of the error in the title I got webmin screen it worked and local disk space was 50% in the panel.
after than I tried to restart mysql via /etc/init.d/mysqld restart and mysql failed to start
Now I dont have also the mysql
the last error is /usr/bin/mysqlshow: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
and last again Failed to open /etc/webmin/apache/site for writing : No space left on device
messagge in webmin or virtualmin.
Guys Im very confused and afraid to lost my databases please if anyone can help me here to solve this problem will be very appreciated
edit:
[root@server ~]# ls -l /var/spool/postfix/
total 56
drwx------ 2 postfix root 4096 Oct 25 04:46 active
drwx------ 2 postfix root 4096 Oct 24 21:45 bounce
drwx------ 2 postfix root 4096 Nov 10 2015 corrupt
drwx------ 6 postfix root 4096 Oct 10 02:17 defer
drwx------ 6 postfix root 4096 Oct 10 02:17 deferred
drwx------ 2 postfix root 4096 Nov 10 2015 flush
drwx------ 2 postfix root 4096 Nov 10 2015 hold
drwx------ 2 postfix root 4096 Oct 25 04:46 incoming
drwx-wx--- 2 postfix postdrop 4096 Oct 25 04:46 maildrop
drwxr-xr-x. 2 root root 4096 Oct 25 08:58 pid
drwx------. 2 postfix root 4096 Oct 25 11:21 private
drwx--x---. 2 postfix postdrop 4096 Oct 25 11:21 public
drwx------ 2 postfix root 4096 Nov 10 2015 saved
drwx------ 2 postfix root 4096 Nov 10 2015 trace
[root@server ~]#