Hyper-V snapshots sometimes comes without mounted ISO


hello, all.

running automated tests microsoft test manager , scvmm virtual environments. started mount iso images file collections on vms (we used copy them vms network share, slow , caused timeouts , network share access problems).

iso images being mounted via wmi hyper-v provider. images located in host's local folders (c:\iso), network shares being synced "primary" share dfs.

problem is: (i'd in 1 case 100) virtual machine doesn't "see" mounted drive it's ejected. hyper-v manager shows correct "image file" in vm's settings. changing "none" , same image file fixes problem. 

bug in hyper-v? inserted additional check: after calling wmi run dir d:\ ensure image mounted. , it's there. , doesn't...

any suggestions other re-mount image every time it's needed :-) ?

hi sir,

>>the problem is: (i'd in 1 case 100) virtual machine doesn't "see" mounted drive it's ejected.

what os of hyper-v host ?

i want to make sure issue is  the dvd device disappeared from vm or iso file disappeared from dvd drive of vm .

i assume iso file disappeared dvd drive .

if host 2012/r2 , you may try replace wmi by powershell command :

set-vmdvddrive -vmname testvm -controllernumber 1 -controllerlocation 0 -path $null

best regards

elton ji


we trying better understand customer views on social support experience, participation in interview project appreciated if have time.
helping make community forums great place.



Windows Server  >  Hyper-V



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS