Unable to perform storage vMotion, disk consolidation, and deletion of snapshots on running VMs on Netapp NFSv3 Storage
search cancel

Unable to perform storage vMotion, disk consolidation, and deletion of snapshots on running VMs on Netapp NFSv3 Storage

book

Article ID: 323024

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • Unable to perform storage vMotion, disk consolidation, deletion of snapshots
  • When attempting to consolidate, task fails with error: "Failed to get extent size: Unknown error"
  • During snapshot consolidation, you may see the following log messages:
vmware.log:
 
[YYYY-MM-DDTHH:MM:SS] Er(02) vmx lniqbyyf-19001-auto-enu-h5:7000####-1-f7-#### DISKLIB-LINK  : DiskLinkGetSize: Failed to get extent size: Unknown error
[YYYY-MM-DDTHH:MM:SS] Er(02) vmx lniqbyyf-19001-auto-enu-h5:7000####-1-f7-#### ConsolidateFillSnapDiskTransferArray: Failed to fetch disk size of '/vmfs/volumes/########-########/<VM Name>/<VM Name>-000001.vmdk' for consolidate: Unknown error (5)
[YYYY-MM-DDTHH:MM:SS] In(05) vmx lniqbyyf-19001-auto-enu-h5:7000####-1-f7-#### ConsolidateStart: Failure while populating the snapDataPerCombineOperation array: 'Unknown error' (5)
[YYYY-MM-DDTHH:MM:SS] In(05) vmx lniqbyyf-19001-auto-enu-h5:7000####-1-f7-#### ConsolidateEnd: Snapshot consolidate complete: Unknown error (5)

syslog.log:

[YYYY-MM-DDTHH:MM:SS] Er(11) vaainasd[209####]: DISKLIB-PLUGIN :: Skip marking NULL mapping entries as stale, diff of last stale check time: 462 sec is less than expectedcycle.
[YYYY-MM-DDTHH:MM:SS] Er(11) vaainasd[209####]: DISKLIB-PLUGIN : :[vendor_nas_plugin : /vmfs/volumes/########-########] : Extended stats failed:[/vmfs/volumes/########-########/<VM Name>/<VM Name>_2-flat.vmdk], Error: Unknown error.
[YYYY-MM-DDTHH:MM:SS] Er(11) vaainasd[209####]: DISKLIB-PLUGIN :: Skip priting per plugin stat summary, time gap between last print cycle and current is less than :3600 sec.
[YYYY-MM-DDTHH:MM:SS] Er(11) vaainasd[209####]: DISKLIB-PLUGIN :: Skip marking NULL mapping entries as stale, diff of last stale check time: 462 sec is less than expectedcycle
.
.
.
[YYYY-MM-DDTHH:MM:SS] In(14) vaainasd[209####]: DISKLIB-PLUGIN :: VAAI-NAS:: vendor_nas_plugin: SUCCESSES: RsrvSpace [0] Cln-Full [0]Cln-Lazy [0] cln-DRun [0], Ext-stats [0].
[YYYY-MM-DDTHH:MM:SS] In(14) vaainasd[209####]: DISKLIB-PLUGIN :: VAAI-NAS:: vendor_nas_plugin: FAILURES: RsrvSpace [0] Cln-Full [0]Cln-Lazy [0] cln-DRun [0], Ext-stats [9783]

Environment

  • VMware vCenter Server 8.x
  • VMware vSphere ESXi 8.x

Cause

The error comes from the 3rd party NetApp VAAI-NAS plugin.

Resolution

The NetApp VAAI plugin requires both NFS3 and NFS4 protocols to be enabled on the NetApp side. Please refer to the following NetApp KB for further information.

[NetApp KB] Configuring export policies for ONTAP to allow VAAI over NFS