Returns information for a specified pool snapshot.
<getPoolSnapshotInfo> <snapName/> </getPoolSnapshotInfo>
<listPoolSnapshots> <poolSnapshotInfo> <snapName/> <poolName/> <snapPoolName/> <poolSize/> <allocatedSize/> <poolSize/> <percentFull/> <state/> <mountPoint/> <writeable/> <result value=""> <description/> </result> </poolSnapshotInfo> <result value=""> <description/> </result> </listPoolSnapshots>
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 get a pool snapshot named MYPOOL_S1.
An nss request to get pool snapshot information:
<nssRequest> <pool> <getPoolSnapshotInfo> <snapName>MYPOOL_S1</snapName> </getPoolSnapshotInfo> </pool> </nssRequest>
An nss reply packet to get pool snapshot information:
<nssReply> <pool> <getPoolSnapshotInfo> <poolSnapshotInfo> <snapName>MYPOOL_S1</snapName> <poolName>MYPOOL</poolName> <snapPoolName>sdb2</snapPoolName> <allocatedSize>102400</allocatedSize> <poolSize>200672</poolSize> <percentFull>1</percentFull> <state>Active</state> <mountPoint>/opt/novell/nss/mnt/.pools/SNAP1</mountPoint> <writeable/> </poolSnapshotInfo> <result value="0"> <description>success</description> </result> </getPoolSnapshotInfo> </pool> <result value="0"> <description>zOK</description> </result> </nssReply>