HELP! /dev/dm-o 100 disk usage


#1

Hi Everyone,

So I had a call from email user that email server was down, apon logging in notice lots red in status.

Mostly 0% HDD space. that will do it.

Server has 40GB and 4 users and biggest inbox is 10GB, and other 3 all tograther under 1GB. So I dont think its the users / email accounts.

I tried a sudo apt-get autoremove but was not enough tmp space to clean up.

df -h
reports:

Filesystem Size Used Avail Use% Mounted on
udev 479M 4.0K 479M 1% /dev
tmpfs 99M 424K 98M 1% /run
/dev/dm-0 36G 33G 769M 98% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 492M 16K 492M 1% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 45M 180M 20% /boot

So i tried to google this and alot people say just find files and remove them but what is dev/dm-0.

I removed some emails and got server going again at 98% hdd space but urgently need a fix.

Ive tried sudo apt-get clean

also tried sudo rm /var/log/*.gz* to clean old logs but still nothing.

I had moved backups to S2 how can I force delete the local backups?


#2

You have filled up your 40GB VPS. Increase disk size with your provider.

Edit: Try this:

sudo du -ah /home/user-data/ | sort -n -r | head -n 20 and give me the output here.


#3

Was the backups, I have moved them to A2 and deleted old local ones.