How to Fix the "No Space Left on Device" Error in Linux
The message No space left on device appears when MySQL stops writing, Nginx cannot save its logs, or apt fails in the middle of an installation. It does not always mean that the disk is full of data: there are three different causes, and each is resolved differently.