HP P2000 G3 MSA System CLI Reference Guide 177
set snap-pool-policy
Description
Sets the recovery policy that determines the action taken when a specified snap pool’s error and
critical threshold levels are reached. The policy for the warning threshold is preset to
notifyonly
.
A snap pool’s default error policy is
autoexpand
and default critical policy is
deletesnapshots
.
NOTE:
The policies
deleteoldestsnapshot
and
deletesnapshots
do not apply business
logic to the delete decision and may delete snapshots that are mounted/presented/mapped or
modified. You may set retention priorities for a snap pool as a way of suggesting that some
snapshots are more important than others, but these priorities do not ensure any specific snapshot is
protected.
Syntax
set snap-pool-policy
[error autoexpand|deleteoldestsnapshot|deletesnapshots|haltwrites
|notifyonly]
[critical deleteoldestsnapshot|deletesnapshots|haltwrites]
[autoexpansionsize
size
[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]]
snap-pool
Parameters
error autoexpand|deleteoldestsnapshot|deletesnapshots|haltwrites
|notifyonly
Optional. The policy to invoke when the error threshold level of snap-pool usage is reached.
•
autoexpand
: Automatically expand the snap pool using the
autoexpansionsize
value. If
the snap pool’s space usage reaches the percentage specified by its error threshold, the system
will log Warning event 230 and will try to automatically expand the snap pool by the snap
pool’s
autoexpansionsize
value (below).
• If the snap pool is successfully expanded, the system will log Informational event 444.
• If the snap pool cannot be expanded because there is not enough available space in its
vdisk, the system will log Warning event 444 and will automatically delete the oldest
snapshot that is not a current sync point.
Each time the snap-pool’s error threshold is reached and the system cannot auto-expand the
vdisk, the oldest remaining snapshot (that is not a current sync point) will be deleted. This
behavior occurs for each snap pool independently, based on its space usage.
•
deleteoldestsnapshot
: Delete the oldest snapshot.
•
deletesnapshots
: Delete all snapshots.
•
haltwrites
: Halt writes to all master volumes and snapshots associated with the snap pool.
•
notifyonly
: Generates an event to notify the administrator.
critical deleteoldestsnapshot|deletesnapshots|haltwrites
Optional. Specifies the policy to invoke when the critical threshold level of snap-pool usage is
reached.
autoexpansionsize
size
[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
The amount by which the snap pool will be automatically expanded when the threshold level is
reached. The value uses the current base, as shown by the
show cli-parameters
command. The unit
can be specified as follows:
•
If base 2 is in use:
B
(bytes),
KiB
(kibibytes),
MiB
(mebibytes), or
GiB
(gibibytes).
•
If base 10 is in use:
B
(bytes),
KB
(kilobytes),
MB
(megabytes), or
GB
(gigabytes).
If no unit is specified, the unit is 512-byte blocks.
snap-pool
Name or serial number of the snap pool to set the policy for. For volume syntax, see
Command
syntax
on page 22.
Содержание P2000 G3
Страница 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Страница 14: ...14 About this guide ...
Страница 30: ...30 Categorical list of commands ...
Страница 96: ...96 Alphabetical list of commands exit Description Log off and exit the CLI session Syntax exit ...
Страница 159: ...HP P2000 G3 MSA System CLI Reference Guide 159 See also set host parameters show iscsi parameters ...
Страница 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Страница 217: ...HP P2000 G3 MSA System CLI Reference Guide 217 Basetypes drives enclosure list status See also show vdisks ...
Страница 223: ...HP P2000 G3 MSA System CLI Reference Guide 223 Basetypes email parameters status See also set email parameters ...
Страница 230: ...230 Alphabetical list of commands See also clear events set snmp parameters show snmp parameters ...
Страница 288: ...288 Alphabetical list of commands Basetypes snapshots status See also show master volumes show snap pools ...
Страница 292: ...292 Alphabetical list of commands Basetypes system unhealthy component status See also set system ...
Страница 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Страница 338: ...338 Alphabetical list of commands Basetypes remote links See also show remote systems verify remote link ...
Страница 340: ...340 Alphabetical list of commands Basetypes remote links See also show remote systems verify links ...
Страница 424: ...424 XML API basetype properties PROPERTY name utility priority numeric type string 0 PROPERTY OBJECT ...
Страница 469: ...HP P2000 G3 MSA System CLI Reference Guide 469 PROPERTY name status type string OK PROPERTY OBJECT ...
Страница 494: ...494 XML API basetype properties PROPERTY name sample time numeric type string 1329397200 PROPERTY OBJECT ...
Страница 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Страница 510: ...510 XML API basetype properties PROPERTY name reserve type numeric type string 0 PROPERTY OBJECT ...
Страница 524: ...524 Glossary ...
Страница 532: ...532 Index ...