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/
Home Products Support Community News


[Xen-users] Creating initial file system for a new Xen domain

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Creating initial file system for a new Xen domain
From: "David Stone" <unclestoner@xxxxxxxxx>
Date: Thu, 18 Oct 2007 11:11:08 -0400
Delivery-date: Thu, 18 Oct 2007 08:11:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=4btqN+e4xvLYCMmelNHN4dcbLHnL2rAbc76NobA6Lnc=; b=OjzedLZrdgZ8s6oPmCwAYW+C+3IK5PV7F60l5iO2bAXmWDaRo2KWGfvgrA+AoCG9c6rCHOTh27T4BmMvbv3yaKfP12/MYSn+K7YyNZKwVBxbUjrmf4xUdlWQnjURVsKa4fsLzFW+vjW3KJ6/hEw2IpjYyim7iZFJj2aiuaCmkU0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RG6uK4NzlTn1WxylS15DOu/dVPX+y5gCoSThacIpjBv8SE646wI7Fwu34JrGPbI5O6ZWWpvhOgisCmo5u80EnIR+wpY8IlARDsOn+bHThRiRbzHewXo1JBlb939bfrOjyyCMmb60flYL8QKSz0hm8i53SVjIpdIJ6hBO4sc4PTc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I've moderately familiar with using XenSource distributions and also
administering Xen with tools like virt-manager on Fedora.  However now
I'm building xen (3.0.3) from source and trying to use what I built

My first question is why is it that tools like virt-manager don't work
when I boot to the Xen hypervisor and Dom0 I built?  The virt-manager
I'm trying to use is from FC6.  Is this known to be generally
impossible for some reason (missing APIs), or is it supposed to work
at least sometimes?  What are my other options for tools that will
create a Xen domain configuration file...I know this can be done by
hand but there must be more friendly tools out there somewhere...

My second question is very basic, forgive me: using just the tools
that are built with the xen source distribution, how does one install
Linux on a DomU?  I know you just point to a kernel/ramdisk in the
domain configuration file, but what about the root filesystem?  Using
XenExpress and virt-manager, I always run through a Linux install, so
that populates the root filesystem with all the stuff essential for
the system.  I know that you can point a domain to a partition in the
domain's configuration file, but how do you populate that partition?

My third and final question is: when using virt-install a file-backed
VBD is created for the DomU.  The domain's configuration file has:
disk = [ 'tap:aio:/vmdisks/Fedora6Guest3,xvda,w', ]
I'd like to mount this in Dom0.  I execute
xm block-attach 0 tap:aio:/vmdisks/Fedora6Guest3 /dev/xvda1 w 0
which seems to work.  But how do mount the device /dev/xvda1 in Dom0?
I think the problem is that it isn't really an ext3 filesystem,
because it contiains multiple partitions (one for /boot and one for
/), so I can't just say
mount -t ext3 /dev/xvda1 /tmp/mountpoint


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>