6.2.12.27 rmvolumesnapshot
Delete volume snapshots.
Purpose
The rmvolumesnapshot
command allows
you to delete one or more Exascale volume
snapshots.
Syntax
rmvolumesnapshot volume-snap-ID [ volume-snap-ID ]... [ --keep-data ]
Command Options
The options for the rmvolumesnapshot
command are:
-
volume-snap-ID: Identifies the volume snapshot being deleted. You can use the
lsvolumesnapshot
command to find the identifier for each volume snapshot. -
--keep-data
: Optionally instructs the command to delete the metadata associated with the specified volume snapshot(s) while preserving the underlying volume data file(s) for potential future use.
Usage Notes
You must detach the volume snapshot before it can be deleted.
Examples
Example 6-190 Delete a Volume Snapshot
This example shows deleting the volume snapshot having the ID
vol0002_snap0001_50e52177583f4be4bad68ac20b65001e
.
@> rmvolumesnapshot vol0002_snap0001_50e52177583f4be4bad68ac20b65001e
Parent topic: Block Store Management