ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved XenServer create DVD drive for VM

    IT Discussion
    dvd xenserver 6.5 delete cant mount iso cli vm virtual machine
    3
    8
    3.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by DustinB3403

      I can't for the life of me find the process I had used previously to do this. But I know there is a way.

      I need to add a DVD drive to a VM I've just imported so I can install the XS drivers, and for the life of me I can't find the CLI method of doing this.

      Anyone able to help me figure this out?

      1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403
        last edited by DustinB3403

        I found the process I had used previously. Here it is here. Summarized below.

        1. Make sure the VM in question is shutdown.
          From the console
        2. xe vm-shutdown uuid=<UUID of Your VM>
        3. xe vbd-list vm-uuid=<UUID of Your VM> params=uuid,type
        4. xe vbd-destroy uuid=<UUID of Your CD/DVD> Of critical importance do not select Disk, ensure you select the UUID of the cd
        5. Repeat step 4 as many times as you have CD's that are unusable.
        6. Reboot the VM and add the device again.

        0_1470657322596_XenCenterMain_2016-08-08_07-55-01.png

        1 Reply Last reply Reply Quote 2
        • DanpD
          Danp
          last edited by

          Have you looked under the VM's Storage tab in XC? Should be a link you can click to add a DVD.

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            There is a DVD listed, but it doesn't show up in the VM.

            So I have to remove the device via the console, and readd it.

            But I can't find the darn instructions.

            DanpD 1 Reply Last reply Reply Quote 0
            • DanpD
              Danp @DustinB3403
              last edited by

              @DustinB3403 Maybe this?

              http://support.citrix.com/article/CTX132411Show

              DustinB3403D 1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403 @Danp
                last edited by

                @Danp Nope that is actually to eject the media that is in the tray.

                DanpD 1 Reply Last reply Reply Quote 0
                • DanpD
                  Danp @DustinB3403
                  last edited by

                  @DustinB3403 said in XenServer create DVD drive for VM:

                  There is a DVD listed, but it doesn't show up in the VM.
                  So I have to remove the device via the console, and readd it.

                  @DustinB3403 said in XenServer create DVD drive for VM:

                  Nope that is actually to eject the media that is in the tray.

                  Well, I thought that you would use that command to removed the existing DVD drive, and then you could click the link to readd it. <shrug>

                  1 Reply Last reply Reply Quote 0
                  • BRRABillB
                    BRRABill
                    last edited by

                    I used to be able to access a USB drive, and have been having issues with that.

                    1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403
                      last edited by DustinB3403

                      I found the process I had used previously. Here it is here. Summarized below.

                      1. Make sure the VM in question is shutdown.
                        From the console
                      2. xe vm-shutdown uuid=<UUID of Your VM>
                      3. xe vbd-list vm-uuid=<UUID of Your VM> params=uuid,type
                      4. xe vbd-destroy uuid=<UUID of Your CD/DVD> Of critical importance do not select Disk, ensure you select the UUID of the cd
                      5. Repeat step 4 as many times as you have CD's that are unusable.
                      6. Reboot the VM and add the device again.

                      0_1470657322596_XenCenterMain_2016-08-08_07-55-01.png

                      1 Reply Last reply Reply Quote 2
                      • 1 / 1
                      • First post
                        Last post