not able detach or delete volumes "An error occurred (IncorrectState)"

0

we have some volumes that neither can be detached nor deleted. Even AWS console force or command-line aws cli comamnd helped if you try to detach (as it shows in-use but no instance iD) you get aws --profile XXXXXXX --region us-east-1 ec2 detach-volume --volume-id vol-XXXXXXXX --force An error occurred (IncorrectState) when calling the DetachVolume operation: Volume 'vol-XXXXXXXX' is in the 'available' state.

and if you try to delete you get the in-use error message

aws --profile XXXXXXXX --region us-east-1 ec2 delete-volume --volume-id vol-XXXXXXXX An error occurred (IncorrectState) when calling the DeleteVolume operation: The volume 'vol-XXXXXXXX' is 'in-use'

We have 3 volumes that we like to put in the correct state and delete if needed. Any idea?

volumes are in us-east-1 vol-da73b5b3, vol-2eee2e47 and vol-54ace93d. I am not able to create the support case

regards,

-Inder

Inder
已提問 2 年前檢視次數 569 次
1 個回答
0

Hello,

Please take a look at this similar question, it might help you https://repost.aws/questions/QUGwkiBP0XQXGya8gHNsNB7Q/cannot-detach-volumes#ANEYuVFpmlRyKYW0OgQ3DzOg

Sometimes a volume shows being "in-use" even if you don't have any instances. If this your case (and you don't have a snapshot or AMI associated with that volume), I recommend creating a support case, and they should be able to modify the state to "available" so that you can delete it. If you are unable to create a support case, please mention which region this volume is on.

Phindi
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南