VMware Cloud Community
jaygriffin
Enthusiast
Enthusiast

Unable to migrate ... device not accessible

I have three ESX 3.0 servers with identical hardware. When I try to use Vmotion to migrate a VM from one server to another I get an erorr:

Unable to migrate from besx2.burke.com to besx3.burke.com: Currently connected device 'CD/DVD Drive 1' users backing '/dev/cdrom', which is not accessible.

If I edit the VM and click off the Connected box for the CD ROM, it will migrate fine.

Can I fix this so it migrates without have to remove the connected?

0 Kudos
2 Replies
Jae_Ellers
Virtuoso
Virtuoso

Sure. Use a central datastore for .isos and stop using physical media. If all systems can access the datastore thru the same path they should all work fine.

It's still best practice to disconnect cdroms not in use. If you pull a cd or .iso from a vm without disconnecting it, it will log to the vmware.log every second until it fills your file systems or you notice it.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=- http://blog.mr-vm.com http://www.vmprofessional.com -=-=-=-=-=-=-=-=-=-=-=-=-=-=-
0 Kudos
bretti
Expert
Expert

That is expected behavior.

When trying to Vmotion, there are several checks that take place. One is to verify that the datastores are available on the host you are sending the VM to. Every disk on a VM has a datastore associated with it, including floppy drives, cd-rom's, and hard disks. If the datastore is not available on the target, the vmotion will not proceed. By disconnecting the cd-rom that datastore is no longer required to be available on the target host.

You can setup a shared datastore using NFS to help avoid this issue, but it is a best practice to disconnect your CD-ROM's when done using them.