Lists all existing pool snapshots and their related information.
<listPoolSnapshots> <details/> <poolName/> </listPoolSnapshots>
<listPoolSnapshots> <poolSnapshotInfo> <snapName/> <poolName/> <snapPoolName/> <poolSize/> <allocatedSize/> <poolSize/> <percentFull/> <state/> <mountPoint/> <writeable/> <result value=""> <description/> </result> </poolSnapshotInfo> <result value=""> <description/> </result> </listPoolSnapshots>
(optional) Specifies whether to return all information. Otherwise, only the snapshot names are returned.
(optional) Specifies to return only the snapshots of the specified pool.
Specifies the name of the pool snapshot.
Specifies the name of the pool of which to take a snapshot.
Specifies the name of the segment or partition on which to store the snapshot data.
Specifies the allocated size of the segment or partition on which to store the snapshot data.
Specifies the size of the pool of which to take a snapshot.
Specifies how full (as a percentage) the segment or partition on which to store the snapshot is.
Specifies the state of the pool:
Specifies the mount point of the snapshot.
Specifies that the snapshot is writeable.
Specifies an error value or 0 (for no error).
Specifies a text description of the result.
The following is an example to list all pool snapshots and their related information.
An nss request to list pool snapshots and their information:
<nssRequest> <pool> <listPoolSnapshots> <details/> </listPoolSnapshots> </pool> </nssRequest>
An nss reply packet to list pool snapshots and their information:
<nssReply> <pool> <listPoolSnapshots> <poolSnapshotInfo> <snapName>MYPOOL_S1</snapName> <poolName>MYPOOL</poolName> <snapPoolName>sdb2</snapPoolName> <allocatedSize>102400</allocatedSize> <poolSize>200672</poolSize> <percentFull>1</percentFull> <state>Active</state> <mountPoint>not mounted</mountPoint> <writeable/> </poolSnapshotInfo> </listPoolSnapshots> <result value="0"> <description>success</description> </result> </listPoolSnapshots> </listPoolSnapshots> </pool> <result value="0"> <description>zOK</description> </result> </nssReply>