注意:本文為伺服器教學:「
RAID 與磁碟」的一部分,請參閱
這裡。
下列步驟在所有作業系統中皆相同。
目錄:
1.透過 OMSA 離線
2.透過命令列介面 (CLI) 離線
透過 OMSA 離線
- 登入 OMSA。
如果出現安全憑證警告訊息,請按一下繼續前往此網站。
- 展開左側樹狀結構功能表上的儲存裝置,然後選取虛擬磁碟。
- 在虛擬磁碟清單按一下所需的虛擬磁碟名稱。
在此步驟中,我們會選取「Virtual Disk0」作為範例。
- 從實體磁碟上的可用的工作功能表中選取離線以刪除,然後按一下執行。
- 閱讀出現的警示訊息,然後按一下離線。
- 從網頁方塊的訊息按一下確定。
- 檢查選取的實體磁碟狀態現在是否為離線。
透過命令列介面 (CLI) 離線
您必須先在系統上安裝 OMSA,才能執行下列步驟。
- 開啟終端機 (Linux) 或 DOS 視窗 (Windows)。
- 在出現 ONIE 提示時,執行下列命令:
omconfig storage pdisk action=offline controller=* pdisk=*
(* 會是數字)。
在出現 ONIE 提示時,執行下列命令: omreport storage controller
如果您檢查控制器清單。
範例:控制器 ID=0,所需實體磁碟 ID=0:1:4
omconfig storage pdisk action=offline controller=0 pdisk=0:1:4
重要:請務必選取良好的控制器。
- 隨即顯示「Command successful!」訊息,實體磁碟現已離線。
- 在出現 ONIE 提示時,執行下列命令:
omreport storage pdisk controller=* pdisk=*
以檢查實體磁碟狀態現在是否顯示為「離線」(數字將會是 *)。