Forum Discussion
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?
- 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
3 Replies
- DeletedHow 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 BergCopper Contributor
The command is not working some syntax errors.
- Andre van den BergCopper 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 * | ogvThank you very much.