Forum Discussion
Andre van den Berg
Jul 06, 2017Copper Contributor
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 (...
- DeletedJul 11, 2017How 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
Jul 12, 2017Copper Contributor
The command is not working some syntax errors.
Andre van den Berg
Jul 12, 2017Copper 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.