3

My database server went down last night because there was no diskspace available. I checked what used up diskspace and it was 28GB by /dev/vda1

I have no clue what this is. The database all together will be a maximum of 1 GB diskspace, what is using up all this space?

When I start mysql, I get:

error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'

This is probably also because of the diskspace issue.

Hopefully someone can help me shortly. Many thanks in advance!

  • 1
    This answer by me in a different thread might be of use to you? The command you want to keep an eye on is "df -h" which will give you usage by partition. You could monitor it on an ad-hoc basis and/or set up some sort of alert - Googling this gave me several useful links which could be a lifesaver! :-) – Vérace Aug 16 '15 at 12:32
3

I probably found the reason, I made nightly backups to external server, but those were also stored on our server which had exceeded allowed disk usage. I didn`t understand /dev/vda1 at first, but I now get that is not a file but probably a partition or something like that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.