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>

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

1 Antwort
0

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

profile picture
EXPERTE
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen