Hyper V VM missing its one VHD

IceOgre007

Active Member
Joined
Jun 14, 2012
Messages
75
Reaction score
0
Hi Everyone,

Hope someone has run into this before:

I have a Hyper-V host that hosts 2 VM's one of the VM machines has a issue that when the power goes off or the host is shut down, it loses one of the VHD assigned to it.

You can see it is attached but it does not come up on Disk Management or anywhere within the OS.

reassigning the Controller location sometimes works if you reboot other times it is a continuous reboot till it displays.

Hope someone can help.
 
Gracefully shutdown or hard power off? Also if it's a standalone host, why are you running Hyper-V and not VMWare ESXi?
 
graceful shutdown on VM then host. hyper-v is used due to setup from previous administrator and current company policy. So not my choice but I have to work with what I got.
 
There is nothing wrong with Hyper-V, I used to use VMware and made the switch Hyper-V is way better.

What do the event logs on the server say?
 
The storage device in '' is loaded and the protocol version is negotiated to the most recent version.
Networking driver in is loaded and the protocol version is negotiated to the most recent version.

nothing worrying that is the strange part.
 
hmm that doesn't really indicate what is causing the problem, if Hyper-V is removing the device there must be a something in the log files.

I would suggest you go to Event Viewer > Windows Logs > Application and Services Logs > Microsoft > Hyper-V

There should be multiple folders for Hyper-V I suggest you review all of them carefully to find the cause.
 
on the hyper-v settings for the VM the VHD does show as attached but the OS cannot see it. I am looking into the Event Viewer log files now.
 
There is nothing wrong with Hyper-V, I used to use VMware and made the switch Hyper-V is way better.
SCVMM is more than enough reason to not touch it with a barge pole. Say what you want, but even the industry agress that VMWare are still leagues ahead for M$.
 
SCVMM is more than enough reason to not touch it with a barge pole. Say what you want, but even the industry agress that VMWare are still leagues ahead for M$.

By industry you mean everyone who uses VMware, I have a MCSE private cloud and there is nothing wrong with SCVMM either.

Besides why are you comparing system center components to VMware?
 
Last edited:
on the hyper-v settings for the VM the VHD does show as attached but the OS cannot see it. I am looking into the Event Viewer log files now.

Do you mean the guest OS?

It almost sounds like you haven't formatted the disk in Disk Management and assigned a drive letter.
 
the drive is a VHD right.. file-space on the HOST. In Hyper-V you right click the VM and go settings, under SCSI Controller the 2 drives are connected to the VM. C drive ALWAYS works, other drive goes missing sometimes even when the Hyper-V VM settings show attached and in use.
 
the drive is a VHD right.. file-space on the HOST. In Hyper-V you right click the VM and go settings, under SCSI Controller the 2 drives are connected to the VM. C drive ALWAYS works, other drive goes missing sometimes even when the Hyper-V VM settings show attached and in use.

How does it go missing?
Can you still see it under Disk Management or Device Manager?
 
no you cannot see it under any of those views, best part if you reboot a few times it comes back.....
 
Wow that's really weird... I cant say I have ever seen an issue like that.

The only possible way I could think of this happening is if the drive of the VM host was being dismounted while still keeping the reference to the vhd in the VM Guest settings or if you have the VHD attached to multiple VM's which is formatted as NTFS and not a clustered shared volume...
 
Top
Sign up to the MyBroadband newsletter
X