Skip to content

Get-S2DStoragePoolInfo

Returns S2D storage pool configuration, capacity allocation, and overcommit status.


Synopsis

Queries the non-primordial storage pool for health, total/allocated/remaining capacity, resiliency settings, storage tiers, fault domain awareness, and thin provisioning overcommit ratio.

Requires an active session from Connect-S2DCluster, or use -CimSession directly.


Syntax

powershell
Get-S2DStoragePoolInfo
    [-CimSession <CimSession>]

Parameters

-CimSession

TypeCimSession
RequiredNo
Defaultuses module session

Override the module session and target this CimSession directly.


Outputs

S2DStoragePool — a single object representing the S2D pool.

Key properties:

PropertyDescription
FriendlyNamePool name
HealthStatusHealthy, Warning, Unhealthy
OperationalStatusWMI operational status
TotalSizeTotal pool capacity as S2DCapacity
AllocatedSizeAllocated (provisioned) capacity as S2DCapacity
RemainingSizeFree capacity as S2DCapacity
ProvisioningTypeDefaultThin or Fixed
ResiliencySettingsArray of resiliency configurations (Mirror, Parity)
NumberOfDataCopiesCurrent resiliency factor
FaultDomainAwarenessDefaultPhysicalDisk, StorageScaleUnit, etc.
OvercommitRatioThin-provisioned logical size / pool total (>1 = overcommitted)
IsReadOnly$true if the pool is in a read-only state

Examples

Basic pool info:

powershell
Connect-S2DCluster -ClusterName "tplabs-clus01" -Credential $cred
Get-S2DStoragePoolInfo

Key capacity numbers:

powershell
Get-S2DStoragePoolInfo | Select-Object FriendlyName, HealthStatus, TotalSize, RemainingSize

Check overcommit ratio:

powershell
$pool = Get-S2DStoragePoolInfo
"Overcommit ratio: $($pool.OvercommitRatio)"

Released under the MIT License.