VMware {code} Community
alyndem
Contributor
Contributor

Lazy Native File Clone API failing for sample NVDK plugin

I am trying to run the sample plugin as part of the NAS VAAI NVDK package.

While trying to run the following command: (for Lazy Native File Clone)

vmkfstools -v 20 –I <file1.vmdk> <clone1.vmdk>

where <file1.vmdk> is on an NFS data store

it gave the errors:

ExampleNasPlugin: session request for 15.213.25.237 /mnt /vmfs/volumes/6e1a78d7-110ad64d NFS 1

ExampleNasPlugin: ExampleNas_ClntCreate: socket info IP 15.213.25.237, family 2, socktype 1, protocol 6, port 2049, ifIndex 0

ExampleNasPlugin: ExampleNas_ClntCreate: socket info IP 15.213.25.237, family 2, socktype 1, protocol 6, port 53358, ifIndex 0

ExampleNasPlugin: could not mount /mnt on host 15.213.25.237; status: (RPC=0 NFS=13).

I am using ESXi 6.0 and I believe ESXi 6.0 mounts NFS datastores only with NFS v3. The sample plugin provided in the NVDK, however only operates with NFS v2.

The place it is failing is in:

ExampleNas_StartSession()

ret = mountproc_mnt_1(&remoteMP, &mfhstatus, mount_clnt);  << this is where it fails

Is it a problem with NFS version, or some other permission problem?

The NVDK document says that:

“The sample NAS plug-in works with both NFSv2 and NFSv3.” but it seems to have been coded only for NFS v2, while ESXi 6.0 doesn’t allow an NFS v2 mount. Is the problem above related to this?

0 Kudos
0 Replies