Auto-enable I/O for impaired Amazon EBS volumes - Amazon EBS

Auto-enable I/O for impaired Amazon EBS volumes

When Amazon EBS determines that a volume's data is potentially inconsistent, it disables I/O to the volume from any attached EC2 instances by default. This causes the volume status check to fail, and creates a volume status event that indicates the cause of the failure. If the consistency of a particular volume is not a concern, and you prefer that the volume be made available immediately if it's impaired, you can override the default behavior by configuring the volume to automatically enable I/O. If you enable the Auto-Enabled IO volume attribute (autoEnableIO in the API), I/O between the volume and the instance is automatically re-enabled and the volume's status check will pass. In addition, you'll see an event that lets you know that the volume was in a potentially inconsistent state, but that its I/O was automatically enabled. When this event occurs, you should check the volume's consistency and replace it if necessary. For more information, see Amazon EBS volume events.

You can view and modify the Auto-Enabled IO attribute of a volume using one of the following methods.

Amazon EC2 console
To view the Auto-Enabled IO attribute of a volume
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Volumes.

  3. Select the volume and choose the Status checks tab.

    The Auto-enabled I/O field displays the current setting (Enabled or Disabled) for the selected volume.

To modify the Auto-Enabled IO attribute of a volume
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Volumes.

  3. Select the volume and choose Actions, Manage auto-enabled I/O.

  4. To automatically enable I/O for an impaired volume, select the Auto-enable I/O for impaired volumes check box. To disable the feature, clear the check box.

  5. Choose Update.

AWS CLI
To view the autoEnableIO attribute of a volume

Use the describe-volume-attribute command.

To modify the autoEnableIO attribute of a volume

Use the modify-volume-attribute command.

For more information about these command line interfaces, see Access Amazon EC2

Tools for Windows PowerShell
To view the autoEnableIO attribute of a volume

Use the Get-EC2VolumeAttribute command.

To modify the autoEnableIO attribute of a volume

Use the Edit-EC2VolumeAttribute command.

For more information about these command line interfaces, see Access Amazon EC2