Solved XenServer create DVD drive for VM
-
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?
-
I found the process I had used previously. Here it is here. Summarized below.
- Make sure the VM in question is shutdown.
From the console - xe vm-shutdown uuid=<UUID of Your VM>
- xe vbd-list vm-uuid=<UUID of Your VM> params=uuid,type
- xe vbd-destroy uuid=<UUID of Your CD/DVD> Of critical importance do not select Disk, ensure you select the UUID of the cd
- Repeat step 4 as many times as you have CD's that are unusable.
- Reboot the VM and add the device again.
- Make sure the VM in question is shutdown.
-
Have you looked under the VM's Storage tab in XC? Should be a link you can click to add a DVD.
-
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.
-
-
@Danp Nope that is actually to eject the media that is in the tray.
-
@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>
-
I used to be able to access a USB drive, and have been having issues with that.
-
I found the process I had used previously. Here it is here. Summarized below.
- Make sure the VM in question is shutdown.
From the console - xe vm-shutdown uuid=<UUID of Your VM>
- xe vbd-list vm-uuid=<UUID of Your VM> params=uuid,type
- xe vbd-destroy uuid=<UUID of Your CD/DVD> Of critical importance do not select Disk, ensure you select the UUID of the cd
- Repeat step 4 as many times as you have CD's that are unusable.
- Reboot the VM and add the device again.
- Make sure the VM in question is shutdown.