Creating snapshots
Create a snapshot of a Ceph Block Device.
Prerequisites
-
A running IBM Storage Ceph cluster.
-
Root-level access to the node.
Procedure
-
Specify the
snap createoption, the pool name, and the image name:-
Method 1:
Syntax
rbd --pool POOL_NAME snap create --snap SNAP_NAME IMAGE_NAMEExample
[root@rbd-client ~]# rbd --pool pool1 snap create --snap snap1 image1 -
Method 2:
Syntax
rbd snap create POOL_NAME/IMAGE_NAME@SNAP_NAMEExample
[root@rbd-client ~]# rbd snap create pool1/image1@snap1
-