AWS EBS 卷 "in-use - optimizing"

AWS EBS Volume "in-use - optimizing"

我有一个显示 "in-use - optimizing(%)" 状态的 EBS 卷。这是什么意思? AWS 正在执行哪些优化?这是在附加到 Windows Server 2012 R2 EC2 实例的 300gb 加密 gp2 卷上。

in-use - optimizing 状态与 EBS 卷大小调整有关。

  • in-use 表示此卷附加到 EC2 实例。
  • optimizing是卷的修改状态。

根据AWS documentation on volume modifications

An EBS volume being modified goes through a sequence of states. After you issue a ModifyVolume directive, whether from the console, CLI, API, or SDK, the volume enters first the Modifying state, then the Optimizing state, and finally the Complete state.

...

While the volume is in the optimizing state, your volume performance is in between the source and target configuration specifications. Transitional volume performance will be no less than the source volume performance. If you are downgrading IOPS, transitional volume performance is no less than the target volume performance.

最后,来自 introductory blog post for Volume Modifications

The volume’s state reflects the progress of the operation (modifying, optimizing, or complete):

如果您修改了音量,很可能会这样显示。这段时间性能会下降,因为 AWS EBS 服务器需要同步数据。

EBS 卷在修改卷(例如调整大小)后处于此状态。这可能需要一些时间(可能会停留在 99% 数小时),但最终会消失。