<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi there,<br><br>I'm trying to get Attach and Detach operations to work for disks.<br>I can  make it work for the first attach and detach, but if I try to reattach a new disk I get the following errors:<br><br>  Thu Jan  2 11:52:04 2014 [VMM][D]: Message received: LOG E 260 attach_disk: Command "virsh --connect qemu:///system attach-device one-260 /var/lib/one/datastores/0/260/disk.2.attach" failed: error: Failed to attach device from /var/lib/one/datastores/0/260/disk.2.attach<br>  Thu Jan  2 11:52:04 2014 [VMM][D]: Message received: LOG I 260 error: internal error unable to execute QEMU command '__com.redhat_drive_add': Duplicate ID 'drive-virtio-disk1' for drive<br>  Thu Jan  2 11:52:04 2014 [VMM][D]: Message received: LOG E 260 Could not attach /var/lib/one/datastores/0/260/disk.2 (vdb) to one-260<br>  Thu Jan  2 11:52:04 2014 [VMM][D]: Message received: LOG I 260 ExitCode: 1<br><br>Another problem is that I'm not able to attach or detach disks from powered off machines.<br><br>Any clue on how to fix the problem, and how to allow users to attach and detach disks when machines are powered off?<br><br>Thanks,<br>Ricardo<br>                                         </div></body>
</html>