NAZ1000
asked on
FInding location of the physical disk being used by a HyperVM
Have a HyperV 2016 Host running 5 Server 2012 VMs - recently installed. I thought Id take some checkpoints - all worked apart from one which states Cannot take checkpoints because one or more pass through disks are attached.
Which I see means that VM is attached to a physical disk . I can see articles on how to convert physical disk to VHDX but how can I find where this physical disk is ? All the VMs are located on seperate physical drives as VHDX ? I cant see how this one is any different ?
Which I see means that VM is attached to a physical disk . I can see articles on how to convert physical disk to VHDX but how can I find where this physical disk is ? All the VMs are located on seperate physical drives as VHDX ? I cant see how this one is any different ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To connect a physical disk, it needs to be marked offline at the host, so that will be another easy way to locate it. Either open disk management at the host (unless it's a core server, then you will need to open disk management in RSAT), or use the diskpart commands
diskpart
list disk
there you see which disk is marked as offline.
When pass through disks are used, you can go to VM properties and there you should find it as attached physical disk
same time you can navigate to hyper-v host disk management and there you should see reserved / offline disk which is nothing but pass through disk
U should not make it online or modify it anyway
same time you can navigate to hyper-v host disk management and there you should see reserved / offline disk which is nothing but pass through disk
U should not make it online or modify it anyway
I believe it may be E:\ from the look of it.
If you right click the VM, go to settings then look for harddrive it should tell you what drive.
I would use Paragon Virtualization manager for p2v personally.
If you right click the VM, go to settings then look for harddrive it should tell you what drive.
I would use Paragon Virtualization manager for p2v personally.
ASKER
Brilliant powershell command made me see the VM in question was an additional controller to the others - checking in settings i saw that it was connect to a blank physical VM so changed to virtual
Perfect,
If your issue is closed feel free to mark the relavent solution :)
Glad to be of help!
If your issue is closed feel free to mark the relavent solution :)
Glad to be of help!
ASKER
VMName ControllerType ControllerNumber ControllerLocation DiskNumber Path
------ -------------- ---------------- ------------------ ---------- ----
VMNAME SCSI 0 0 E:\XXXXX
VMNAME SCSI 1 0