<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>It will require an available size according to the disk snapshot you're attempting to remove. <br></div><div><br></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Rik Theys" &lt;Rik.Theys@esat.kuleuven.be&gt;<br><b>To: </b>"Elad Ben Aharon" &lt;ebenahar@redhat.com&gt;<br><b>Cc: </b>users@ovirt.org<br><b>Sent: </b>Wednesday, 11 February, 2015 3:06:35 PM<br><b>Subject: </b>Re: [ovirt-users] Can't remove snapshot due to low disk space&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;on storage domain?<br><div><br></div>Hi,<br><div><br></div>OK since my hosts are still CentOS 6.6, I will schedule downtime.<br><div><br></div>Will removing it this way also require the additional disk space in the <br>storage domain?<br><div><br></div>Rik<br><div><br></div><br>On 02/11/2015 02:03 PM, Elad Ben Aharon wrote:<br>&gt; Indeed, removing the disk snapshot from the 'Disk Snapshots' subtab will<br>&gt; remove only the snapshot of the disk, not the disk itself.<br>&gt; Regarding snapshot removal while the &nbsp;VM is running - this feature is<br>&gt; pretty new (live snapshot merge). AFAIK, this feature is tech preview<br>&gt; for 3.5. It also depends on the OS you're using on the hosts. RHEL 7.1<br>&gt; supports it, but again, as tech preview.<br>&gt; Therefore, the safest way to remove the snapshot of the disk would be to<br>&gt; do it while the VM is not running.<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt; *From: *"Rik Theys" &lt;Rik.Theys@esat.kuleuven.be&gt;<br>&gt; *To: *"Elad Ben Aharon" &lt;ebenahar@redhat.com&gt;<br>&gt; *Cc: *users@ovirt.org<br>&gt; *Sent: *Wednesday, 11 February, 2015 2:44:55 PM<br>&gt; *Subject: *Re: [ovirt-users] Can't remove snapshot due to low disk<br>&gt; space &nbsp; &nbsp; &nbsp; &nbsp;on storage domain?<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt; I created the snapshot on the Snapshots subtab of the Virtual machines<br>&gt; tab. I did this when my engine (and host) was running oVirt 3.4. It<br>&gt; is/was a snapshot of the entire VM (I deselected the memory state).<br>&gt;<br>&gt; I since upgraded the engine to 3.5.<br>&gt;<br>&gt; When I look at the snapshots subtab of the virtual machine, I see the<br>&gt; Current snapshot which is "Active VM" and the snapshot I created before.<br>&gt; This snapshot is a snapshot of both the OS and data disk.<br>&gt;<br>&gt; I can not delete the second snapshot when the VM is running. If I power<br>&gt; down the VM, I can't remove the snapshot as it brings up the error I<br>&gt; mentioned before.<br>&gt;<br>&gt; However, when I look at the disk snapshots subtab of the storage tab<br>&gt; (like you suggested), I see both disks with a snapshot and I can select<br>&gt; "Remove" there while the VM is running. Is it safe to remove them this<br>&gt; way? This will only remove the snapshot and not the disk (and data) from<br>&gt; my (running) VM?<br>&gt;<br>&gt; Regards,<br>&gt;<br>&gt; Rik<br>&gt;<br>&gt;<br>&gt; On 02/11/2015 01:26 PM, Elad Ben Aharon wrote:<br>&gt; &nbsp;&gt; I'm not sure I understand which RHEV version you're using now.<br>&gt; &nbsp;&gt; If you're using RHEV 3.5, it is possible to remove a snapshot of a<br>&gt; &nbsp;&gt; single disk.<br>&gt; &nbsp;&gt; You can do it via webadmin, Under the 'Disks Snapshots' subtab of the<br>&gt; &nbsp;&gt; relevant storage domain, in the 'Storage' main tab.<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; As for your second question, the free space has to be in the same<br>&gt; &nbsp;&gt; storage domain.<br>&gt; &nbsp;&gt; ------------------------------------------------------------------------<br>&gt; &nbsp;&gt; *From: *"Rik Theys" &lt;Rik.Theys@esat.kuleuven.be&gt;<br>&gt; &nbsp;&gt; *To: *"Elad Ben Aharon" &lt;ebenahar@redhat.com&gt;<br>&gt; &nbsp;&gt; *Cc: *users@ovirt.org<br>&gt; &nbsp;&gt; *Sent: *Wednesday, 11 February, 2015 2:10:13 PM<br>&gt; &nbsp;&gt; *Subject: *Re: [ovirt-users] Can't remove snapshot due to low disk<br>&gt; &nbsp;&gt; space &nbsp; &nbsp; &nbsp; &nbsp;on storage domain?<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; Hi,<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; Thats unfortunate :-(. It would have been great if oVirt told me during<br>&gt; &nbsp;&gt; the creation of the snapshot that I would be unable to remove it later<br>&gt; &nbsp;&gt; due to unsufficient free space in the storage domain :-).<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; The VM has two disks - a small and a large one - so the snapshot<br>&gt; &nbsp;&gt; contains both. Can I still remove the large disk while it has snapshots?<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; Luckily the used disk space in the (preallocated) large disk is low<br>&gt; &nbsp;&gt; enough so I can fit it on another temporary disk then.<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; Does the free space have to be in the same storage domain, or can oVirt<br>&gt; &nbsp;&gt; use another storage domain for the temporary volume? IOW, can I add an<br>&gt; &nbsp;&gt; NFS storage domain which oVirt can use to create the temporary disk on?<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; Regards,<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; Rik<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; On 02/11/2015 12:57 PM, Elad Ben Aharon wrote:<br>&gt; &nbsp;&gt; &nbsp;&gt; *equals or larger than the disk size<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt; &nbsp;&gt; &nbsp;&gt; *From: *"Elad Ben Aharon" &lt;ebenahar@redhat.com&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; *To: *"Rik Theys" &lt;Rik.Theys@esat.kuleuven.be&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; *Cc: *users@ovirt.org<br>&gt; &nbsp;&gt; &nbsp;&gt; *Sent: *Wednesday, 11 February, 2015 12:18:35 PM<br>&gt; &nbsp;&gt; &nbsp;&gt; *Subject: *Re: [ovirt-users] Can't remove snapshot due to low disk<br>&gt; &nbsp;&gt; &nbsp;&gt; space &nbsp; &nbsp; &nbsp; &nbsp;on &nbsp; &nbsp; &nbsp; &nbsp;storage domain?<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; Snapshot removal (merge) includes a create volume phase. This<br>&gt; volume is<br>&gt; &nbsp;&gt; &nbsp;&gt; temporary and gets removed once the snapshot merge is completed. Its<br>&gt; &nbsp;&gt; &nbsp;&gt; size is the size of the disk.<br>&gt; &nbsp;&gt; &nbsp;&gt; That means that in order to remove the snapshot, the storage domain<br>&gt; &nbsp;&gt; &nbsp;&gt; should have available size that is equal to the disk size.<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; Elad Ben Aharon<br>&gt; &nbsp;&gt; &nbsp;&gt; RHEV-QE storage<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt; &nbsp;&gt; &nbsp;&gt; *From: *"Rik Theys" &lt;Rik.Theys@esat.kuleuven.be&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; *To: *users@ovirt.org<br>&gt; &nbsp;&gt; &nbsp;&gt; *Sent: *Tuesday, 10 February, 2015 12:00:10 PM<br>&gt; &nbsp;&gt; &nbsp;&gt; *Subject: *[ovirt-users] Can't remove snapshot due to low disk space<br>&gt; &nbsp;&gt; &nbsp;&gt; on &nbsp; &nbsp; &nbsp; &nbsp;storage domain?<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; Hi,<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; I'm running the ovirt engine 3.4 series. I've created a snapshot<br>&gt; of a VM<br>&gt; &nbsp;&gt; &nbsp;&gt; with an OS and data disk before upgrading the machine.<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; The upgrade went fine and I now want to remove the snapshot.<br>&gt; &nbsp;&gt; &nbsp;&gt; Unfortunately this fails with the error:<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; "Cannot remove Snapshot. Low disk space on target Storage Domain<br>&gt; &nbsp;&gt; &nbsp;&gt; stadius-virt2_PERC."<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; So I can't free disk space by removing the snapshot because I<br>&gt; don't have<br>&gt; &nbsp;&gt; &nbsp;&gt; enough space?<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; When I look at the VM the disks are shown as preallocated (which<br>&gt; is what<br>&gt; &nbsp;&gt; &nbsp;&gt; I selected during installation). When I look at the storage tab<br>&gt; and list<br>&gt; &nbsp;&gt; &nbsp;&gt; the disks in my storage domain, the disks are now shown as thin<br>&gt; &nbsp;&gt; &nbsp;&gt; provisioned with the actual size &gt; virtual size.<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; How can I remove this snapshot? I don't have enough free disk space in<br>&gt; &nbsp;&gt; &nbsp;&gt; my storage domain to duplicate the data disk of my VM.<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; Regards,<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; Rik<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; --<br>&gt; &nbsp;&gt; &nbsp;&gt; Rik Theys<br>&gt; &nbsp;&gt; &nbsp;&gt; System Engineer<br>&gt; &nbsp;&gt; &nbsp;&gt; KU Leuven - Dept. Elektrotechniek (ESAT)<br>&gt; &nbsp;&gt; &nbsp;&gt; Kasteelpark Arenberg 10 bus 2440 &nbsp;- B-3001 Leuven-Heverlee<br>&gt; &nbsp;&gt; &nbsp;&gt; +32(0)16/32.11.07<br>&gt; &nbsp;&gt; &nbsp;&gt; ----------------------------------------------------------------<br>&gt; &nbsp;&gt; &nbsp;&gt; &lt;&lt;Any errors in spelling, tact or fact are transmission errors&gt;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; _______________________________________________<br>&gt; &nbsp;&gt; &nbsp;&gt; Users mailing list<br>&gt; &nbsp;&gt; &nbsp;&gt; Users@ovirt.org<br>&gt; &nbsp;&gt; &nbsp;&gt; http://lists.ovirt.org/mailman/listinfo/users<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; &nbsp;&gt; _______________________________________________<br>&gt; &nbsp;&gt; &nbsp;&gt; Users mailing list<br>&gt; &nbsp;&gt; &nbsp;&gt; Users@ovirt.org<br>&gt; &nbsp;&gt; &nbsp;&gt; http://lists.ovirt.org/mailman/listinfo/users<br>&gt; &nbsp;&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt;<br>&gt; &nbsp;&gt; --<br>&gt; &nbsp;&gt; Rik Theys<br>&gt; &nbsp;&gt; System Engineer<br>&gt; &nbsp;&gt; KU Leuven - Dept. Elektrotechniek (ESAT)<br>&gt; &nbsp;&gt; Kasteelpark Arenberg 10 bus 2440 &nbsp;- B-3001 Leuven-Heverlee<br>&gt; &nbsp;&gt; +32(0)16/32.11.07<br>&gt; &nbsp;&gt; ----------------------------------------------------------------<br>&gt; &nbsp;&gt; &lt;&lt;Any errors in spelling, tact or fact are transmission errors&gt;&gt;<br>&gt; &nbsp;&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Rik Theys<br>&gt; System Engineer<br>&gt; KU Leuven - Dept. Elektrotechniek (ESAT)<br>&gt; Kasteelpark Arenberg 10 bus 2440 &nbsp;- B-3001 Leuven-Heverlee<br>&gt; +32(0)16/32.11.07<br>&gt; ----------------------------------------------------------------<br>&gt; &lt;&lt;Any errors in spelling, tact or fact are transmission errors&gt;&gt;<br>&gt;<br><div><br></div><br>-- <br>Rik Theys<br>System Engineer<br>KU Leuven - Dept. Elektrotechniek (ESAT)<br>Kasteelpark Arenberg 10 bus 2440 &nbsp;- B-3001 Leuven-Heverlee<br>+32(0)16/32.11.07<br>----------------------------------------------------------------<br>&lt;&lt;Any errors in spelling, tact or fact are transmission errors&gt;&gt;<br></div><div><br></div></div></body></html>