0 votes
1 view
in AWS by (18.4k points)

Assume /data is the mount point for an EXT4 file system that occupies a whole EBS volume. To create a backup, the file system is freezed and a snapshot is created.

[email protected]:~# fsfreeze --freeze /data

[email protected]:~# aws ec2 create-snapshot --volume-id vol-1234567 --description "/data snapshot"


    "SnapshotId": "snap-27c5ebdf",

    "Description": "/data snapshot",

    "VolumeId": "vol-1234567",

    "State": "pending",

    "VolumeSize": 250,

    "OwnerId": "744275636941",

    "StartTime": "2014-11-04T15:17:19.000Z",

    "Tags": []


[email protected]:~#

Is it at this point OK to run

[email protected]:~# fsfreeze --unfreeze /data

and start writing files under /data?

In other words, is it OK to start using an EBS volume directly after aws ec2 create-snapshot returns, although the state of the snapshot might be pending?

1 Answer

0 votes
by (42.9k points)

It is OK to do that.

As said in this doc:

You can remount and use your volume while the snapshot status is pending.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers !