Skip to content

Get-S2DCacheTierInfo

Analyzes the S2D cache tier configuration, binding ratio, and health.


Synopsis

Classifies cache vs capacity disks, computes the cache-to-capacity binding ratio, and surfaces degradation or missing cache disk conditions.

Handles all-NVMe clusters (software write-back cache) and hybrid configurations (NVMe/SSD cache over HDD/SSD capacity tier).

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


Syntax

powershell
Get-S2DCacheTierInfo
    [-CimSession <CimSession>]

Parameters

-CimSession

TypeCimSession
RequiredNo
Defaultuses module session

Override the module session and target this CimSession directly.


Outputs

S2DCacheTier — a single object describing the cache configuration.

Key properties:

PropertyDescription
CacheModeWriteBack, WriteThrough, or Disabled
IsAllFlash$true when all pool disks are NVMe or SSD
CacheDiskCountNumber of cache-tier disks in the cluster
CapacityDiskCountNumber of capacity-tier disks in the cluster
CacheToCapacityRatioCache disk count / capacity disk count (e.g. 1:4)
CacheDiskMediaTypeMedia type of cache disks (NVMe, SSD)
CapacityDiskMediaTypeMedia type of capacity disks (NVMe, SSD, HDD)
HealthStatusHealthy, Degraded, Unhealthy
DegradedNodesNodes with a missing or failed cache disk

Examples

Basic cache info:

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

Key cache metrics:

powershell
Get-S2DCacheTierInfo | Select-Object CacheMode, IsAllFlash, CacheDiskCount, CacheToCapacityRatio

Check for degraded cache:

powershell
$cache = Get-S2DCacheTierInfo
if ($cache.HealthStatus -ne 'Healthy') {
    "Cache degraded on: $($cache.DegradedNodes -join ', ')"
}

Released under the MIT License.