目標磁碟的序號為「S400625X」時:
執行下列命令,確認適用的磁碟已從儲存集區中淘汰。
如果未停用,請繼續執行「替換未停用的磁碟」一節中的步驟。
PS C:\> Get-PhysicalDisk -SerialNumber S400625X
執行下列命令,將適用的磁碟從儲存集區中分離。
PS C:\> $disk = Get-PhysicalDisk -SerialNumber S400625X PS C:\> Get-StoragePool -FriendlyName s2d* | Remove-PhysicalDisk -PhysicalDisks ($disk)
執行下列命令以確認分離工作已完成。
PS C:\> Get-StorageJob
更換磁碟。
稍作等候,然後執行步驟 3 中的命令,確認更換的磁碟已新增至儲存集區。
如有必要,請按照以下矩陣更新已更換磁碟的韌體。
適用於 Microsoft Azure Stack HCI 的 Dell EMC 解決方案支援矩陣
注意:由於日語知識更新可能會延遲,如果顯示日語知識,請從右上角的語言選項中選擇英語並查看最新資訊。
此步驟適用於由於預測性故障等原因未淘汰的磁碟。如果將其從存儲池中分離以進行替換,請手動將狀態更改為“已停用”。
注意:以下命令是一個範例。指定序號並繼續。
目標磁碟的序號為「S400625X」時:
執行以下命令以確認目標磁碟。
PS C:\> Get-PhysicalDisk -SerialNumber S400625X
執行以下命令,將目標磁碟更改為「已淘汰」。
PS C:\ > Get-PhysicalDisk -SerialNumber S400625X | Set-PhysicalDisk -Usage Retired
執行下列命令,確認目標磁碟已淘汰。
PS C:\Windows\system32> Get-PhysicalDisk -SerialNumber KZJRPYWG
繼續執行「裝回故障磁碟」一節中的步驟 2-6。
若為伺服器管理員:
選取 檔案服務和儲存服務->磁碟區->儲存集區。
在實體磁碟欄位中,以滑鼠右鍵按一下使用狀態的目標磁碟 (例如取消),然後選取 切換磁碟機指示燈。
檢查伺服器正面磁碟的狀態指示燈,並識別指示燈閃爍的位置。
識別後,再次 選取切換磁碟機燈 號以停止閃爍。
針對 PowerShell:
啟動具有管理員權限的 PowerShell。
執行下列命令,以確認磁碟的作業狀態不正常或健全狀況狀態不健全。
Get-PhysicalDisk | Where-Object {$_.OperationalStatus -ne "OK" -or $_.HealthStatus -ne "Healthy"} | ft FriendlyName,SerialNumber,OperationalStatus,HealthStatus,AdapterSerialNumber
執行下列命令,識別適用磁碟所屬的主機。
注意:若為 NVME,請使用配接卡序號而非序號。
注意:輸入將 S2D 設定為 $ips 的節點的 iDRAC IP。
注意:輸入步驟 2 中確認的磁碟值來$SerialNumber。
注意:執行 $cred 時,由於會顯示下列快顯視窗,因此請輸入 iDRAC Web 主控台的登入資訊。
$CimOptions = New-CimSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck -Encoding Utf8 -UseSsl $cred=(Get-Credential) $ips=@('xx.xx.xx.xx','xx.xx.xx.xx','xx.xx.xx.xx','xx.xx.xx.xx') $serialNumber = "xxxxxxxxxxxx" foreach ($ip in $ips) { $Session = New-CimSession -Authentication Basic -Credential $cred -ComputerName $ip -Port 443 -SessionOption $CimOptions Get-CimInstance -Cimsession $Session -ClassName DCIM_PhysicalDiskView -Namespace 'root/dcim' |? {$_.serialNumber -eq $serialNumber} | ft PSComputerName, serialnumber,slot, DeviceDescription }
磁碟序號 S400625X 的輸出範例:
如果無法識別故障的磁碟,請閃爍所有狀況良好的磁碟,以識別故障的磁碟。
針對 Power Shell:
Get-PhysicalDisk | Where-Object -Property HealthStatus -eq Healthy | Enable-PhysicalDiskIdentification
識別后,停止閃爍。
Get-PhysicalDisk | Where-Object -Property HealthStatus -eq Healthy | Disable-PhysicalDiskIdentification
若為 iDRAC7/8:勾選所有故障磁碟,然後閃爍和取消閃爍。
若為 iDRAC9:勾選所有故障磁碟,然後閃爍和取消閃爍。