Find what fills a Linux disk with df and du

  • 0

Identify the affected filesystem first. A full root partition, full data partition and exhausted inodes are different problems.

  1. Use df -h for space and df -i for inodes. Inspect the affected mount with du where GNU du is available.
    Command
    df -h
    df -i
    du -x -h --max-depth=1 DIRECTORY
  2. Do not delete unfamiliar system or database files. Check old backups, log rotation and temporary files. Back up before making changes and measure again afterwards.

Was this answer helpful?

Back to the knowledgebase