I want to create a snapshot of my Amazon Elastic Block Store (Amazon EBS) RAID array, but the volumes are currently in use by my applications or operating systems. What do I need to do to be sure my snapshots can be used later to restore my RAID array?

To create snapshots for Amazon EBS volumes that are configured in a RAID array, there must be no data I/O to or from the EBS volumes that comprise the RAID array. These same precautions and steps should be followed whenever you create a snapshot of an EBS volume that serves as the root device for an EC2 instance.

To be sure the EBS snapshot for your RAID array can be used to restore the array, follow these steps:

  1. Stop all applications from writing to the RAID array.
  2. Flush all caches to the disk.
  3. Confirm that the associated EC2 instance is no longer writing to the RAID array by taking actions such as freezing the file system, unmounting the RAID array, or even shutting down the EC2 instance.
  4. After taking steps to halt all disk-related activity to the RAID array, take a snapshot of each EBS volume in the array.

Note: If you cannot halt disk-related activity to the RAID array, consider creating a Logical Volume that uses your RAID array.

To restore the EBS volumes from snapshots, reverse the process you used to create snapshots of the EBS volumes that comprise the array. For example, if the EC2 instance was shut down, then restart it; if the RAID array was unmounted, re-mount it; if an application was stopped, re-start it.


Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center.

Published: 2015-03-23

Updated: 2018-05-14