We have implemented a VAAI NAS plugin with ‘Reserve Space’ primitive only.
Implementation consumes REST APIs mechanism.
Plugin is working fine to create eager zeroed thick provisioned disk on NFS data store using vmkfstools.
However, newly created vmdk file is overwritten by DISKLIB immediately after plugin done. Eventually, this overwrites plugin functionality and results in to high ESX resource consumption.
Below is the error, we are getting before disk overwriting starts:
OBJLIB-FILEBE : FileBEIoctl: ioctl operation IOCTLCMD_VMFS_XCOPY_TRANSFER_SIZE(3077) failed on ‘/vmfs/volumes/newdisk/Monday1-flat.vmdk’ : Inappropriate ioctl for device (1638402)
Are we missing something here?