Why volume stuck in the "Attaching" state?

0

I created an EC2 instance with a d3.8xlarge instance type. According to the AWS documentation ( https://docs.aws.amazon.com/zh_cn/AWSEC2/latest/UserGuide/volume_limits.html#instance-type-volume-limits ), this instance type only supports mounting three volumes. However, I mounted four volumes A, B, C, and D. While A,B,C mounted successfully, the fourth volume D has been stuck in the "Attaching" state. If I detach one of the mounted volumes (A, B, or C), then volume D will mount successfully. I am wondering why AWS designed it this way. The documentation clearly states that the d3.8xlarge instance type only supports three volumes. So, why doesn't AWS throw an error when attempting to mount the fourth volume, instead of keeping it stuck in "Attaching" state? Is there a specific reason behind this design?

iVey
질문됨 9달 전318회 조회
1개 답변
-1

Check that the device name you specified when you attempted to attach the EBS volume isn't already in use. If the specified device name is already being used by the block device driver of the EC2 instance, the operation fails.

If you specify a device name that's not in use by Amazon EC2, but is used by the block device driver within the EC2 instance, the attachment of the Amazon EBS volume fails. Instead, the EBS volume is stuck in the attaching state. To know more about the reasons, Kindly refer the below Knowledge Centre article.

[+] https://repost.aws/knowledge-center/ebs-stuck-attaching

AWS
답변함 9달 전
  • I have seen the link you posted before, but the content in the link does not answer my question. That's why I asked again. Thanks for your answer.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠