Re: resizing Xen para-virtualized guest partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx

Please do not reply off-list

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux