PowerFlex ScaleIO 將磁碟新增回伺服器後,作業系統無法辨識它
Summary: 將磁碟新增回伺服器後,作業系統無法辨識磁碟。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
透過手動
將磁碟線上拉出伺服器,以測試故障磁碟 在作業系統層級,即使已將磁碟重新新增至伺服器,也無法看見該磁碟。
這並不是真正的 SIO 問題。
Cause
發生這種情況是因為磁碟狀態緩存在錯誤的狀態中。
Resolution
請執行以下步驟:
這不是測試 SIO 叢集中故障磁碟的建議方式。
如果客戶尚未安裝 PERCCLI 公用程式,請要求他們在 Dell 伺服器上安裝。(請參閱下面的連結)
取得以下命令的輸出:
# /opt/MegaRAID/perccli/perccli64 /c0 show
確定在 PD 清單下可看到提取並送回的硬碟。
檢查 VD (虛擬磁碟) 是否遺失。
如果遺失,請嘗試建立 VD:
# opt/MegaRAID/perccli/perccli64 /c0 add vd type=raid0 drives=EID:Slt direct wt nora ( this is for No ReadAhead (NR) WriteThrough (WT)
您可能會收到錯誤:
# /opt/MegaRAID/perccli/perccli64 /c0 add vd type=raid0 drives=EID:Slt direct wt nora Controller = 0 Status = Failure Description = controller has data in cache for offline or missing virtual disks
如果您收到上述錯誤訊息,請檢查 KB 500119: https://www.dell.com/support/kbdoc/en-us/000065897/storcli-commands-not-effective storcli 命令無效 當您使用 perccli 公用程式時,請使用 perrcli 命令來檢查保留的快取:
#/opt/MegaRAID/perccli/perccli64 /c0 show preservedcache
如果存在保留的快取,輸出將顯示:
#/opt/MegaRAID/perccli/perccli64 /c0 show preservedcache Controller = 0 Status = Success Description = None ----------- VD State ----------- 16 Missing
使用以下命令刪除保留的快取:
#opt/MegaRAID/perccli/perccli64 /c0/v16 delete preservedcache
然後使用以下方式建立 VD:
#opt/MegaRAID/perccli/perccli64 /c0 add vd type=raid0 drives=EID:Slt direct wt nora
不需要重新開機,現在應該會在作業系統層級看到磁碟。執行下列步驟以檢查:
# ls -l /dev/disk/by-path | grep pci #ls -l /dev/disk/by-path | grep pci | wc -l #fdisk -l | grep Disk #lsblk
然後,您應該能夠將磁碟添加回 SIO 叢集,登入 ScaleIO UI。在後端 SDS 畫面中,以滑鼠右鍵按一下 SDS,然後選取新增裝置。在路徑欄位中輸入作業系統名稱。
Additional Information
若要下載 Linux 的 Perccli 公用程式,請前往:
https://downloads.dell.com/FOLDER03559396M/1/perccli-1.17.10-1.noarch.rpm
將安裝檔案 perccli-1.17.10-1.noarch.rpm 複製到節點上的 /tmp 資料夾。
從 Linux 主控台或使用 SSH 安裝 PERCCLI 套件:
#rpm -Uvh /tmp/perccli-1.17.10-1.noarch.rpm
《Dell PowerEdge RAID 控制器 (PERC) 命令行介面 (CLI) 參考指南
》位於:https://www.dell.com/support/kbdoc/en-us/000177280/how-to-use-the-poweredge-raid-controller-perc-command-line-interface-cli-utility-to-manage-your-raid-controller
https://downloads.dell.com/FOLDER03559396M/1/perccli-1.17.10-1.noarch.rpm
將安裝檔案 perccli-1.17.10-1.noarch.rpm 複製到節點上的 /tmp 資料夾。
從 Linux 主控台或使用 SSH 安裝 PERCCLI 套件:
#rpm -Uvh /tmp/perccli-1.17.10-1.noarch.rpm
《Dell PowerEdge RAID 控制器 (PERC) 命令行介面 (CLI) 參考指南
》位於:https://www.dell.com/support/kbdoc/en-us/000177280/how-to-use-the-poweredge-raid-controller-perc-command-line-interface-cli-utility-to-manage-your-raid-controller
Affected Products
PowerFlex SoftwareProducts
PowerFlex Software, VxFlex Product FamilyArticle Properties
Article Number: 000058655
Article Type: Solution
Last Modified: 28 Oct 2024
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.