Red Hat Bugzilla – Bug 584320
Cloning a guest image runs at a couple MB/min
Last modified: 2014-12-01 18:07:07 EST
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):
Steps to Reproduce:
1. F12 -> F13 upgrade with ext3 fs (possibly a F13 install with ext3 fs)
2. Create guest
3. Clone guest
cloning moves at about 1-2 MB/min
Cloning of image takes ~approx. same time as it would to cp the filebacked img or whatever media you are using...
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.
Author: Jiri Denemark <email@example.com>
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.
*** This bug has been marked as a duplicate of bug 582356 ***