Вопрос Attached disk not available in VM

  • 21 апреля 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?

Все ответы

  • 22 апреля 2012 г. 6:04
    Модератор
     
     
    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

  • 22 апреля 2012 г. 6: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?

  • 22 апреля 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?

  • 22 апреля 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

  • 22 апреля 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!?!



    • Изменено lensv 22 апреля 2012 г. 12:50
    • Изменено lensv 22 апреля 2012 г. 12:50
    •  
  • 22 апреля 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

  • 22 апреля 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 :(

  • 23 апреля 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.
  • 23 апреля 2012 г. 12:50
     
     
    have you restarted the vm? afaik changes affecting pass-through disks require a restart
  • 23 апреля 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?

  • 25 апреля 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?

  • 26 апреля 2012 г. 14:51
     
     

    No ideas here?

  • 26 апреля 2012 г. 15:39
     
     
    have you tried to attach this disk to another virtual machine to see whether it works properly.
  • 26 апреля 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?

  • 28 апреля 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!?!
  • 28 апреля 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.
  • 29 апреля 2012 г. 6:16
     
     
    Just watch above... This guest is running SBS 2011 Essentials.
  • 3 мая 2012 г. 5:42
     
     

    Anyone with an idea here?