Deleted volume still attached to instance

0

Hi,

I am unable to attache a new volume xvdb to an instance because it says there is already a volume attached to it.

I ran "aws ec2 describe-instances --instance-ids i-0facb573439f86e77" and effectively there is an xvdb volume attached to it, but the volume is not showing on aws console.

                "BlockDeviceMappings": \[  
                    {  
                        "DeviceName": "xvdb",  
                        "Ebs": {  
                            "AttachTime": "2019-02-23T13:00:42.000Z",  
                            "DeleteOnTermination": false,  
                            "Status": "attached",  
                            "VolumeId": "vol-036a842b4d29cc04c"  
                        }  
                    },  
                    {  
                        "DeviceName": "/dev/sda1",  
                        "Ebs": {  
                            "AttachTime": "2019-02-24T01:02:53.000Z",  
                            "DeleteOnTermination": false,  
                            "Status": "attached",  
                            "VolumeId": "vol-0b6f0ea451f8be630"  
                        }  
                    }  
                ],  

I later run "aws ec2 detach-volume --volume-id vol-036a842b4d29cc04c --force" and I get the following error:

An error occurred (InvalidVolume.NotFound) when calling the DetachVolume operation: The volume 'vol-036a842b4d29cc04c' does not exist.

I have tried starting the instance but it fails to start.

I there any way to get this solved without having to terminate the instance and create a new one?

Thanks

已提问 5 年前340 查看次数
2 回答
0

Hello,

Thank you for letting us know about the problem. The issue seems to be related to our underlying AWS infrastructure and so I have created an internal ticket for our service team to investigate it. I will inform you when the issue is resolved.

Thank you for your patience and please accept our apologies for the inconvenience caused.

Regards,
awstomas

AWS
已回答 5 年前
0

This issue was resolved through support

已回答 5 年前

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

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

回答问题的准则