zPoolInfo_s

Contains information about a pool.

Syntax

typedef struct zPoolInfo_s
{
   VolumeID_t   poolID;
   NDSid_t      ndsObjectID;
   LONG         poolState;
   LONG         nameSpaceMask;
   struct{
      QUAD   enabled;
      QUAD   enableModMask;
      QUAD   supported;
   }features;
   QUAD   totalSpace;
   QUAD   numUsedBytes;
   QUAD   purgeableBytes;
   QUAD   nonPurgeableBytes;
}zPoolInfo_s;

Fields

poolID

Specifies a 128-bit GUID that identifies the pool.

ndsObjectID

Specifies a 128-bit object ID that is assigned by eDirectory (zMOD_POOL_NDS_OBJECT_ID).

poolState

Specifies the current state of the pool:

  • DEACTIVE (2)

  • MAINTENANCE (3)

  • ACTIVE (6)

nameSpaceMask

Specifies the namespaces that are supported on the pool.

enabled

Specifies the features that are currently enabled for the pool (zMOD_POOL_ATTRIBUTES).

enableModMask

Specifies the features that should be changed (zMOD_POOL_ATTRIBUTES).

supported

Specifies the features that can be supported by the pool.

totalSpace

Specifies the total number of bytes that are available on the pool.

numUsedBytes

Specifies the number of bytes that are used in the pool.

purgeableBytes

Specifies the number of bytes in files that are deleted but not yet purged.

nonPurgeableBytes

Specifies the number of bytes in deleted files that cannot yet be purged.