Forum Discussion

Andre van den Berg's avatar
Andre van den Berg
Copper Contributor
Jul 06, 2017
Solved

S2D Identify PCIe NVMe in SOFS Cluster

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?

  • 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

3 Replies

  • 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
      • Andre van den Berg's avatar
        Andre van den Berg
        Copper Contributor

        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.

Resources