Skip to content

Why is my Amazon EBS volume stuck in the optimizing state when I modify the volume?

2 minute read
0

I modified my Amazon Elastic Block Store (Amazon EBS) volume. However, the process is either slow or the volume is stuck in the optimizing state.

Short description

Amazon EBS performs volume modifications on a best-effort basis. The time to complete a volume modification depends on the requested volume configuration. For example, a 1-TiB volume typically takes up to 6 hours to modify. However, modification time doesn't always scale linearly with volume size. A larger volume might take less time and a smaller volume might take more time. For more information, see Monitor the progress of Amazon EBS volume modifications.

Resolution

Note: The following resolution requires downtime for your Amazon Elastic Compute Cloud (Amazon EC2) instance.

Wait until the volume modification completes.

If you must modify the volume when it's still in the optimizing state, then complete the following steps:

  1. Create a new EBS volume from an existing snapshot or a new snapshot.
    Note: The new EBS volume must be fully initialized to achieve full volume performance.
  2. Detach your current EBS volume from the instance.
  3. Attach your new EBS volume to the instance.

Related information

Amazon EBS now supports up to four Elastic Volumes modifications in 24 hours

Why isn't my EBS volume increase reflected in my OS or Disk Management?

AWS OFFICIALUpdated a month ago