Dell EMC Unity:如何解决 VPlex 调配的 Unity 卷的“删除状态:不受支持”问题(用户可纠正)
Summary: Dell EMC Unity:如何解决 VPlex 调配的 Unity 卷的“删除状态:不受支持”问题(用户可纠正)
Symptoms
这与 VAAI UNMAP 插件程序问题有关,删除状态显示不受支持:
[root@ESXi:/] esxcli storage core device vaai status get -d naa.<WWN> VAAI Plugin Name: VMW_VAAIP_CX ATS Status: supported Clone Status: supported Zero Status: supported Delete Status: unsupported <<<<<<<<< The UNMAP feature became available for Unity arrays from VPLEX 6.0 Service Pack 1. So, must confirm if the VPlex is running on the correct version code that supports UNMAP. But, when the VPlex is running on the version that supports the UNMAP feature for Unity, the UNMAP feature reports unsupported. The use of UNMAP is limited to Thin provisioned volumes. So, need to check if the the LUNs are thin provisioned or not:
[root@ESXi:~] esxcli storage core device list -d naa.<WWN> <Output is truncated> . . Thin Provisioning Status: unknown <<<<<<< It means that the LUNs are thick provisioned
Cause
或者
,如果 VPlex 在支持 Unity 的 UNMAP 功能的版本上运行,原因是 LUN 在 Unity 上进行了密集资源调配或 LUN 进行了精简资源调配,但 VPlex 虚拟卷上的 thin-enabled 功能被禁用。
Resolution
如果 VPlex 未在支持 Unity 的 UNMAP 功能的版本上运行。客户将 VPlex 升级到支持精简 UNMAP 的 6.0 SP 1。
否则,
在 VPlex
上检查:1。验证调配到 VPlex 的存储卷是否支持精简:
VPlexcli:/clusters/cluster-1/storage-elements/storage-volumes> ll Name VPD83 ID Capacity Use Vendor IO Status Type Thin Provision Thin --------------------------------- ------------------------ -------- --------- ------- ----------- ----------- Rebuild Type Capable --------------------------------- ------------------------ -------- --------- ------- ----------- ----------- ------- --------- ------- VPD83T3:514f0c5b94e0002c VPD83T3:514f0c5b94e0002c 15G used Unity alive normal false legacy true
2.验证是否在 VPlex 虚拟卷上启用了精简功能:VPlexcli:/clusters/cluster-1/virtual-volumes/testvolume_vol> ll
Name Value
-------------------------- ----------------------------------------
block-count 3932160
block-size 4K
cache-mode synchronous
capacity 15G
consistency-group -
expandable true
expandable-capacity 0B
expansion-method storage-volume
expansion-status -
health-indications []
health-state ok
locality local
operational-status ok
recoverpoint-protection-at []
recoverpoint-usage -
scsi-release-delay 0
service-status running
storage-tier -
supporting-device testvolume
system-id testvolume_vol
thin-capable true
thin-enabled disabled <--- thin enabled is not set!!
volume-type virtual-volume
vpd-id VPD83T3:6000144000000010b021768279d4285d
3.在虚拟卷上启用精简功能(如果已禁用):VPlexcli:/clusters/cluster-1/virtual-volumes/testvolume_vol>set thin-enabled 1
在 ESXi 上检查:
4.扫描 ESXi 服务器上的存储。它可以通过命令行和 VCenter 完成。[root@ESXi:/] esxcli storage core adapter rescan --all
5.针对 VPlex 虚拟卷运行 storage core path 命令 ID i :[root@ESXi:/] esxcli storage core path list
fc.20000024ff548aa8:21000024ff548aa8-fc.5000144047b02176:50001442d0217600-naa.6000144000000010b021768279d4285d
UID: fc.20000024ff548aa8:21000024ff548aa8-fc.5000144047b02176:50001442d0217600-naa.6000144000000010b021768279d4285d
Runtime Name: vmhba2:C0:T3:L0
Device: naa.6000144000000010b021768279d4285d
Device Display Name: EMC Fibre Channel Disk (naa.6000144000000010b021768279d4285d)
Adapter: vmhba2
Channel: 0
Target: 3
LUN: 0
Plugin: NMP
State: active
Transport: fc
Adapter Identifier: fc.20000024ff548aa8:21000024ff548aa8
Target Identifier: fc.5000144047b02176:50001442d0217600
Adapter Transport Details: WWNN: 20:00:00:24:ff:54:8a:a8 WWPN: 21:00:00:24:ff:54:8a:a8
Target Transport Details: WWNN: 50:00:14:40:47:b0:21:76 WWPN: 50:00:14:42:d0:21:76:00
Maximum IO Size: 33553920Get Vplex virtual volume NAA
6.在卷上创建分区或数据存储区之前,ESXi 无法获得该卷的精简资源调配状态,因此它仍报告不支持该功能:
[root@ESXi:/] esxcli storage core device vaai status get -d naa.6000144000000010b021768279d4285d
naa.6000144000000010b021768279d4285d
VAAI Plugin Name:
ATS Status: supported
Clone Status: supported
Zero Status: supported
Delete Status: unsupported[root@ESXi:/] esxcli storage core device list -d naa.6000144000000010b021768279d4285d
naa.6000144000000010b021768279d4285d
Display Name: EMC Fibre Channel Disk (naa.6000144000000010b021768279d4285d)
Has Settable Display Name: true
Size: 15360
Device Type: Direct-Access
Multipath Plugin: NMP
Devfs Path: /vmfs/devices/disks/naa.6000144000000010b021768279d4285d
Vendor: EMC
Model: Invista
Revision: 5520
SCSI Level: 4
Is Pseudo: false
Status: on
Is RDM Capable: true
Is Local: false
Is Removable: false
Is SSD: false
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.02000000006000144000000010b021768279d4285d496e76697374
Is Shared Clusterwide: true
Is Local SAS Device: false
Is SAS: false
Is USB: false
Is Boot USB Device: false
Is Boot Device: false
Device Max Queue Depth: 64
No of outstanding IOs with competing worlds: 32
Drive Type: unknown
RAID Level: unknown
Number of Physical Drives: unknown
Protection Enabled: false
PI Activated: false
PI Type: 0
PI Protection Mask: NO PROTECTION
Supported Guard Types: NO GUARD SUPPORT
DIX Enabled: false
DIX Guard Type: NO GUARD SUPPORT
Emulated DIX/DIF Enabled: false
7.在卷上创建数据存储区或手动为卷创建分区表时,精简资源调配状态将更改为“是”,取消映射将“更改为受支持”。[root@ESXi:/] esxcli storage core device list -d naa.6000144000000010b021768279d4285d
Is VVOL PE: false
Is Offline: false
Is Perennially Reserved: false
Queue Full Sample Size: 0
Queue Full Threshold: 0
Thin Provisioning Status: yes[root@ESXi:/] esxcli storage core device vaai status get -d naa.6000144000000010b021768279d4285d
naa.6000144000000010b021768279d4285d
VAAI Plugin Name:
ATS Status: supported
Clone Status: supported
Zero Status: supported
Delete Status: supported
8.执行上述步骤后,如果 ESXi 仍无法更新取消映射状态,请检查 VMware KBA 并从 ESXi 端进行调查。