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] Help mounting image partition on centos: missing /dev/xen/gu

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Help mounting image partition on centos: missing /dev/xen/guest1
From: Paul Nader <paul.nader@xxxxxxxxx>
Date: Thu, 17 Jan 2008 20:15:07 +0100
Delivery-date: Thu, 17 Jan 2008 11:15:46 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:subject:date:message-id:mime-version:content-type:x-mailer:x-mimeole:thread-index:from; bh=YSNUWsSbdYXIQRJsXk9dmte8Iw+oGkae1WWyS3m1oDk=; b=jM95yS5uBPpp/wBE4aNofMwxDsqBy3x9w4uSdNb8OLwXxD85Vxt55d3jHBCV9A5Qq7KH1INTfFEiu9B/0Hj8NiTrrwkX/At5grQvjLsAh10cv+JgPBUS9qC7AujHIKwTJzMfbWzn9IS2S3dZhU7OIFCnQLwOiBnCzfitzS2swZE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:subject:date:message-id:mime-version:content-type:x-mailer:x-mimeole:thread-index:from; b=mUE+dOZm26s0zX0ciF9cwBPQRjBBHI8VgkmO1hY9ZdgFDkulDGuYvmj4p+MMmgHC2JFF3+MOezkfnBJ2+GztuCepNGqMAHxJU9s/PKopIG7UJLvOAqFwBdHhcJ8Hyn2zpVXpaQcr0EXIv0dGp+3Ss0ZYH7dcCab9hEOERZkQB8g=
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
Thread-index: AchZPUU6mq02tBmyQOmnNJV2COWzFA==

Hi,

 

I’m trying to mount a guest image created as a file. The guest was created with a standard centos 5.1 anaconda install so it has two partitions, one for boot, which I can mount using:

 

# lomount –diskimage=<path-to-image> -partition=1 /mnt

 

and another one which has a LVM volume group VolGroup00 on it, which I can’t mount.

 

Tried:

 

# losetup –f

/dev/loop0

# losetup /dev/loop0 <path-to-image>

# kpartx /dev/loop0

add map loop0p1: 0 208782 linear /dev/loop0 63

add map loop0p1: 0 20755980 linear /dev/loop0 208845

 

but when I do:

 

# kpartx –a /dev/xen/guest1

 

I find there is no guest1 file.

 

Should this file get created when the DomU was created?

 

If I do a vgscan it finds the VolGroup00 in the image but I can’t mount it directly because the name conflicts with the volume group in DomU0.

 

Any help please?

 

 

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Help mounting image partition on centos: missing /dev/xen/guest1, Paul Nader <=