Windows Server Summit 2024
Mar 26 2024 08:00 AM - Mar 28 2024 04:30 PM (PDT)
Microsoft Tech Community
LIVE
SOLVED

S2D Identify PCIe NVMe in SOFS Cluster

Copper Contributor

We have 4 nodes in a SOFS cluster with S2D, each node has 2 NVMe PCIe cards.

 

One is retired, but in which node?

 

When you look in de Server Manager GUI the disk have all one node between the ( ) so can identify which node?

3 Replies
best response confirmed by Andre van den Berg (Copper Contributor)
Solution
How about this? Just replace cluster name with yours. $clusterName="S2D-Cluster" $nodes=Get-StorageSubSystem -CimSession $clusterName -FriendlyName Clus* | Get-StorageNode $disks=@() foreach ($node in $nodes) { $disks+=Invoke-Command -ComputerName $node.Name -ArgumentList $node -ScriptBlock { param($node); $node | Get-PhysicalDisk -PhysicallyConnected } } $disks | select PSComputerName,friendlyname,SerialNumber,healthstatus,OperationalStatus,CanPool,physicallocation,slotnumber | Out-GridView #or all $disks | select * | ogv

The command is not working some syntax errors.

It was the formatting on the post

 

$clusterName="fill in clustername"
$nodes=Get-StorageSubSystem -CimSession $clusterName -FriendlyName Clus* | Get-StorageNode
$disks=@()
foreach ($node in $nodes) { $disks+=Invoke-Command -ComputerName $node.Name -ArgumentList $node -ScriptBlock { param($node); $node | Get-PhysicalDisk -PhysicallyConnected } }
$disks | select PSComputerName,friendlyname,SerialNumber,healthstatus,OperationalStatus,CanPool,physicallocation,slotnumber | Out-GridView #or all $disks | select * | ogv

 

Thank you very much.

1 best response

Accepted Solutions
best response confirmed by Andre van den Berg (Copper Contributor)
Solution
How about this? Just replace cluster name with yours. $clusterName="S2D-Cluster" $nodes=Get-StorageSubSystem -CimSession $clusterName -FriendlyName Clus* | Get-StorageNode $disks=@() foreach ($node in $nodes) { $disks+=Invoke-Command -ComputerName $node.Name -ArgumentList $node -ScriptBlock { param($node); $node | Get-PhysicalDisk -PhysicallyConnected } } $disks | select PSComputerName,friendlyname,SerialNumber,healthstatus,OperationalStatus,CanPool,physicallocation,slotnumber | Out-GridView #or all $disks | select * | ogv

View solution in original post