Dell EMC Unity: Jak rozwiązać problem "Delete Status: unsupported" dla woluminu Unity przydzielonego VPlex (możliwość naprawienia przez użytkownika)
Summary: Dell EMC Unity: Jak rozwiązać problem "Delete Status: unsupported" dla woluminu Unity przydzielonego VPlex (możliwość naprawienia przez użytkownika)
Symptoms
Dotyczy to problemu z wtyczką VAAI UNMAP, stan usunięcia jest wyświetlany jako nieobsługiwany:
[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
LUB
Jeśli VPlex jest uruchomiony w wersji, która obsługuje funkcję UNMAP dla Unity, przyczyną jest to, że jednostki LUN są przydzielane grubo lub jednostki LUN są przydzielane elastycznie w Unity, ale funkcja elastycznej obsługi w woluminie wirtualnym VPlex jest wyłączona.
Resolution
Jeśli VPlex nie jest uruchomiony w wersji, która obsługuje funkcję UNMAP dla Unity. Klient powinien uaktualnić VPlex do wersji 6.0 SP 1, która obsługuje funkcję Thin UNMAP.
W przeciwnym razie,Sprawdza VPlex :
1. Sprawdź,
czy wolumin pamięci masowej przydzielony do VPlex obsługuje technologię Thin:
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. Sprawdź, czy funkcja włączania funkcji elastycznej w woluminie wirtualnym VPlex jest włączona: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. Włącz funkcję elastyczną na woluminie wirtualnym, jeśli jest wyłączona:VPlexcli:/clusters/cluster-1/virtual-volumes/testvolume_vol>set thin-enabled 1
Sprawdzanie ESXi:
4. Skanowanie pamięci masowej na serwerze ESXi. Można to zrobić zarówno za pomocą wiersza poleceń, jak i VCenter.[root@ESXi:/] esxcli storage core adapter rescan --all
Rozdział 5. Uruchom polecenie ścieżki rdzenia pamięci masowej dla woluminu wirtualnego VPlex Naa 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. Przed utworzeniem partycji lub magazynu danych na woluminie ESXi nie może uzyskać stanu Thin Provisioning dla tego woluminu, dlatego nadal zgłasza, że funkcja nie jest obsługiwana:
[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. Utwórz magazyn danych na woluminie lub ręcznie utwórz tabelę partycji dla woluminu. Stan przydzielania elastycznego zmieni się na Tak, a odmapowanie zmieni się na "Supported".[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
Rozdział 8. Po wykonaniu powyższych kroków, jeśli ESXi nadal nie może zaktualizować stanu unmapowania, sprawdź dostępność bazy wiedzy VMware i zbadaj to po stronie ESXi.
Additional Information
https://support.emc.com/docu81003_VPLEX-GeoSynchrony-6.0-Service-Pack-1-and-Patches--Release-Notes.pdf?language=en_US