WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] lvm management of block devices in dom0 not working as w

To: Jan Kundrát <jan.kundrat@xxxxxx>
Subject: Re: [Xen-devel] lvm management of block devices in dom0 not working as well as it should
From: Adam Heath <doogie@xxxxxxxxxxxxx>
Date: Fri, 14 Jan 2005 21:11:50 -0600 (CST)
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 15 Jan 2005 03:50:41 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <41E83EA1.7070403@xxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <Pine.LNX.4.58.0501141309470.21792@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <41E83EA1.7070403@xxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On Fri, 14 Jan 2005, Jan Kundrát wrote:

> Adam Heath wrote:
> > Is it possible to add additional commands over the emulation channel to
> > support querying sizes?  Or is there some command I need to run to kick the
> > guest into seeing the new size?
>
> Have you tried `swapoff /dev/swap`, resize inside domain0, `mkswap -f
> /dev/hda`, `swapon /dev/hda`?

kaffe:/home/doogie# mkswap -f /dev/hda
mkswap: Will not try to make swapdevice on '%s'

So, xen is not setting some field properly.  I have just extended the device
by 100m, but that doesn't matter.  I still can't mkswap it.

We *need* to be able to modify the size of the device in dom0, and have domU
see the change(be it with lvm, gnbd, or iscsi).

Actually, what would be ok, is lvm running in both dom0 and domU, and a
module communicating between the 2.



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel