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

Re: [Xen-users] Domain management GUI for RHEL 4

To: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Subject: Re: [Xen-users] Domain management GUI for RHEL 4
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Tue, 16 Jan 2007 14:04:13 +0000
Cc: Henning Sprang <henning_sprang@xxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 16 Jan 2007 06:03:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45ACD9F7.1010500@xxxxxxxxx>
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: <45ABF5B0.7000308@xxxxxxxxx> <5bb00b3f0701160524r3b840e29p68ffd2e21c7cba0@xxxxxxxxxxxxxx> <45ACD9F7.1010500@xxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Tue, Jan 16, 2007 at 01:58:15PM +0000, Nico Kadel-Garcia wrote:
> Henning Sprang wrote:
> >On 1/15/07, Nico Kadel-Garcia <nkadel@xxxxxxxxx> wrote:
> >>[...]
> >>but I seem to need individual partition images for my
> >>setup, since I don't have VT or HVM capable CPU's to work with.
> >
> >I somehow oversaw this: why do you think you need a specific
> >partitioning style because of using pv instead of hvm?
> >Or is this a xenman-specific thing?
> How can I get the disk and swap partitions onto the file image or LVM 
> image, and access them from Dom0 when setting things up or doing 
> recovery options, without having a VT or HVM capable system and booting 
> from a CD or network?

If you have a disk image which contains a nested partition table, then
the 'lomount' tool makes it easy to access individual partiitons. If
you further have LVM in the guest, then the kpartx tools can be used.
For example, I have /dev/HostVG/XenGuest1 which I map through to a
guest as /dev/xvda. In the guest I partitioned this into 2 paritiions,
one for /, and one for /boot. If I want to access /boot directly from
the host, I can use:

 lomount -diskimage /dev/HostVG/XenGuest1 -partition 2 /mnt/

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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