On 05/06/14 12:26, Volodymyr Kotulskyi wrote:
>
> [root@xenserver-2 ~]# xe vdi-destroy
> uuid=afc680f9-3a49-4e02-8d71-004efffe2759
> This operation cannot be performed because this VDI is in use by some
> other operation
> vdi: afc680f9-3a49-4e02-8d71-004efffe2759 (OracleLinux)
> operation: destroy
>
> [root@xenserver-2 ~]# xe vbd-list
> vdi-uuid=afc680f9-3a49-4e02-8d71-004efffe2759
> uuid ( RO)             : ed1bc66a-5961-fe7a-5e4c-6480bbcdd57e
>           vm-uuid ( RO): 85c11607-11bb-48e2-983c-abcf6ec0b57f
>     vm-name-label ( RO): Control domain on host: xenserver-2
>          vdi-uuid ( RO): afc680f9-3a49-4e02-8d71-004efffe2759
>             empty ( RO): false
>            device ( RO):
> sm/backend/cf294ed7-c6bf-d01c-3899-bb99bb56c0dc/afc680f9-3a49-4e02-8d71-004efffe2759
>

The VBD looks like it is currently attached to dom0. Try unplugging it
(xe vbd-unplug uuid=ed1bc....). If this fails, it's usually because the
disk is in use by something, and you'll have to see any process that
might be using it (or it might be mounted).

Cheers,

Jon


_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to