Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 800303

Summary: libvirt running domain create snapshot take time over 7 mins
Product: Red Hat Enterprise Linux 7 Reporter: Huang Wenlong <whuang>
Component: libvirtAssignee: Eric Blake <eblake>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: cwei, dallan, dyuan, mzhan, rwu, zhpeng
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-20 14:31:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 799508    

Description Huang Wenlong 2012-03-06 09:24:56 UTC
Description of problem:
 libvirt running domain create snapshot take time over 7 mins


Version-Release number of selected component (if applicable):
libvirt-0.9.7-3.el7.x86_64
qemu-kvm-0.15.1-3.2.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. start a domain and login the guest system
#virsh start rl62
2.
# time virsh snapshot-create rl62
 Domain snapshot 1331018776 created

real    7m1.991s
user    0m0.005s
sys    0m0.004s


3.

Actual results:
over 7 mins

Expected results:
in the rhel6 it is less than 1 min

Additional info:

Comment 1 Eric Blake 2012-03-20 14:31:14 UTC
This is the same problem as in bug 771626.  You are executing a system checkpoint internal snapshot, which includes RAM state, requires a convergence algorithm, and which requires lots of disk space in the qcow2 file (which takes time, especially if the qcow2 file has to grow in size to hold that much state).  But that is not a supported RHEL feature.  You should really be using the --disk-only option when you create snapshots, as that is MUCH faster, and _is_ supported for RHEV.

*** This bug has been marked as a duplicate of bug 771626 ***