Windows

如何找到我在 S2D windows 集群中的物理磁碟連接的物理伺服器

  • November 22, 2019

我有一個鏡像 S2D 集群設置,我的一個驅動器有一個 IO 錯誤,如下所示。如何找到此驅動器連接到集群中的哪個物理伺服器?我已經執行了各種命令,但找不到此資訊。

PS C:\Windows\system32> Get-PhysicalDisk

FriendlyName                    SerialNumber    CanPool OperationalStatus           HealthStatus Usage            Size
------------                    ------------    ------- -----------------           ------------ -----            ----
ST3320413AS                     W2A749LZ        False   OK                          Healthy      Auto-Select 298.09 GB
SanDisk SSD PLUS 120 GB         181424801962    False   OK                          Healthy      Journal     111.75 GB
SAMSUNG SSD PM851 2.5 7mm 128GB S1CTNSAF829417  False   OK                          Healthy      Journal        119 GB
ST31500541AS                    6XW09SL5        False   OK                          Healthy      Auto-Select   1.36 TB
ST1000DM003-1ER162              Z4Y43R31        False   OK                          Healthy      Auto-Select  931.5 GB
ST1000DM003-1CH162              S1DFPS7G        False   OK                          Healthy      Auto-Select  931.5 GB
WDC WD30EZRX-00MMMB0            WD-WCAWZ2490999 False   {Transient Error, IO Error} Unhealthy    Auto-Select   2.73 TB
ST2000DM006-2DM164              Z4Z8A7A8        False   OK                          Healthy      Auto-Select   1.82 TB
SanDisk SSD PLUS 120 GB         181424800647    False   OK                          Healthy      Journal     111.75 GB
ST1000DM003-1ER162              Z4Y43A3E        False   OK                          Healthy      Auto-Select  931.5 GB
ST2000DM006-2DM164              Z4Z89YEP        False   OK                          Healthy      Auto-Select   1.82 TB
ST1000DM003-1ER162              W4Y17MW5        False   OK                          Healthy      Auto-Select  931.5 GB
SAMSUNG SSD PM851 2.5 7mm 128GB S1CTNSAF719804  False   OK                          Healthy      Journal        119 GB

經過一些研究,因為我想了解自己,你可以使用

Get-PhysicalDisk -SerialNumber 'WD-WXL1AC73EVDU' | Get-PhysicalDiskStorageNodeView

該命令將返回如下​​內容:

  StorageNodeObjectId: {1}\\CLUSTOR\ROOT/microsoft/windows/storage/providers_v2\SPACES_StorageNode.ObjectId="{c5edeb90-e0c3-487e-bcb7-6c166cd5db95}:SN:Server1"


DiskNumber            : 2011
IsPhysicallyConnected : False
HealthStatus          : Healthy
OperationalStatus     : OK
IsMpioEnabled         : False
LoadBalancePolicy     :
PathId                :
PathState             :
StorageNode           : MSFT_StorageNode (ObjectId = "{1}\\CLUSTOR\ROOT/microsoft/windows/sto...)
PhysicalDisk          : MSFT_PhysicalDisk (ObjectId = "{1}\\CLUSTOR\ROOT/microsoft/windows/sto...)


  StorageNodeObjectId: {1}\\CLUSTOR\ROOT/microsoft/windows/storage/providers_v2\SPACES_StorageNode.ObjectId="{c5edeb90-e0c3-487e-bcb7-6c166cd5db95}:SN:Server2"


DiskNumber            : 2011
IsPhysicallyConnected : True
HealthStatus          : Healthy
OperationalStatus     : OK
IsMpioEnabled         : False
LoadBalancePolicy     :
PathId                :
PathState             :
StorageNode           : MSFT_StorageNode (ObjectId = "{1}\\CLUSTOR\ROOT/microsoft/windows/sto...)
PhysicalDisk          : MSFT_PhysicalDisk (ObjectId = "{1}\\CLUSTOR\ROOT/microsoft/windows/sto...)

IsPhysicallyConnected : SN:Server2上的 True 是重要部分。

認為必須有另一種更簡單的方法(或者我希望如此),但這應該足以滿足您的目的。

引用自:https://serverfault.com/questions/926716