On Fri, Nov 6, 2015 at 10:13 AM, Johan Kooijman <mail(a)johankooijman.com> wrote:
Ah, more interesting: the disk lives half on storage domain #1, half
on
storage domain #2.
This is very unlikely. You probably have the full disk on the original
domain, and partial copy on the destination.
I don't really need these disks, but can't do anything to
these disks at the moment.
What to do?
On Thu, Nov 5, 2015 at 4:41 PM, Johan Kooijman <mail(a)johankooijman.com>
wrote:
>
> Hi all,
>
> I was moving a disk from one storage domain to the other when the engine
> was restarted. The VM the disk is on, is fine, but the disk stays in locked
> status.
>
> How can I resolve this?
1. Make sure the copy operation was stopped. The easiest way is to
restart vdsm on the spm. If you want to be more precise, you can use
vdsClient to find the task and cancel it.
2. Unlock the disk - there is a script for unlocking entities at
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
3. Delete the partial copy of the disk on the destination domain. If
this is NFS, you can simply remove the image directory.
4. Open a bugs:
- engine should keep operations state in the db, and should handle
failures, unlocking disk if an operation fail.
- vdsm should not leave partial disks on the destination domain if an
operation failed.
>
> --
> Met vriendelijke groeten / With kind regards,
> Johan Kooijman
--
Met vriendelijke groeten / With kind regards,
Johan Kooijman
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users