Creating snapshots

Create a snapshot of a Ceph Block Device.

Prerequisites

  • A running IBM Storage Ceph cluster.

  • Root-level access to the node.

Procedure

  1. Specify the snap create option, the pool name, and the image name:

    • Method 1:

      Syntax

      rbd --pool POOL_NAME snap create --snap SNAP_NAME IMAGE_NAME

      Example

      [root@rbd-client ~]# rbd --pool pool1 snap create --snap snap1 image1
    • Method 2:

      Syntax

      rbd snap create POOL_NAME/IMAGE_NAME@SNAP_NAME

      Example

      [root@rbd-client ~]# rbd snap create pool1/image1@snap1