VMware Datastore Becomes Inaccessible After LUN Resize in ONTAP System Manager Due to LUN Unmapping
Applies to
- ONTAP 9
- System Manager
- SAN (FCP/ISCSI)
Issue
- After resizing a LUN in NetApp ONTAP using System Manager GUI, a VMware datastore became inaccessible resulting in the VMware datastore showing 0 free space and being unavailable to the host.
AUDIT-MLOG-TXT.GZlog has a record of DELETE lun_maps api being executed in ASUP:
elrxx:http :: 10.126.xx.xx:49xx5 :: elroy:s2705036 :: DELETE /api/protocols/san/lun_maps/450d5e9f-7599-414a-aacd-297c93b0cd27/06b4ef60-47f5-11e6-b14f-00a098557371 : ["X-Dot-Client-App: SMv4"] :: Pending
elrxx:http :: 10.126.xx.xx:49xx5 :: elroy:s2705036 :: DELETE /api/protocols/san/lun_maps/450d5e9f-7599-414a-aacd-297c93b0cd27/06b4ef60-47f5-11e6-b14f-00a098557371 : ["X-Dot-Client-App: SMv4"] :: Success
- Lun unmap was verified in ASUP
LUN-MAPS.XMLlogs or from cli:
wknd-cm912::*> lun show -fields uuid
Vserver Path State Mapped Type Size uuid
--------- -------------------------------------------- ------------------------------------------------------
iscsi_svm /vol/iscsi_lun/iscsi_lun1 online unmapped windows 9GB 450d5e9f-7599-414a-aacd-297c93b0cd27
iscsi_svm /vol/iscsi_lun/iscsi_lun2 online mapped windows 9GB 450d5e9f-7xx9-4x4a-aacd-12312vcb2334
