Understanding the Error
Disk quota exceeded
dd: writing to "file": Disk quota exceeded
User has reached allocated disk quota.
Check Quotas
quota -v
quota -s
repquota -a
repquota -s -a
Fix 1: Free Up Space
du -sh ~/* | sort -hr | head -10
rm -rf ~/Downloads/*
rm -rf ~/.cache/*
rm -rf ~/.npm/_cacache
Fix 2: Hidden Files
du -sh ~/.[!.]* | sort -hr | head -10
Fix 3: Empty Trash
rm -rf ~/.local/share/Trash/*
Fix 4: Move Files
mv largefile /tmp/
mv largefile /home/otheruser/
Fix 5: Request Increase
Contact system administrator or hosting provider to increase quota.
Prevent Issues
watch -n 60 "quota -s"
alias quotacheck="quota -s | mail -s "Disk usage" your@email.com"