{
  "id": "redis/rdb-save-failed-disk-full",
  "signature": "MISCONF: Failed saving RDB snapshot: disk full",
  "signature_zh": "MISCONF：保存 RDB 快照失败：磁盘已满",
  "regex": "MISCONF: Failed saving RDB snapshot: disk full",
  "domain": "redis",
  "category": "io_error",
  "subcategory": null,
  "root_cause": "The filesystem where Redis stores RDB files ran out of space, preventing snapshot persistence.",
  "root_cause_type": "generic",
  "root_cause_zh": "Redis 存储 RDB 文件的文件系统空间不足，无法进行快照持久化。",
  "versions": [
    {
      "version": "Redis 6.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Redis 7.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Redis 7.2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Delete random files from the disk to free space without checking Redis data",
      "why_fails": "May delete critical system files or other application data, causing instability.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "Disable RDB persistence entirely with CONFIG SET save ''",
      "why_fails": "Removes all snapshot persistence, risking data loss on crash or restart.",
      "fail_rate": 0.3,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Free disk space by moving or deleting old RDB/AOF files: find /var/lib/redis -name '*.rdb' -mtime +7 -delete (adjust path).",
      "success_rate": 0.9,
      "how": "Free disk space by moving or deleting old RDB/AOF files: find /var/lib/redis -name '*.rdb' -mtime +7 -delete (adjust path).",
      "condition": "",
      "sources": []
    },
    {
      "action": "Add more disk space or mount a larger volume to the Redis data directory, then trigger a manual BGSAVE.",
      "success_rate": 0.85,
      "how": "Add more disk space or mount a larger volume to the Redis data directory, then trigger a manual BGSAVE.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "通过移动或删除旧的 RDB/AOF 文件释放磁盘空间：find /var/lib/redis -name '*.rdb' -mtime +7 -delete（调整路径）。",
    "向 Redis 数据目录添加更多磁盘空间或挂载更大的卷，然后手动触发 BGSAVE。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.88,
  "fix_success_rate": 0.9,
  "resolvable": "true",
  "first_seen": "2023-11-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}