EnableStorageSpacesDirect method of the MSCluster_StorageSpacesDirect class
Enables Storage Spaces Direct.
Syntax
uint32 EnableStorageSpacesDirect(
[in] uint32 CacheState,
[in] uint64 CacheMetadataReserveBytes,
[in] string XML,
[in] string CacheDeviceModel[],
[in] boolean AutoConfig,
[in] uint32 CachePageSizeKBytes,
[in] string PoolFriendlyName,
[in] boolean SkipEligibilityChecks
);
Parameters
-
CacheState [in]
-
The cache state.
-
Disabled (0)
-
Enabled (1)
CacheMetadataReserveBytes [in]
How many bytes that the cache should leave unused.
XML [in]
The XML describing disk related settings.
CacheDeviceModel [in]
The model prefixes of the disks to be used for cache.
AutoConfig [in]
Create storage pool and configure storage after enabling Storage Spaces Direct.
CachePageSizeKBytes [in]
Cache page size in KB.
(8)
(16)
(32)
(64)
PoolFriendlyName [in]
Pool friendly name to be used for S2D pool.
SkipEligibilityChecks [in]
Indicates that disk eligibility should be skipped.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\MSCluster |
MOF |
|
DLL |
|