ESXi 6.5 无法识别之前 ESXi 5.x 或 6.0 已

2018-04-23  本文已影响0人  WangGP

https://kb.vmware.com/s/article/2151205?other.KM_Utility.getArticleLanguage=1&r=2&other.KM_Utility.getArticleData=1&other.KM_Utility.getArticle=1&ui-comm-runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&other.KM_Utility.getGUser=1

Document Id

2151205

Symptoms

免责声明:本文为 ESXi 6.5 does not recognize Datastores that were recognized before with ESXi 5.x or 6.0 (2148265) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。

升级到 ESXi 6.5 后 VMFS 数据存储可能不存在,尽管路径可用。

升级 ESXi 主机版本 6.5 后,一个或多个数据存储可能不存在。

vmkernel 日志报告有关 UUID 和设备注册失败的错误:

2017-06-02T17:12:54.076Z cpu23:65974)ScsiUid: 403: Existing device naa.6001f931059e80000113000200000000 already has uid vml.02000400006001f931059e80000113000200000000495345323430

2017-06-02T17:12:54.076Z cpu23:65974)ScsiDevice: 4163: Failing registration of device 'naa.6001f931059e80000113000200000000'

2017-06-02T17:12:54.076Z cpu23:65974)ScsiDevice: 4165: Failed to add legacy uid vml.02000400006001f931059e80000113000200000000495345323430 on path vmhba2:C0:T0:L4: Already exists

2017-06-02T17:12:54.076Z cpu23:65974)WARNING: NMP: nmp_RegisterDevice:851: Registration of NMP device with primary uid 'naa.6001f931059e80000113000200000000' failed. Already exists

存储路径列表将显示多个 No associated device 的路径。

# esxcli storage core path list

fc.20000025b5ab007c:20000025b5ac0049-fc.2000001f931059e8:2000001f931059e8-

UID: fc.20000025b5ab007c:20000025b5ac0049-fc.2000001f931059e8:2000001f931059e8-

Runtime Name: vmhba2:C0:T0:L4

Device: No associated device

Device Display Name: No associated device

Adapter: vmhba2

Channel: 0

Target: 0

LUN: 4

注意:此日志摘要是一个示例。日期、时间和环境变量可能会因环境而有所不同。

Cause

当存储阵列将设备提供给具有多个 LUN 编号的 ESXi 主机时,将出现此问题。所有设备都具有两个用于 ESXi 的标识符。设备名称通常以 naa.、eui. 或 t10. 以及 ESXi 生成的以 vml 开头的 legacy identifier 开头。由于 LUN 编号是 VML 标识符的一部分,因此当同一 LUN 存在多个 LUN 编号时,就会发生冲突。在先前的版本中,如果出现这种情况,ESXi 会生成多个旧标识符(legacy identifier)。此行为在 ESXi 6.5 中发生变化,对于具有多个 LUN 编号的设备,设备注册将失败。

出现此问题的原因是,同一设备存在两个不同的 ID。

注意:您可以使用以下命令进行验证:

esxcfg-scsidevs -l

每个设备应仅分配一个 vml ID(除非使用 Pernix Data)。有问题的输出示例如下:

naa.600c0ff000261b5db72dc75601000000

Device Type: Direct-Access

Size: 5145644 MB

Display Name: HP Fibre Channel Disk (naa.600c0ff000261b5db72dc75601000000)

Multipath Plugin: NMP

Console Device: /vmfs/devices/disks/naa.600c0ff000261b5db72dc75601000000

Devfs Path: /vmfs/devices/disks/naa.600c0ff000261b5db72dc75601000000

Vendor: HP Model: MSA 1040 SAN Revis: G210

SCSI Level: 6 Is Pseudo: false Status: on

Is RDM Capable: true Is Removable: false

Is Local: false Is SSD: false

Other Names:

vml.0200030000600c0ff000261b5db72dc756010000004d5341203130

vml.0200020000600c0ff000261b5db72dc756010000004d5341203130

VAAI Status: supported

Resolution

这是 ESXi 6.5 的预期行为。每个 ESXi 主机中的 LUN 呈现必须一致,设备注册才能成功。如果您遇到此问题,请调整存储阵列中的 LUN 呈现/映射以确保 LUN 编号显示一致。LUN 编号一致是存储最佳实践。

Related Information

为避免服务中断,在更改 LUN 呈现/映射时,请始终遵循存储供应商发布的最佳实践。

在升级到 ESXi 6.5 之前,您可以通过检查版本 6.5 之前的主机的设备注册来确定您是否会遇到此问题。检查设备注册时,您应该看到每个存储设备只有一个相关联的 VML 标识符。如果您发现多个 VML 标识符,则升级到 ESXi 6.5 后设备将无法注册。

例如:

# esxcli storage core device list

naa.6001f931059e80000113000200000000

Display Name: Fibre Channel Disk (naa.6001f931059e80000113000200000000)

Has Settable Display Name: true

Size: 10240

Device Type: Direct-Access

Multipath Plugin: NMP

Devfs Path: /vmfs/devices/disks/naa.6001f931059e80000113000200000000

[ … ]

Is VVOL PE: false

Is Offline: false

Is Perennially Reserved: false

Queue Full Sample Size: 0

Queue Full Threshold: 0

Thin Provisioning Status: unknown

Attached Filters:

VAAI Status: supported

Other UIDs:

vml.02000600006001f931059e80000113000200000000495345323430,

vml.02000800006001f931059e80000113000200000000495345323430

注意:为显示更清楚,已减少命令输出。

或者,您也可以检查短格式路径列表以列出指向设备的所有路径,从而检查 LUN 编号的唯一性。

例如:

# esxcfg-mpath -b

naa.6001f931059e80000113000200000000 : Fibre Channel Disk (naa.6001f931059e80000113000200000000)

vmhba2:C0:T0:L6LUN:6state:active fc Adapter: WWNN: 20:00:00:25:b5:ab:00:4f WWPN: 20:00:00:25:b5:ac:00:3f Target: WWNN: 20:00:00:1f:93:10:59:e8 WWPN: 20:00:00:1f:93:10:59:e8

vmhba2:C0:T1:L6LUN:6state:active fc Adapter: WWNN: 20:00:00:25:b5:ab:00:4f WWPN: 20:00:00:25:b5:ac:00:3f Target: WWNN: 20:00:00:1f:93:10:59:e8 WWPN: 20:00:00:1f:93:10:59:ed

vmhba1:C0:T3:L8LUN:8state:active fc Adapter: WWNN: 20:00:00:25:b5:ab:00:4f WWPN: 20:00:00:25:b5:ac:00:2f Target: WWNN: 20:00:00:1f:93:10:59:e8 WWPN: 20:00:00:1f:93:10:59:e9

vmhba1:C0:T5:L8LUN:8state:active fc Adapter: WWNN: 20:00:00:25:b5:ab:00:4f WWPN: 20:00:00:25:b5:ac:00:2f Target: WWNN: 20:00:00:1f:93:10:59:e8 WWPN: 20:00:00:1f:93:10:59:ec

要在更新本文时收到提醒,请在“Actions” 框中单击 Subscribe to Document

ESXi 6.5 does not recognize Datastores that were recognized before with ESXi 5.x or 6.0

上一篇下一篇

猜你喜欢

热点阅读