Bug 584320 - Cloning a guest image runs at a couple MB/min
Summary: Cloning a guest image runs at a couple MB/min
Keywords:
Status: CLOSED DUPLICATE of bug 582356
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 13
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-21 11:50 UTC by James G. Brown III
Modified: 2014-12-01 23:07 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-04-21 13:40:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James G. Brown III 2010-04-21 11:50:00 UTC
Description of problem:

When trying to clone a guest through virt-manager the cloning process moves at a glacial pace of only a couple MB/min

Version-Release number of selected component (if applicable):

libvirt-0.7.7-2.fc13

How reproducible:

100% 

Steps to Reproduce:
1. F12 -> F13 upgrade with ext3 fs (possibly a F13 install with ext3 fs)
2. Create guest
3. Clone guest
  
Actual results:

cloning moves at about 1-2 MB/min 

Expected results:

Cloning of image takes ~approx. same time as it would to cp the filebacked img or whatever media you are using...

Additional info:

After further discussion this may be due to the fact that I've upgraded from F12 where I had an ext3 fs and apparently the following commit should fix this, although I haven't tested yet. 

commit e3c36a2575bc88a16d776693dc39ea01c780b406
Author: Jiri Denemark <jdenemar>
Date:   Tue Mar 16 16:03:59 2010 +0100
Use fsync() at the end of file allocation instead of O_DSYNC
    
Instead of opening storage file with O_DSYNC, make sure data are written to a disk only before we claim allocation has finished.

For others upgrading and running on an ext3 fs or for those that choose to install on ext3 as opposed to ext4 this could be a horrible black eye. The above commit if it does indeed resolve this should be backported to libvirt in F13 or at the very least a release note should be added to set expectations.

Comment 1 Cole Robinson 2010-04-21 13:40:59 UTC

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


Note You need to log in before you can comment on or make changes to this bug.