EC2 EBS卷显示没有挂载到任何EC2实例但仍处于“使用中”状态。无法分离或强制分离。

0

【以下的问题经过翻译处理】 我有一个无法分离或强制分离的EC2 EBS卷。

D:\repos> aws ec2 describe-volumes
{
    "Volumes": [
        {
            "AvailabilityZone": "us-east-1b",
            "Attachments": [],
            "Encrypted": false,
            "VolumeType": "standard",
            "VolumeId": "vol-cd8365a4",
            "State": "in-use",
            "SnapshotId": "",
            "CreateTime": "2009-03-17T23:20:21.000Z",
            "Size": 20
        }
    ]
}

我在us-east-1b中没有运行任何实例,所以它不能附加到任何东西。它无法分离或强制分离。

如果我尝试分离它,它会说该卷处于“正在使用中”。


D:\repos> aws ec2 delete-volume --volume-id vol-cd8365a4

An error occurred (IncorrectState) when calling the DeleteVolume operation: The volume 'vol-cd8365a4' is 'in-use'
D:\repos>

如果我尝试强制分离它,它会说该卷处于“可用状态”。


D:\repos> aws ec2 detach-volume --force --volume-id vol-cd8365a4

An error occurred (IncorrectState) when calling the DetachVolume operation: Volume 'vol-cd8365a4' is in the 'available' state.
D:\repos>

有没有办法删掉它?我正在被持续收取费用。

profile picture
专家
已提问 5 个月前99 查看次数
1 回答
0

【以下的回答经过翻译处理】 我找到了答案!我没有做错什么,是亚马逊出现了一个错误。我联系了亚马逊技术支持,让他们帮我解决这个问题。因为我没有购买支持服务,所以我将问题归为“计费”问题,因为我被要求支付无法删除的存储卷费用。 EC2的“存储卷”确实会出现卡顿,无法进行强制分离,唯一的选择就是寻求亚马逊的技术支持。

profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则