Partager via


GetSupportedStripeLengthRange method of the CIM_StorageCapabilities class

For systems that support a range of ExtentStripeLengths for volume or pool creation, this method can be used to retrieve the supported range. Note that different implementations may support either the GetSupportedExtentLengths or the GetSupportedExtentLengthRange method. Also note that the advertised sizes may change after the call due to requests from other clients. If the system only supports discrete values, then the return value will be set to 3.

Syntax

uint32 GetSupportedStripeLengthRange(
  [out] uint16 MinimumStripeLength,
  [out] uint16 MaximumStripeLength,
  [out] uint32 StripeLengthDivisor
);

Parameters

MinimumStripeLength [out]

The minimum ExtentStripeDepth for a volume/pool in bytes.

MaximumStripeLength [out]

The maximum ExtentStripeLength for a volume/pool in bytes.

StripeLengthDivisor [out]

A volume/pool ExtentStripeLength must be a multiple of this value which is specified in bytes.

Return value

Method completed OK (0)

Method not supported (1)

Choices not available for this Capability (2)

Use GetSupportedStripeLengths instead (3)

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\CIMv2\Storage\iScsiTarget
MOF
SmIscsiTarget.mof
DLL
SMiSCSITargetProv.dll

See also

CIM_StorageCapabilities