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: FC5/Xen LVM resize question: msg#00206

Subject: Re: FC5/Xen LVM resize question
Hi,

On Mon, 29 May 2006, Rainer Fuegenstein wrote:

im playing around with Xen and FC5. There is one thing i dont get working. When i resize a logical volume in dom0 with lvextend, and this volume is used and mounted in a domU, it seems that the domU does not notice the new size of the partition until rebooted.

stupid question: did you resize the filesystem after extending the logical volume ?

yes, id did this. Even if its not resized, the changes are not even recognized by fdisk when i do a partprobe as David Robinson suggested.

this works for me:
- shutdown DomU
- extend LV in Dom0
- extend filesystem in Dom0
- restart (create) domU

This works because the dom0 knows about the new size immediatly. But what i wanted to do is a resize without restarting the domU.

Should this work somehow without rebooting the domU, or is this the intended behavior?
in theory, with a filesystem that allows online-resizing (see link above), it shouldn't be necessary to shutdown DomU. But haven't tried yet.

Well, i could not find any statement in the docu that really tells me that this would work. On the other side i could not find a statement that tells me it wont work. :)

I think, i could create a volume goup inside of a domU and add space to the domU by adding new block devices and adding their space to the volume group. But is this really a clever way of doing this, or are there any easier ways?
extending the logical volume in Dom0 is surely a more elegant approach.

Agreed, this approach is not very elegant, but it seems its the only currently possible way to extend a domU fs without a restart.

ciao,
Heinz

--
Heinz Deinhart
heinz@xxxxxx



<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