[one-users] Detach problem in VMware ESX
Tino Vazquez
cvazquez at c12g.com
Tue Nov 26 07:20:51 PST 2013
Hi,
I've created a new thread for this problem.
> after i attach new disk to a vm, but i could not detach the attached disk
> this is the error log
> Tue Nov 26 14:34:48 2013 [LCM][I]: New VM state is UNKNOWN
> Tue Nov 26 14:35:29 2013 [VMM][I]: VM found again, state is RUNNING
> Tue Nov 26 15:42:05 2013 [VMM][I]: Command execution fail:
> /var/lib/one/remotes/vmm/vmware/detach_disk 'one-348'
> '/vmfs/volumes/151/348/disk.2' 'hdc' '2' 348 10.24.101.72
> Tue Nov 26 15:42:05 2013 [VMM][E]: : Command " vim-cmd
> vmsvc/device.diskremove 44 0 2 /vmfs/volumes/151/348/disk.2" failed: Failed
> to find a controller with the specified bus number.
> Tue Nov 26 15:42:05 2013 [VMM][E]: Could not detach from one-348
> Tue Nov 26 15:42:05 2013 [VMM][I]: ExitCode: 255
> Tue Nov 26 15:42:05 2013 [VMM][I]: Failed to execute virtualization driver
> operation: detach_disk.
> Tue Nov 26 15:42:05 2013 [VMM][E]: Error detaching VM Disk: Could not detach
> from one-348
>
Attaching/Detaching using a IDE controller is not supported in VMware
ESX.This is documented in the new development documentation, platform
notes for VMware ESX [1]:
----8<--------------------
to accomplish disk hotplugging and nic hotplugging (ignore the first
bullet for the latter)
disks need to be attached through SCSI, so their images should have a
DEV_PREFIX=“sd”
VM template that will permit SCSI disk attaches afterwards needs to
have an explicitly defined SCSI controller:
RAW=[TYPE = "vmware",
DATA = "<devices><controller type='scsi' index='0'
model='lsilogic'/></devices>"]
to use SCSI disk based VMs, it is usually a good idea to explicitly
declare the PCI bridges. This can be accomplished with the following
added to the VM template:
FEATURES=[PCIBRIDGE="1"]
to accomplish hot migration (through vMotion)
---------->8-----------------------
Regards,
-Tino
[1] http://opennebula.org/documentation:rel4.4:uspng#esx_5x_as_vmware_node
More information about the Users
mailing list