Attached disk not available in VM

Domanda Attached disk not available in VM

  • sabato 21 aprile 2012 21:11
     
     

    For a long time I have had a physical USB-disk attached in a virtual machine for backup purposes. After attaching another drive to the host this specific disk got another number (3 instead of 2). I can't see that this should not make a difference, since I can choose the correct device in Hyper-V Manager, but when I log in to the VM the disk is not there. How can this be?

Tutte le risposte

  • domenica 22 aprile 2012 06:04
    Moderatore
     
     
    Hi,

    According to the description, it seems that you attach the USB disk to the virtual machine as pass-through disk. If so, please proceed the Disk Management within the virtual machine to see whether you can see the disk.



    Vincent Hu

    TechNet Community Support

  • domenica 22 aprile 2012 06:35
     
     

    It is a pass-throught disk, correct. Of course I have looked in Disk Management within the VM, but it is nowhere to be found. What can have happened?

  • domenica 22 aprile 2012 11:08
     
     

    Update! The disk does seem to show up in Device Manager as "Other devices" (WDC WD30 EZRX-00MMMB0 SCSI Disk Device), but it is not available in the Disk Manager. Any ideas?

  • domenica 22 aprile 2012 11:52
     
     

    Update! The disk does seem to show up in Device Manager as "Other devices" (WDC WD30 EZRX-00MMMB0 SCSI Disk Device), but it is not available in the Disk Manager. Any ideas?

    Use iSCSI target software running in a parent partition and mapping your USB disk as an iSCSI target. Use built-in initiator inside VM to connect to this disk. In such a configuration you'll have zero issues with USB disk getting other ID or VM moved to another physical host.

    -nismo

  • domenica 22 aprile 2012 12:44
     
     

    Maybe so, but why doesn't current configuration work (the device isn't even recognized as a disk)? There have been no issues until now!?!



    • Modificato lensv domenica 22 aprile 2012 12:50
    • Modificato lensv domenica 22 aprile 2012 12:50
    •  
  • domenica 22 aprile 2012 18:29
     
     

    Maybe so, but why doesn't current configuration work (the device isn't even recognized as a disk)? There have been no issues until now!?!



    I guess device GUID names changed for some reason... With no virtualization you can re-plug device, but USB devices controlled by VM-bus need to have propogated names thru whole stack. 

    -nismo

  • domenica 22 aprile 2012 19:38
     
     

    that can't be right. I just tried to attach a new HD (which has never been close to this machine) and that is treated exactly the same way as the first one :(

  • lunedì 23 aprile 2012 12:37
     
     
    Have you tried using diskpart? If you type into the diskpart shell: rescan, and see if the disk appears within Disk Manager.
  • lunedì 23 aprile 2012 12:50
     
     
    have you restarted the vm? afaik changes affecting pass-through disks require a restart
  • lunedì 23 aprile 2012 14:30
     
     

    Diskpart/rescan makes no difference.

    VM (and host) is restarded several times, same result :(

    There must be an easy explaination to this behaviour... Question is What?

  • mercoledì 25 aprile 2012 18:09
     
     

    Now I have tried to mount a VHD instead of a physical drive and that works fine. This is not a solution though, but it may limit the error causes...

    Does somebody know what I can do to make this work again?

  • giovedì 26 aprile 2012 14:51
     
     

    No ideas here?

  • giovedì 26 aprile 2012 15:39
     
     
    have you tried to attach this disk to another virtual machine to see whether it works properly.
  • giovedì 26 aprile 2012 19:16
     
     

    No, there are no more guests on this host to try it on (I don't believe that I'm allowed to set up another one either). I'm quite sure though that the problem is related to this specifc VM, since other phyisical disks shows exactly the same bevaviour.

    This guest is running SBS 2011 Essentials, could it be an issue for some reason?

  • sabato 28 aprile 2012 15:51
     
     
    I might have been wrong with my assumtion that the problem is related to this specific VM. When making the disk an IDE device it actually seems to work, but when it's attached to the SCSI controller i fails... This is strange, because this is how it was (successfully) configured from the start!?!
  • sabato 28 aprile 2012 16:04
     
     
    what's the version of the operating system within the virtual machine? Windows XP doesn't support SCSI in Hyper-V virtual machine.
  • domenica 29 aprile 2012 06:16
     
     
    Just watch above... This guest is running SBS 2011 Essentials.
  • giovedì 3 maggio 2012 05:42
     
     

    Anyone with an idea here?