PowerFlex:SVM 或 SDS 磁碟缺少序號,且未列在 /dev/disk/by-id 中
Summary: 附加或設定至 SVM 或 SDS 節點的磁碟裝置缺少序號資訊,且未列在 /dev/disk/by-id 目錄中。
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
磁碟缺少以下來源的序列和 WWN 資訊: lsblk 命令 (在此範例中為 SDA 和 SDC):
[root@svmcentos79 ~]# lsblk -S -o "NAME,HCTL,TYPE,SIZE,VENDOR,MODEL,REV,TRAN,SERIAL,WWN" NAME HCTL TYPE SIZE VENDOR MODEL REV TRAN SERIAL WWN sda 2:0:0:0 disk 16G VMware Virtual disk 1.0 sdb 3:0:0:0 disk 1.8T KIOXIA KPM6XRUG1T92 BA48 58ce38ee219b166d 0x58ce38ee219b166d sdc 3:0:1:0 disk 1.8T VMware Virtual disk 1.0
磁碟無法用 ID 識別,因為它們未列在 /dev/disk/by-id 目錄 (在此範例中為 SDA 和 SDC):
[root@svmcentos79 ~]# ls -l /dev/disk/by-id/ total 0 lrwxrwxrwx 1 root root 9 Jun 10 03:23 scsi-358ce38ee219b166d -> ../../sdb lrwxrwxrwx 1 root root 9 Jun 10 03:23 wwn-0x58ce38ee219b166d -> ../../sdb
Cause
SVM 或 SDS 節點虛擬機器必須啟用 UUID 屬性才能為每個虛擬磁碟產生唯一識別碼。解決方案包括設置虛擬機高級參數「磁碟。EnableUUID」的值為「TRUE」。
請注意,此變更需要 關閉 VM 電源,且僅適用於虛擬磁碟,即 VMDK 檔案或 RDM-V (在虛擬模式下:「vmfsRawDeviceMap」)。
Resolution
要在虛擬機器(SVM/SDS 節點)上啟用 UUID 屬性,請執行以下操作:
- 將 SVM 或 SDS 節點置於維護模式。
- 關閉系統,並確定 VM 已關機。
- 設定 磁碟。在虛擬機器組態參數中,EnableUUID=TRUE 。
- 開啟虛擬機器電源。
若要從 vSphere Client 設定參數:
- 在虛擬機器上按一下滑鼠右鍵,然後按一下 編輯設定。
- 從虛擬機 器選項 標籤中展開 進階,然後按一下 編輯組態。
- 在 名稱 欄中,輸入磁碟。EnableUUID。
- 在 值 列中,輸入 TRUE。
- 按一下 新增,然後按 一下確定。
若要使用 govc 設定參數:
$ vm=$(govc find / -type m -name "<vm_name>")
$ govc vm.change -e="disk.EnableUUID=1" -vm="$vm"
$ govc vm.info -json "$vm" | jq -r '.virtualMachines[].config.extraConfig[] | select(.key=="disk.EnableUUID")'
{
"key": "disk.EnableUUID",
"value": "TRUE"
}
或者,您可以通過添加以下行來編輯來賓 vmx 檔:
disk.EnableUUID = "TRUE"
套用解決方案後,虛擬磁碟也應具有唯一識別碼。在上一個範例中:
[root@svmcentos79 ~]# lsblk -S -o "NAME,HCTL,TYPE,SIZE,VENDOR,MODEL,REV,TRAN,SERIAL,WWN" NAME HCTL TYPE SIZE VENDOR MODEL REV TRAN SERIAL WWN sda 2:0:0:0 disk 16G VMware Virtual disk 1.0 6000c298cd0c39b32b31db9e9f89380e 0x6000c298cd0c39b3 sdb 3:0:0:0 disk 1.8T KIOXIA KPM6XRUG1T92 BA48 58ce38ee219b166d 0x58ce38ee219b166d sdc 3:0:1:0 disk 1.8T VMware Virtual disk 1.0 6000c29294c8dc34e2df1ea6814a52a5 0x6000c29294c8dc34
[root@svmcentos79 ~]# ls -l /dev/disk/by-id/ total 0 lrwxrwxrwx 1 root root 9 Jun 10 03:51 scsi-358ce38ee219b166d -> ../../sdb lrwxrwxrwx 1 root root 9 Jun 10 03:51 scsi-36000c29294c8dc34e2df1ea6814a52a5 -> ../../sdc lrwxrwxrwx 1 root root 9 Jun 10 03:51 scsi-36000c298cd0c39b32b31db9e9f89380e -> ../../sda lrwxrwxrwx 1 root root 9 Jun 10 03:51 wwn-0x58ce38ee219b166d -> ../../sdb lrwxrwxrwx 1 root root 9 Jun 10 03:51 wwn-0x6000c29294c8dc34e2df1ea6814a52a5 -> ../../sdc lrwxrwxrwx 1 root root 9 Jun 10 03:51 wwn-0x6000c298cd0c39b32b31db9e9f89380e -> ../../sda
Additional Information
此資訊可在「部署 Dell PowerFlex」指南的說明文件中找到:在虛擬機器上設定 UUID。
Affected Products
PowerFlex SoftwareProducts
PowerFlex rack, VxFlex Ready Nodes, PowerFlex Appliance, PowerFlex custom node, ScaleIO, VxFlex Product FamilyArticle Properties
Article Number: 000225903
Article Type: Solution
Last Modified: 24 Jul 2024
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.