Can I add a Block Based LUN to multiple Hyper-V Hosts?

Anthony Tropiano 6 Reputation points

The topic asks the question.
I am asking because I have a weird problem, one of my hosts completely lost access to the LUN. When I went to Disk Management I saw the LUN as RAW. I took it offline and formatted it.
Now, the host that lost the LUN see a brand new partition which is empty and the old host which never lost the LUN still sees everything, even though I formatted it on the other Hyper-V Host

PS: My setup is very simple. 2 Servers, both have Hyper-V installed, I have 1 NAS that I would just like both servers to see and be in sync. So if in the event one server dies I can simply turn on the VMs on the second server.

Can anyone help me understand what I'm missing

A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,566 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Alex Bykovskyi 1,831 Reputation points


    In order to have simultaneous access to the block device you need to have Cluster Shared Volume on top. You need to build a Failover Cluster as a result you can format your block device as NTFS (or ReFS) and then bring it as CSV to the cluster. Otherwise your data will be corrupted, if you try writing to the LUN from both nodes simultaneously. The following guide will walk you through the configuration:


    Alex Bykovskyi

    StarWind Software

    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose

    1 person found this answer helpful.
    0 comments No comments

  2. Anthony Tropiano 6 Reputation points

    Anyone have any ideas?

    0 comments No comments

  3. Devaraj G 2,091 Reputation points

    Genrally LUN goes RAW when there is some corruption in disk blocks. have you tried chkdsk before formatting ?

    Also its a CSV and running failover cluster?

    0 comments No comments