Server Virtualization

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

Hyper-V - Persistent Reservations & Corrupt VHDs

Adventurer

Hyper-V - Persistent Reservations & Corrupt VHDs

How do Persistent Reservations work with Hyper-V on Nutanix?

  • I'm asking because with our other "Hyper-V with SMB Storage" clusters, you are not able to use Hyper-V manager on HOST1 to modify VHDs that belong to a VM running on HOST2, as you would expect - Error reads: "Access Denied". However, with Nutanix, we are able to do this and it leads to VHD corrouption upon next reboot of the VM
  • Here is the scenario:
    • Hosts: 5 node Nutanix cluster with Hyper-V (Dell XC hardware) 
    • VM1 is running on HOST1
    • Using  HOST2, launch Hyper-V manager (not Failover Cluster Manager). Edit Disk to resize a VHD of VM1. Resize successful (This fails in our non-Nutanix clusters)
    • Using HOST2, check the properties of VM1’s VHD and you will notice that the file size has changed
    • Using HOST1 (where the VM is running), check the properties of the VHD and you will notice that the file size HAS NOT changed
    • Reboot VM1, server will not boot – VHD is now corrupt

Is this a known issue/bug?

I understand that you should never use Hyper-V Manager to modify clustered VMs but the fact that you can (whereas our other clusters don't allow it) is conscerning. 

 

-E

5 REPLIES
Nutanix Employee

Re: Hyper-V - Persistent Reservations & Corrupt VHDs

Hello,

 

We are aware of this behavior and are developing a solution to be released soon.  While the Nutanix SMB share is not intended for external access we are implementing the required SMB locking mechanisms to ensure your scenario is not possible.  Please contact support if you need more details.

 

Thanks,

Mike

Adventurer

Re: Hyper-V - Persistent Reservations & Corrupt VHDs

Thank you - do you know if there is a bug number or KB article on this issue?

Highlighted
Nutanix Employee

Re: Hyper-V - Persistent Reservations & Corrupt VHDs

Yes, with support you can reference ENG-23074. 

 

Thanks,

Mike

Moderator Moderator
Moderator

Re: Hyper-V - Persistent Reservations & Corrupt VHDs

Quick update, we're getting close on this one. Literally have code getting committed today. Will have to go through the standard QA cycles, but its looking good thusfar.

Jon Kohler | Principal Architect, Nutanix | Nutanix NPX #003, VCDX #116 | @JonKohler
Please Kudos if useful!
Adventurer

Re: Hyper-V - Persistent Reservations & Corrupt VHDs

That's great news - thanks for the update!