Solved

Problem exporting files from Nutanix NFS

  • 27 March 2018
  • 6 replies
  • 2721 views

Badge
I'm trying to move our vms from one cluster to another but the built in remote site don't work so now I'm trying to manually move the vmdisk files to the other cluster but the NFS connection stops working after a while.

I have tried to mount the NFS share in a ESXi server but the transfer errors out after a while.

Now I'm trying to use qemu-img to convert the vmdisk and move it, but it fails with :

qemu-img convert nfs://127.0.0.1/default-container-49239103706845/.acropolis/vmdisk/81cd6231-e421-441c-850c-9124adf565d0 -O qcow2 ./dns-export.qcow2 &

NFS Error: NFS: Read failed with NFS3ERR_JUKEBOX(-11)
qemu-img: error while reading sector 4202495: Resource temporarily unavailable

Is there any logs that will tell me what is happening with the NFS connection?
icon

Best answer by Wjconrad 29 March 2018, 17:15

View original

This topic has been closed for comments

6 replies

Userlevel 1
Badge +2
I'm not sure that NFS is the best way to move stuff across a WAN like this. You might be better off pulling the disk files out and putting it into an FTP or something more tolerant of TCP retransmit and latency issues.

What do you mean by the default remote site didn't work?
Badge
Ok, how do you access the disk files locally? I have only managed to access them via the NFS.

I'm getting "Remote Datastores are either not configured or not accessible." on one side of the remote site when I'm configuring it. The other site I can successfully configure.
Userlevel 1
Badge +2
NFS whitelist and mount the datastores on a VM locally to pull those disks out.
Windows can mount a Nutanix whitelisted datastore if you install the NFS client feature.

I'd open a support case for the remote site issue. And check for firewall / network configuration issues. If you can get these two sites on an Async DR protection domain, it's easy to cold migrate VMs between the sites.
Userlevel 7
Badge +34
Hi @nicke94

Were you able to use @Wjconrad instructions and get things working? If yes, consider clicking the 'like' and 'best answer' link on the reply - that will help others find answers to similar questions much quicker, Thanks 👍
Badge +1

I'm not sure that NFS is the best way to move stuff across a WAN like this. You might be better off pulling the disk files out and putting it into an FTP or something more tolerant of TCP retransmit and latency issues.

What do you mean by the default remote site didn't work?

 

Badge +1

How do you pull the disk files out for a VM on Nutanix running AHV?