<div dir="ltr">Ok. Any way to do it without? Because with snapshot deletion I end up with the same issue - I can't remove images form my storage.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 23, 2015 at 12:18 PM, Liron Aravot <span dir="ltr"><<a href="mailto:laravot@redhat.com" target="_blank">laravot@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
----- Original Message -----<br>
> From: "Johan Kooijman" <<a href="mailto:mail@johankooijman.com">mail@johankooijman.com</a>><br>
> To: "Nir Soffer" <<a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a>><br>
> Cc: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
> Sent: Monday, November 23, 2015 10:10:27 AM<br>
> Subject: Re: [ovirt-users] Delete disk references without deleting the disk<br>
><br>
> One weird thing though: when I try to remove the VM itself, it won't let me<br>
> uncheck the "Remove disks" checkbox.<br>
><br>
<br>
</span>That is because that there are snapshots for the disks, you can remove the snapshots and then you could<br>
leave your disks. Currently oVirt doesn't support snapshots for floating disks.<br>
<div class="HOEnZb"><div class="h5">><br>
> On Sun, Nov 22, 2015 at 9:00 PM, Nir Soffer < <a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a> > wrote:<br>
><br>
><br>
> On Sun, Nov 22, 2015 at 6:14 PM, Johan Kooijman < <a href="mailto:mail@johankooijman.com">mail@johankooijman.com</a> ><br>
> wrote:<br>
> > Hi all,<br>
> ><br>
> > I have about 100 old VM's in my cluster. They're powered down, ready for<br>
> > deletion. What I want to do is delete the VM's including disks without<br>
> > actually deleting the disk images from the storage array itself. Is that<br>
> > possible?<br>
><br>
> Select the vm, click "remove", in the confirmation dialog, uncheck the<br>
> "Delete disks"<br>
> checkbox, confirm.<br>
><br>
> > At the end I want to be able to delete the storage domain (which<br>
> > then should not hold any data, as far as ovirt is concerned).<br>
><br>
> Ovirt deleted the vms, but is keeping the disks, so the storage domain<br>
> does hold all<br>
> the disks.<br>
><br>
> ><br>
> > Reason for this: it's a ZFS pool with dedup enabled, deleting the images<br>
> > one<br>
> > by one will kill the array with 100% iowa for some time.<br>
><br>
> So what do you need is to destroy the storage domain, which will<br>
> remove all the entities<br>
> associated with it, but will keep the storage without any change.<br>
><br>
> Do this:<br>
> 1. Select the storage tab<br>
> 2. select the domain<br>
> 3. In the data center sub tab, click "maintenance"<br>
> 4. When domain is in maintenance, click "detach"<br>
> 5. Right click the domain and choose "destroy"<br>
><br>
> This will remove the storage domain from engine database, leaving<br>
> the contents of the domain.<br>
><br>
> You can now delete the contents using favorite system tools.<br>
><br>
> Now, if we want to add support for this in ovirt, how would you delete<br>
> the entire domain in a more efficient way?<br>
><br>
> Nir<br>
><br>
><br>
><br>
> --<br>
> Met vriendelijke groeten / With kind regards,<br>
> Johan Kooijman<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Met vriendelijke groeten / With kind regards,<br>Johan Kooijman<br></div></div>
</div>