Not able to detach EBS Volume

0

Although the EBS volume is not attached to any EC2 instsances, it is still showing in-use. I tried force detach from aws console but it is stuck. Force detaching the volume from AWS CLI shows following error

An error occurred (InvalidParameterValue) when calling the DetachVolume operation: The volume ID 'vol-00402f84342cf78f' is malformed
已提问 1 年前433 查看次数
3 回答
0

The error message is clear - that the volume id you're passing isn't formatted correctly. Looking at a volume id that I have, it appears that yours is missing a character. Can you check and make sure it is the right volume id?

That said: If it really is stuck, the best thing to do is to raise a support case. Here on re:Post we don't have access to your account details nor other personal information but the support team can help in these cases.

profile pictureAWS
专家
已回答 1 年前
0
An error occurred (IncorrectState) when calling the DetachVolume operation: Volume 'vol-00402f84342cf78fa' is in the 'available' state.

Sorry about the wrong error message, this is the error I am getting. I am not able to detach the volume. This volume is not attached to any of the entity but still showing as available. Also, I tried detaching it via command line and AWS console, Below error message is from Command line and from AWS console, there is no error message but the process takes forever to complete.

已回答 1 年前
0

A volume in available state means it's not attached to an instance; its already detached. Deleting a volume and detaching a volume are two different actions. As long as an EBS volume exists either as available or in-use you incur EBS related charges.

profile picture
Syd
已回答 1 年前

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

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

回答问题的准则