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

- **ID:** `aws/rds-snapshot-storage-limit`
- **领域:** aws
- **类别:** resource_error
- **错误码:** `StorageFull`
- **验证级别:** ai_generated
- **修复率:** 85%

## 根因

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

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| RDS MySQL 8.0 | active | — | — |
| RDS PostgreSQL 15 | active | — | — |
| AWS CLI 2.14.0 | active | — | — |

## 解决方案

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
   ```

## 无效尝试

- **Increase the allocated storage for the RDS instance** — 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%. (80% 失败率)
- **Create a new RDS instance with larger storage and migrate data** — This does not resolve the snapshot storage limit; the new instance will also hit the same limit if old snapshots are not deleted. (90% 失败率)
- **Request a service limit increase for RDS snapshots** — The snapshot storage limit is a hard default that can be increased, but many users don't request it and the increase takes time. (60% 失败率)
