Out of inodes: file write error (No space left on device)

  1. df -hi
    1. proves you are out of inodes or not
    2. cause is most likely tons of small files in some "problem directory", poke around
  2. find <random_dir> -type f | wc -l
    1. give a count of file in that subdir
    2. common problem dirs
      1. /var/spool/<XYZ>
      2. /tmp
  3. find <problem_dir> -type f -delete
    1. deletes one file at a time
    2. rm will get stuck finding files first if you use wildcard like *


Popular posts from this blog

Debugging pfsense firewall rules clearly and easily

Direct ssh to a server via proxy using putty/plink on Windows

telnet vs netcat