2011-10-21, 07:28(+10), Simon Wilson:
[...]
If working with a NON-sparse VM img (i.e. originally created with
virt-install --nonsparse), does a cp without --sparse=never retain the
non-sparse nature of the file, or does it have to be specified?
[...]
See the man page for your cp command.
disk created with sparse=true to no sparse
To: Gonzalo Marcote Peña gonzalomarc...@gmail.com
Cc: kvm@vger.kernel.org
On Thu, Oct 20, 2011 at 4:21 AM, Gonzalo Marcote Peña
gonzalomarc...@gmail.com wrote:
Hi.
I have one guest that I created with virt-install comand option
'sparse
Hi.
I have one guest that I created with virt-install comand option 'sparse=true'.
As i want to use now this guest for I/O tasks (DDBB) and i want to
improve performance, I want to convert the disk.img from sparse to no
sparse (obviusly without format it).
How can I do this task without loosinf
On Thu, Oct 20, 2011 at 4:21 AM, Gonzalo Marcote Peña
gonzalomarc...@gmail.com wrote:
Hi.
I have one guest that I created with virt-install comand option 'sparse=true'.
As i want to use now this guest for I/O tasks (DDBB) and i want to
improve performance, I want to convert the disk.img from
2011-10-20, 13:21(+02), Gonzalo Marcote Peña:
I have one guest that I created with virt-install comand option 'sparse=true'.
As i want to use now this guest for I/O tasks (DDBB) and i want to
improve performance, I want to convert the disk.img from sparse to no
sparse (obviusly without format
2011-10-20, 14:56(+00), Stephane CHAZELAS:
[...]
On extent based FS (ext4, btrfs...), there might be a way to
guarantee as few extents as possible, but I don't know it.
Actually, with both ext4 and btrfs, it is possible to defrag a
file in place. So you could un-sparse the file first:
make
- Message from Stefan Hajnoczi stefa...@gmail.com -
Date: Thu, 20 Oct 2011 07:43:45 -0700
From: Stefan Hajnoczi stefa...@gmail.com
Subject: Re: Convert one .img disk created with sparse=true to no sparse
To: Gonzalo Marcote Peña gonzalomarc...@gmail.com
Cc: kvm