9.2. Configuring Snapshots

You can set the following configuration parameters related to Snapshot for a specific volume or cluster:
Clusters
  • Hard Limit: If the snapshot count in a volume reaches this limit then no further snapshot creation is allowed. The range is from 1 to 256. Once this limit is reached you have to remove the snapshots to create further snapshots. This limit can be set for the system or per volume. If both system limit and volume limit is configured then the effective max limit would be the lowest of the two value.
  • Soft limit: This is a percentage value. The default value is 90%. This configuration works along with auto-delete feature. If auto-delete is enabled then it will delete the oldest snapshot when snapshot count in a volume crosses this limit. When auto-delete is disabled it will not delete any snapshot, but it will display a warning message to the user.
  • Auto deletion flag: This will enable or disable auto-delete feature. By default auto-delete is disabled. When enabled it will delete the oldest snapshot when snapshot count in a volume crosses the snap-max-soft-limit. When disabled it will not delete any snapshot, but it will display a warning message to the user.
  • Activate-on-Create: Volume snapshots would be auto activated after creation.
Volumes
Hard Limit: If the snapshot count in a volume reaches this limit then no further snapshot creation is allowed. The range is from 1 to 256. Once this limit is reached you have to remove the snapshots to create further snapshots. This limit can be set for the system or per volume. If both system limit and volume limit is configured then the effective max limit would be the lowest of the two value.

Procedure 9.2. Configuring Snapshots

  1. Click the Volumes tab. The list of all volumes in the system is displayed.
  2. Select the volume for which you want to configure Snapshot.
    If a volume is not selected from the list, only the cluster level parameters can be modified and set.
  3. Click Snapshot.
  4. Click Options - Clusters or Options - Volume to configure Snapshot for Cluster or Volume respectively.
Configuring Snapshot configurations for Cluster
If a volume is not selected, the cluster level parameters can be modified.
  1. Click Snapshot and select Options- Clusters.
  2. Select the cluster from the drop down list.
  3. Modify the Snapshot Options. You can set the hard limit, soft limit percentage and enable or disable auto deletion of Snapshots for Clusters.
  4. Click Update to update the details.
Configuring Snapshot configurations for Volume
  1. Click Snapshot and select Options- Volume.
  2. Modify the Snapshot Options. You can set maximum number of Snapshots for selected volume.
  3. Click Update to update the details.
For information on Configuring Snapshot behavior see, Configuring Snapshot behavior section in the Red Hat Gluster Storage Administration Guide.