VMware Cloud Community
optechy
Contributor
Contributor

(ESXi 6.5) Cloning a .vmdk to NFS share works with NFS v3 only, using NFS v4 leads to random errors

Hi all,

I hope somebody could bring some light on this Smiley Wink - I posted here to help others that may end up in the same situation:

ESXi 6.5

     --> Datastore1: iSCSI Qnap (main VM datastore)

     --> Datastore2: NFS share Qnap (TS-420U v. 4.3.3) for backup only

I have a snapshot of a VM, let’s say “myvm.vmdk”, the file is not locked, the VM is running fine and all .flat, .vmx, etc files seem ok.

Now if the NFS is mounted using NFS v3 I can clone the .vmdk without issues:

vmkfstools -i myvm.vmdk /vmfs/volumes/NFS/test/test.vmkd --> OK

If I dismount and re-mount the same share using NFS v4 the same commands stops at 9% with error:

vmkfstools -i myvm.vmdk /vmfs/volumes/NFS/test/test.vmkd

Clone: 9% done.Failed to clone disk: The file specified is not a virtual disk (15).

NFS v4 is enabled in QNAP config. No multipath is used. All VM vmdks reside on the dedicated iSCSI SAN.

I looked for hours but I couldn't find a clear explanation for this behaviour. Am I missing something obvious?

0 Kudos
2 Replies
RAJ_RAJ
Expert
Expert

Hi ,

Try to clone to a think disk  .

RAJESH RADHAKRISHNAN VCA -DCV/WM/Cloud,VCP 5 - DCV/DT/CLOUD, ,VCP6-DCV, EMCISA,EMCSA,MCTS,MCPS,BCFA https://ae.linkedin.com/in/rajesh-radhakrishnan-76269335 Mark my post as "helpful" or "correct" if I've helped resolve or answered your query!
0 Kudos
RAJ_RAJ
Expert
Expert

In NFS 4.1 try with thin disk cloning

Refer - VMware Knowledge Base

RAJESH RADHAKRISHNAN VCA -DCV/WM/Cloud,VCP 5 - DCV/DT/CLOUD, ,VCP6-DCV, EMCISA,EMCSA,MCTS,MCPS,BCFA https://ae.linkedin.com/in/rajesh-radhakrishnan-76269335 Mark my post as "helpful" or "correct" if I've helped resolve or answered your query!
0 Kudos