After I triggered the snapshot of a volume, I go ahead to work on the mounting due to the long hours of waiting and accidentally deleted the data in the volume. Will the snapshot still snap-shoting the previous data of the volume?
Thanks.
After I triggered the snapshot of a volume, I go ahead to work on the mounting due to the long hours of waiting and accidentally deleted the data in the volume. Will the snapshot still snap-shoting the previous data of the volume?
Thanks.
For anyone else that got here from a search for whether you can delete EBS volumes that currently have a pending snapshot, it appears that the volumes hold themselves in the Deleting
state until the snapshot completes, and then delete - so you're free to terminate an EC2 that has DeleteOnTermination
enabled for a volume that you've just started a snapshot of.
Will the snapshot still snap-shoting the previous data of the volume?
Yes.
From TFM (emphasis mine):
Snapshots occur asynchronously; the point-in-time snapshot is created immediately, but the status of the snapshot is pending until the snapshot is complete (when all of the modified blocks have been transferred to Amazon S3), which can take several hours for large initial snapshots or subsequent snapshots where many blocks have changed. While it is completing, an in-progress snapshot is not affected by ongoing reads and writes to the volume.