[Fedora-xen] resizing Xen para-virtualized guest partition
John Summerfield
debian at herakles.homelinux.org
Tue May 8 01:17:08 UTC 2007
Daniel P. Berrange wrote:
> On Mon, May 07, 2007 at 08:41:29PM -0400, Paul Wouters wrote:
>> On Tue, 8 May 2007, John Summerfield wrote:
>>
>>> btw You can create sparse files in the first place:
>>> dd if=/dev/zero of=/tmp/ext-fs seek=$((4*1024*1024)) count=0
>>> mke2fs -F -q /tmp/ext-fs
>> I understood that using sparse files will significantly slow down
>> the xenu for the first time, as it keeps growing the fs allocation
>> underneath it.
>
> That is correct. Never use sparse files if you care about performance
> as they exhibit pathelogically bad behaviour while growing the allocation.
> Pre-allocation a file should give the best performance for file backed
> guests, as close as you'll get to native without using physical devices
> directly.
>
> With a little tweaking to the dd command shown above though it ought to
> be possible to extend the image, while allocating the data. You basically
> want to seek=<current end of file> and then count=<additional space>
> desired.
>
> Dan.
Please read ny sig. I really do not want off-list replies. Once I have
ADSL at home when I move house, hopefully in a couple of weeks, they
will simply bounce.
Daniel, are you able to sort out the list owner to get replies going, by
default, to the list?
Thank so much.
--
Cheers
John
-- spambait
1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu
Please do not reply off-list
More information about the Fedora-xen
mailing list