HP 3PAR Web Service API 1.3.1 Developer's Guide

Volume policies Configuration Object
The policies of a volume are specified by the policies JSON object, as detailed in Table 32 (page
54).
Table 32 Volume policies JSON Objects
DescriptionValueMember
True: Stale snapshots. If there is no space for a
copy-on-write operation, the snapshot is allowed to
BooleanstaleSS
go stale but the host write can proceed without an
error.
False: No stale snapshots. If there is no space for
a copy-on-write operation, the host write will fail.
True: This indicates a volume is constrained to
export to one host or one host cluster.
BooleanoneHost
False: This indicates a volume exported to multiple
hosts for use by a cluster-aware application, or
when "port presents" VLUNs are used
True: This indicates that the storage system will
scan for zeros in the incoming write data.
BooleanzeroDetect
False: This indicates that the storage system will
not scan for zeros in the incoming write data.
True: Special volume used by the system.BooleanSystem
False: Normal user volume.
This is a read-only policy and cannot be set.BooleanCaching
True: This indicates that the storage system is
enabled for write caching, read caching, and read
ahead for the volume.
False: This indicates that the storage system is
disabled for write caching, read caching, and read
ahead for the volume.
Volume Space Objects
The volume space is specified by the following three sub-objects, each of which uses the same
members:
adminSpace
snapshotSpace
userSpace
The members are listed in Table 33 (page 54).
Table 33 Volume Space JSON Objects
DescriptionAPI TypeJSON TypeMember
Reserved space in MiB.uint32numberreservedMiB
Raw reserved space in MiB.uint32numberrawReservedMiB
Used space in MiB.uint32numberusedMiB
Free space in MiB.uint32numberfreeMiB
54 Working with Storage Volumes