Partager via


GetSupportedStripeLengthRange method of the MSISCSITARGET_StorageCapabilities class

Retrieves the supported range of extent stripe lengths for systems that support a range of lengths. Retrieved values can change after the call due to requests from other clients.

Different implementations can support either the GetSupportedStripeLengths or the GetSupportedStripeLengthRange method. If the system only supports discrete values, then this method returns Use GetSupportedStripeLengths instead (3) .

This method is inherited from the CIM_StorageCapabilities class.

Syntax

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

Parameters

MinimumStripeLength [out]

On return, indicates the minimum extent stripe length for a volume or pool in bytes.

MaximumStripeLength [out]

On return, indicates the maximum extent stripe length for a volume or pool in bytes.

StripeLengthDivisor [out]

On return, indicates the size in bytes of an incremental unit of stripe length. The user data stripe length for a volume or pool must be an even multiple of this value.

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

MSISCSITARGET_StorageCapabilities

GetSupportedStripeLengths