HP MSA 2040 CLI Reference Guide

set priorities 173
set priorities
Description Sets snapshot-retention priorities for a specified snap pool. Snap-pool priorities, in conjunction with
snapshot priorities, determine which snapshots are retained if system resource limitations require
some snapshots to be automatically deleted.
Lower-priority snapshots will be deleted before higher-priority snapshots. Priority values are
0x0001–0xffff (1–65535). You can enter either decimal or hexadecimal values. To use a default
priority, specify the value 0.
Set a unique retention priority for each type of snapshot.
Syntax
set priorities
[standard-snap
#
]
[volume-copy
#
]
[replication-snap
#
]
[replicating
#
]
[common-sync-point
#
]
[only-sync-point
#
]
[queued
#
]
snap-pool
Parameters standard-snap
#
Optional. The retention priority for a standard snapshot. The default is 0x6000 (24576).
volume-copy
#
Optional. The retention priority for a snapshot that is being used to copy data from a source volume
to a destination volume. This attribute is temporary for the duration of the volume-copy process. The
default is 0xa000 (40960).
replication-snap
#
Optional. The retention priority for a replication snapshot. The default is 0x4000 (16384).
replicating
#
Optional. The retention priority for a snapshot that is being replicated to a secondary volume. This
snapshot is required in order to resume the replication. The attribute is temporary for the duration of
the replication process. The default is 0xc000 (49152).
common-sync-point
#
Optional. The retention priority for the latest snapshot that is copy complete on all secondary
volumes. It identifies a common point in time that is known by all destinations. The default is 0x8000
(32768).
only-sync-point
#
Optional. The retention priority for the only sync point that is available on at least one secondary
volume. If this snapshot is removed, then the next replication requires a full sync to be performed. The
default is 0xe000 (57344).
queued
#
Optional. The retention priority for a snapshot that was taken for remote replication but is queued
waiting for the previous replications to complete. The default is 0x2000 (8192).
snap-pool
The name or serial number of the snap pool.
Example Set attribute priorities for snap pool SP1, raising the priority for standard snapshots and leaving
other priorities unchanged:
# set priorities only-sync-point 65535 SP1
Success: Command completed successfully. - The priorities were successfully set.
(2012-01-21 12:28:24)
See also show priorities
show snap-pools