Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: How to expand the file created by xenguest-install?: msg#00206

Subject: Re: How to expand the file created by xenguest-install?
Sorry, I should have been more clear. When you create the domU, you need to give it an LVM logical volume. As far as the domU is concerned, it's just a disk. But from the dom0 side, it's an easily expandible partition. After you grow it, use tools on the domU side to expand the filesystem.

There's really no point in trying to expand a swap partition because you can just make another one.

On Mon, 24 Apr 2006, Chris Hirsch wrote:

Ben wrote:
Yeah, you use LVM and grow you logical volume size, then expand it
in the guest domain. I'm not sure, but I suspect you'd have to
restart your guest before you can expand it.
But isn't the xvda just a file containing partitions and the like?
I've actually been wanting to do this myself WITH LVM. I'd LOVE to
have lvm extend the file itself.

I did find the trick extending an image:
dd if=/dev/zero  bs=1024 count=3500000 >> fedora.fc5.img
resize2fs -f fedora.fc5.img

and thats works great...The way I understand the xvda file is that
you'd have to copy out anything that is after the main image resize
the image (like above) and then append the old stuff back to the end
of the disk. I'd assume "stuff" here to mean something like swap.

Chris





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe