Link to home
Start Free TrialLog in
Avatar of NAZ1000
NAZ1000Flag for United Kingdom of Great Britain and Northern Ireland

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 ?
ASKER CERTIFIED SOLUTION
Avatar of Kenza Cohen
Kenza Cohen
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NAZ1000

ASKER

Thank you for the quick response. If i run that on the different VMs I get different responses - All are using Controller Number 0 only, apart from the VM in question which has a listing under controller 1 - but nothing to the right of it.

VMName    ControllerType ControllerNumber ControllerLocation DiskNumber Path
------    -------------- ---------------- ------------------ ---------- ----
VMNAME SCSI           0                0                             E:\XXXXX
VMNAME SCSI           1                0
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

Open in new window

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
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.
Avatar of NAZ1000

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!