Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!
In trying to export/convert a ahv disk to qcow I am seeing an error denying access to the mount point
Command and output
nutanix@NTNX-1234-3-CVM:10.10.100.103~$ qemu-img convert -c nfs://10.10.100.100/C01/.acropolis/vmdisk/ebcd8aea-ecaa-4562-8488-db923b8cc787 –O qcow2 nfs://10.10.100.100/C01/tst.qcow2
Failed to open file : open call failed with "NFS: ACCESS denied. Required access r--. Allowed access ---"
How do I verify and change the access ????
Go to Solution.
It could be the case if you check the FileSystem Whitelist and/or run the command as root by append the "sudo" before the command you excute
Is that vDisk attached to a powered on VM? Make sure the VM is off, or this is pointing at a snapshot, so there aren't active changes happening on that disk.
Past that, I've always done this like this:
qemu-img convert -c nfs://127.0.0.1/<ctr>/.acropolis/vmdisk/<uuid> -O qcow2 image.qcow2
Note using 127.0.0.1 instead of the frontend IP, doubt thats the crux of the issue, but worth trying anyways.
As I suspected the Whitelist blocks the access hence the error.
I had confirmed the path and disk were not the issue.
I will request that the local Nutanix cluster systems are added as they are all blocked.
I am getting the following error while executing the command
nutanix@NTNX-XXXXXXXX-C-CVM:IP_address:/$ sudo qemu-img convert -O vmdk nfs://127.0.0.1/vms/.acropolis/vmdisk/b9343cbc-c481-4d4b-aad3-34b27d519dd2 nfs://127.0.0.1/iso/test-1.vmdksudo: qemu-img: command not foundnutanix@NTNX-XXXXXXXX-C-CVM:IP_address:/$
Also the Filesystem whitelist is there.
© Nutanix 2017