Windows Server TechCenter > Windows Server Forums > Hyper-V > can't add an scsi pass through disk on the fly and disk not visible
Ask a questionAsk a question
 

Answercan't add an scsi pass through disk on the fly and disk not visible

  • Saturday, November 07, 2009 1:48 PMWillgart1 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    I'm not able to use a pass through disk if its connected to the SCSI interface, but works on an IDE interface. Connected to the scsi interface, the disk is not listed in my VM! like I do not have any disk attached, but attaching a VHD disk works and I can see it in the VM.
    and I'm not able to add the pass through disk without stopping the VM first, while I can add a VHD disk without stopping the VM first (hot add disk works).

    The disk I'm using is an Iscsi disk connected to Hyper-V R2, the disk is offline (for sure, I'm able to use it connected the the VM IDE interface)
    The disk is NOT the boot/os disk, its my data disk (E: drive in the VM)

    any idea?

Answers

  • Tuesday, November 17, 2009 1:10 PMWillgart1 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,

    I can attach a newly created LUN from my iscsi device into the VM correctly. The new disk appear, I can attach it to the scsi device without stopping the VM first!
    cool.

    but the disk is not listed in the VM!!!
    I click "rescan disks" but the disk still not listed
    I click "scan for hardware changes", same result, no new disk anywhere.

    So the scsi device in my VM doesn't works correctly. Also I have uninstalled it and reinstalled the controller without any change too.

All Replies

  • Monday, November 09, 2009 7:27 AMVincent HuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

     

    According to the description, it seems that you are using Windows Server 2008 R2 as Hyper-V host machine and guest virtual machine. If I misunderstand your concern, please feel free to let me know.

     

    In order to isolate the issue, please help me to collect the following information:

     

    1.    You mentioned “the disk is not listed in my VM!”

     

    >> Could you please provide me the exactly symptom?

    Could you find it in Device Manager?

    Could you find it in Disk Management?

     

    2.    You mentioned “I'm not able to add the pass through disk without stopping the VM first”

     

    >> Did you mean you can’t add the pass-through disk to the SCSI controller while the VM was running?

    Did you receive any errors?

    Can you find the disk in the drop down list when you tried to add the pass-through?

    Have you tried to add the pass-through disk after you shutdown the VM? Did it work?

     

    By the way, please add this pass-through disk to other VMs such as Windows Server 2008 to check whether you can find disk inside the VM. If possible, please add a normal physical disk to the Hyper-V computer and then check whether you can add this physical disk to the VM.

     

    In addition, you can install a iSCSI target software on your computer and then create a iSCSI target for your Hyper-V machine, then perform a test based on this iSCSI target to check whether it works, then we can exclude the influence of your iSCSI device.

     

    Best Regards,

    Vincent Hu

     

  • Wednesday, November 11, 2009 3:33 AMVincent HuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    ·         Hi,

     

    Have you tried the suggestion? I want to see if the information provided was helpful. Your feedback is very useful for the further research. Please feel free to let me know if you have addition questions.

     

     

    Best regards,

    Vincent Hu

  • Wednesday, November 11, 2009 4:18 AMWillgart1 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I do not see the disk in the disk management & in the device manager when connected to the scsi controller.

    I do not receive any error when I try to add a pass through disk on the fly, the option is greyed and not accessible. but doing the same action using a VHD file works perfectly. so no error message.
    After a shutdown of the VM, I'm able to add the disk to the scsi controller, but then I going in point 1: disk not listed anywhere!

    The disks I try to attach are accessible directly from the VM using an iscsi connection. (it was setup like this at the begining, but the performance is better if I' using a passthrough disk)

    I'm using SCVMM R2
    my server is Hyper-V R2
    and the VM is Windows 2008 x64 R2

    I'll try to create a new blank disk on my iscsi device and attach this fresh disk to see if there is any success like this. The disks I'm using now were used directly  from my VM through a direct iscsi connection, so maby there is something wrong on these disks. (but I have removed the partitions and recreated them + format and there is no more success)
  • Thursday, November 12, 2009 7:23 AMVincent HuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

     

    How is your status? Have you tried to create a new blank disk on your iSCSI device?

     

    By the way, please help me to collect the following information:

     

    1.    You mentioned that “the option is greyed and not accessible”. Can you describe this in details? See the following screen shot, did you mean when you tried to add pass-through disk, the physical hard disk option is gray out?


     

    2.    You mentioned “but then I going in point 1: disk not listed anywhere”. I am a bit confused here. You many take a screen shot.

     

    By the way, did you only encountered this issue with one VM or all the Windows Server 2008 R2 VMs?

     

     

    Best Regards,

    Vincent Hu

     

  • Tuesday, November 17, 2009 8:39 AMVincent HuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    ·         Hi,

     

    Have you tried the suggestion? I want to see if the information provided was helpful. Your feedback is very useful for the further research. Please feel free to let me know if you have addition questions.

     

     

    Best regards,

    Vincent Hu

  • Tuesday, November 17, 2009 1:10 PMWillgart1 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,

    I can attach a newly created LUN from my iscsi device into the VM correctly. The new disk appear, I can attach it to the scsi device without stopping the VM first!
    cool.

    but the disk is not listed in the VM!!!
    I click "rescan disks" but the disk still not listed
    I click "scan for hardware changes", same result, no new disk anywhere.

    So the scsi device in my VM doesn't works correctly. Also I have uninstalled it and reinstalled the controller without any change too.
  • Wednesday, November 18, 2009 9:27 AMVincent HuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

     

    First, glad to hear that you can add the pass-through disk properly. By the way, I recommend that you create a new virtual machine to check whether you have the same issue. You can also add a physical hard disk to your computer instead of using the iSCSI device, so we can isolate the influence of the iSCSI device.

     

    By the way, please check if there are any errros in Event Viewer.
     

    Best Regards,

    Vincent Hu

     

  • Friday, November 20, 2009 7:32 AMVincent HuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    ·         Hi,

     

    Have you tried the suggestion? I want to see if the information provided was helpful. Your feedback is very useful for the further research. Please feel free to let me know if you have addition questions.

     

     

    Best regards,

    Vincent Hu