[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Help mounting image partition on centos: missing /dev/xen/guest1


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.