[one-users] Unable to attach raw disk to vm

Marco Lanzotti - AD Glamor marco.lanzotti at adglamor.com
Thu Jan 23 06:13:16 PST 2014


On 23/01/2014 12:34, Javier Fontan wrote:
> --8<------
> Wed Jan 22 16:59:22 2014 [VMM][D]: Message received: LOG I 27 Command
> execution fail: /var/tmp/one/vmm/kvm/attach_disk 'one-27'
> '/var/lib/one//datastores/0/27/disk.3' 'hdd' '3' 'PFZ[...]Pg==' 27 metal10
> ------>8--
>
> The device you're trying to attach is 'hdd'. That's an IDE disk in my book.
>
> virtio starts with 'vd' and scsi with 'sd'.

If I change prefix to 'sd' I have the same error:


Thu Jan 23 14:10:09 2014 [VMM][D]: Message received: LOG I 27
Successfully execute transfer manager driver operation: tm_attach.

Thu Jan 23 14:10:10 2014 [VMM][D]: Message received: LOG I 27 Command
execution fail: /var/tmp/one/vmm/kvm/attach_disk 'one-27'
'/var/lib/one//datastores/0/27/disk.3' 'sda' '0' 'PFZ[...]EE+' 27 metal10

Thu Jan 23 14:10:10 2014 [VMM][D]: Message received: LOG E 27
attach_disk: Command "virsh --connect qemu:///system attach-device
one-27 /var/lib/one//datastores/0/27/disk.3.attach" failed: error:
Failed to attach device from /var/lib/one//datastores/0/27/disk.3.attach

Thu Jan 23 14:10:10 2014 [VMM][D]: Message received: LOG I 27 error:
Unable to allow access for disk path
/var/lib/one//datastores/0/27/disk.3: No such file or directory

Thu Jan 23 14:10:10 2014 [VMM][D]: Message received: LOG E 27 Could not
attach /var/lib/one//datastores/0/27/disk.3 (sda) to one-27

Thu Jan 23 14:10:10 2014 [VMM][D]: Message received: LOG I 27 ExitCode: 1

Thu Jan 23 14:10:10 2014 [VMM][D]: Message received: LOG I 27 Failed to
execute virtualization driver operation: attach_disk.

Thu Jan 23 14:10:10 2014 [VMM][D]: Message received: ATTACHDISK FAILURE
27 Could not attach /var/lib/one//datastores/0/27/disk.3 (sda) to one-27


Thank you,
Marco



More information about the Users mailing list