StorageFull aws resource_error ai_generated true

存储已满:无法创建快照,您的RDS实例已超过手动快照的最大分配存储限制

StorageFull: Cannot create snapshot, your RDS instance has exceeded the maximum allocated storage for manual snapshots

ID: aws/rds-snapshot-storage-limit

其他格式: JSON · Markdown 中文 · English
85%修复率
88%置信度
1证据数
2023-08-22首次发现

版本兼容性

版本状态引入弃用备注
RDS MySQL 8.0 active
RDS PostgreSQL 15 active
AWS CLI 2.14.0 active

根因分析

RDS手动快照存储已达到该数据库实例所在区域的账户级限制,即分配存储的100%。

English

RDS manual snapshot storage has reached the account-level limit of 100% of allocated storage for the DB instance's region.

generic

官方文档

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CreateSnapshot.html

解决方案

  1. 删除旧的手动快照以释放存储空间:
    aws rds delete-db-snapshot --db-snapshot-identifier my-old-snapshot-2023
    # 首先列出所有快照:
    aws rds describe-db-snapshots --db-instance-identifier my-db --snapshot-type manual
  2. 通过AWS支持中心请求增加手动快照存储的服务配额:
    https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-rds
  3. 使用自动快照代替手动快照;自动快照有单独的更高限制:
    aws rds modify-db-instance --db-instance-identifier my-db --backup-retention-period 7

无效尝试

常见但无效的做法:

  1. Increase the allocated storage for the RDS instance 80% 失败

    The limit is based on a percentage of allocated storage, so increasing storage also raises the limit, but the error persists if you're still at 100%.

  2. Create a new RDS instance with larger storage and migrate data 90% 失败

    This does not resolve the snapshot storage limit; the new instance will also hit the same limit if old snapshots are not deleted.

  3. Request a service limit increase for RDS snapshots 60% 失败

    The snapshot storage limit is a hard default that can be increased, but many users don't request it and the increase takes time.