Re: [ovirt-users] Snapshot removal
On Wed, Sep 27, 2017 at 8:26 AM, Yaniv Kaulwrote: > > > On Fri, Sep 22, 2017 at 12:01 PM, Lionel Caignec wrote: > >> Hi, >> >> i'm wondering if it possible to delete at same time snapshots of >> differents VM ? Or is it necessary to do it only one at a time? >> > > There should not be an issue deleting them at the same time. > well, yes, but you can not multiselect 20 snapshots from 10 different VMs and press "remove" in the current UI. I believe this is what the question was about. > Y. > > >> -- >> Lionel >> ___ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> > > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Snapshot removal
On Fri, Sep 22, 2017 at 12:01 PM, Lionel Caignecwrote: > Hi, > > i'm wondering if it possible to delete at same time snapshots of > differents VM ? Or is it necessary to do it only one at a time? > There should not be an issue deleting them at the same time. Y. > -- > Lionel > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Snapshot removal vs selinux enforced
I reply myself if it can help somemone. I found a solution with audit2allow/audit2why creating a policy containing this : type systemd_machined_t; type svirt_t; type fixed_disk_device_t; class blk_file write; class dir search; } It seems to work, and i can keep my host in selinux enforced. - Mail original - De: "Lionel Caignec" <caig...@cines.fr> À: "users" <users@ovirt.org> Envoyé: Lundi 25 Septembre 2017 15:37:16 Objet: [ovirt-users] Snapshot removal vs selinux enforced Hi, i have a problem with selinux enforced. When i tried to live remove a snapshot the operation failed . After some headache i found the problem source : selinux. When i "setenfore 0" the removal task work, when i "setenforce 1" removal task failed. log from audit.log: vc: denied {write} for pid = 28360 tmptext = system_u: object_r : fixed_disk_device_t: s0 tclass = blk_file I'm with RHEL 7.4 and ovirt 4.1, is it some specific configuration to do?. Thanks for help. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Snapshot removal vs selinux enforced
Hi, i have a problem with selinux enforced. When i tried to live remove a snapshot the operation failed . After some headache i found the problem source : selinux. When i "setenfore 0" the removal task work, when i "setenforce 1" removal task failed. log from audit.log: vc: denied {write} for pid = 28360 tmptext = system_u: object_r : fixed_disk_device_t: s0 tclass = blk_file I'm with RHEL 7.4 and ovirt 4.1, is it some specific configuration to do?. Thanks for help. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Snapshot removal time
On Sep 22, 2017 3:54 PM, "Troels Arvin"wrote: Hello, Ala wrote: > What's the version of the manager (engine)? 4.1.1 > Could you please provide the link or the SPM and the host > running the VM? I don't understand that. I cannot provide intimate details about the installation, nor a link to it. Typo. I meant logs, not links. -- Regards, Troels ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Snapshot removal time
Hello, Ala wrote: > What's the version of the manager (engine)? 4.1.1 > Could you please provide the link or the SPM and the host > running the VM? I don't understand that. I cannot provide intimate details about the installation, nor a link to it. -- Regards, Troels ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Snapshot removal time
Hello, What's the version of the manager (engine)? Could you please provide the link or the SPM and the host running the VM? Thanks, Ala On Sep 22, 2017 1:19 PM, "Troels Arvin"wrote: > Hello, > > I have a RHV 4.1 virtualized guest-server with a number of rather large > VirtIO virtual disks attached. The virtual disks are allocated from a > fibre channel (block) storage domain. The hypervisor servers run RHEL 7.4. > > When I take a snapshot of the guest, then it takes a long time to remove > the snapshots again, when the guest is powered off (a snapshot of a 2 TiB > disk takes around 3 hours to remove). However, when the guest is running, > then snapshot removal is very quick (perhaps around five minutes per > snapshot). The involved disks have not been written much to while they > had snapshots. > > I would expect the opposite: I.e., when the guest is turned off, then I > would assume that oVirt can handle snapshot removal in a much more > aggressive fashion than when performing a live snapshot removal? > > When performing offline snapshot removal, then on the hypervisor having > the SPM role, I see the following in output from "ps xauw": > > vdsm 10255 8.3 0.0 389144 27196 ? S convert -p -t none -T none -f qcow2 /rhev/data-center/mnt/blockSD/xxx/ > images/yyy/zzz -O raw /rhev/data-center/mnt/blockSD/xxx/images/yyy/ > zzz_MERGE > > I don't see the same kind of process running on a guest's hypervisor when > online snapshot removal is in progress. > > I've read most of https://www.ovirt.org/develop/release-management/ > features/storage/remove-snapshot/ > My interpretation from that document is that I should expect to see "qemu- > img commit" commands instead of "qemu-img convert" processes. Or? > > The RHV system involved is somewhat old, having been upgrade many times > from 3.x through 4.1. Could it be that it carries around old left-overs > which results in obsolete snapshot removal behavior? > > -- > Regards, > Troels Arvin > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Snapshot removal time
Hello, I have a RHV 4.1 virtualized guest-server with a number of rather large VirtIO virtual disks attached. The virtual disks are allocated from a fibre channel (block) storage domain. The hypervisor servers run RHEL 7.4. When I take a snapshot of the guest, then it takes a long time to remove the snapshots again, when the guest is powered off (a snapshot of a 2 TiB disk takes around 3 hours to remove). However, when the guest is running, then snapshot removal is very quick (perhaps around five minutes per snapshot). The involved disks have not been written much to while they had snapshots. I would expect the opposite: I.e., when the guest is turned off, then I would assume that oVirt can handle snapshot removal in a much more aggressive fashion than when performing a live snapshot removal? When performing offline snapshot removal, then on the hypervisor having the SPM role, I see the following in output from "ps xauw": vdsm 10255 8.3 0.0 389144 27196 ? Shttps://www.ovirt.org/develop/release-management/ features/storage/remove-snapshot/ My interpretation from that document is that I should expect to see "qemu- img commit" commands instead of "qemu-img convert" processes. Or? The RHV system involved is somewhat old, having been upgrade many times from 3.x through 4.1. Could it be that it carries around old left-overs which results in obsolete snapshot removal behavior? -- Regards, Troels Arvin ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Snapshot removal
Hi, i'm wondering if it possible to delete at same time snapshots of differents VM ? Or is it necessary to do it only one at a time? -- Lionel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Snapshot removal
- Original Message - From: Dafna Ron d...@redhat.com To: users@ovirt.org Sent: Thursday, April 17, 2014 12:52:04 PM Subject: Re: [ovirt-users] Snapshot removal NFS is wipe_after_delete=true always. so delete of snapshot will merge the data to upper level image + zero in on the data which is why this is taking a long time. I double checked this and I was very much surprised by this finding! We need a bz right away, Dafna can file it? Thanks! -- Federico ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Snapshot removal
On Apr 15, 2014, at 04:09 , Maurice Moe James mja...@media-node.com wrote: Is it it me or does it take a very long time to delete a snapshot? Upwards of 30 minutes to delete a snapshot of a 7 GB drive what kind of storage you're using? if it is block-based it zeroes out the data which takes time ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Snapshot removal
Im using NFS - Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: Maurice Moe James mja...@media-node.com Cc: users@ovirt.org Sent: Thursday, April 17, 2014 5:44:45 AM Subject: Re: [ovirt-users] Snapshot removal On Apr 15, 2014, at 04:09 , Maurice Moe James mja...@media-node.com wrote: Is it it me or does it take a very long time to delete a snapshot? Upwards of 30 minutes to delete a snapshot of a 7 GB drive what kind of storage you're using? if it is block-based it zeroes out the data which takes time ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Snapshot removal
NFS is wipe_after_delete=true always. so delete of snapshot will merge the data to upper level image + zero in on the data which is why this is taking a long time. On 04/17/2014 11:47 AM, Maurice James wrote: Im using NFS - Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: Maurice Moe James mja...@media-node.com Cc: users@ovirt.org Sent: Thursday, April 17, 2014 5:44:45 AM Subject: Re: [ovirt-users] Snapshot removal On Apr 15, 2014, at 04:09 , Maurice Moe James mja...@media-node.com wrote: Is it it me or does it take a very long time to delete a snapshot? Upwards of 30 minutes to delete a snapshot of a 7 GB drive what kind of storage you're using? if it is block-based it zeroes out the data which takes time ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Dafna Ron ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Snapshot removal
Is it it me or does it take a very long time to delete a snapshot? Upwards of 30 minutes to delete a snapshot of a 7 GB drive ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users