Delete a Snapshot

Unlike deleting a volume, deleting a snapshot has no impact on the original volume. Only the data on the snapshot is lost.

You cannot delete a snapshot while it is online. Set the snapshot to offline before you delete it.

  1. Take a volume snapshot offline.
    snap --offline snap_name --vol vol_name [--force]

    The --force option forcibly disables access to the snapshot.

  2. Delete the snapshot.
    snap --delete snap_name --vol vol_name [--force]

    The --force option forcibly deletes a snapshot that is managed by an external agent.

    If the snapshot is the last common snapshot between replica partners, you see must use --force_last_repl. For example:

    snap --delete snap_name --vol vol_name --force_last_repl