If your Linux filesystem throws "No space left on the device" errors but "df -h" shows you still have plenty of space (blocks) it's most likely you've run out of inodes - use "df -i" to confirm and then "du --inodes" to find the culprit