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-users

[Xen-users] Xen guest swap use

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen guest swap use
From: Arijit Ganguly <aganguly@xxxxxxxxx>
Date: Fri, 27 May 2005 15:28:41 -0700
Delivery-date: Fri, 27 May 2005 22:28:06 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=qi30OUI7SippaxqxmkWHK+4y7HeL970E7Y/DV4qHw7zhenel37GhCJwJJjyrESXwQyZ0cTj+S6YtvR8gHil3YHTZ6lGPj/NxCELz/jKKmB32WIKROtNfli1O7A5igApXT6mXQdXk8cJdFobgaG1brfWT0qK+b9mQcDG1X/Dj1eI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.63.0505270734330.7726@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <3e8ac0bf05052614245c966a82@xxxxxxxxxxxxxx> <Pine.LNX.4.63.0505270734330.7726@xxxxxxxxxxxxxxx>
Reply-to: Arijit Ganguly <aganguly@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Since Xen has trouble identifying all partitions on a virtual disk, what does it do about the swap partition (if present on the virtual disk). Does that need to be specified explicitly in the
configuration option?

Arijit

On 5/26/05, Paul Jakma <paul@xxxxxxxx> wrote:
On Thu, 26 May 2005, Arijit Ganguly wrote:

> Is it possible for Xen itself to detect the preexisting partitions
> (which we have created from domain 0) on the device we are trying
> to connect. Something like:
>
> [phy:/dev/sda,/dev/hda, 'w'], just mapping some device to a virtual
> physical device on guest. The ghuest OS be able to detect the
> partitions drawn on /dev/sda from domain 0 I tried but does't seem
> to work.

http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=43

> a. The device would appear as /dev/hda0 and not as /dev/hda.
> b. fdisk even shows the partitions on the /dev/hda0, but /dev file system
> doesn't have any corresponding devices.

It does seem to find the first partition, just doesnt scan for any
others.

I'd like to be able to assign whole disks to domU's and have domU's
handle partitioning particularly so that Linux extX fs labels aren't
visible to the dom0. And to simplify management of disks.

regards,
--
Paul Jakma      paul@xxxxxxxx   paul@xxxxxxxxx  Key ID: 64A2FF6A
Fortune:
If you find a solution and become attached to it, the solution may become
your next problem.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users