April 2018
Intermediate to advanced
280 pages
8h 37m
English
When an EBS volume is created and attached to an EC2 instance, the state of the volume changes to the Attaching state, and if it is successfully attached, the state changes to Attached. However, in some cases, the volume may get stuck in the Attaching state.
This usually happens when the device name given to the volume is already being used by the block device driver of the EC2 instance. This can happen if the block device driver has not released the device name for reuse despite forcing a detachment of the volume.