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

Re: [Xen-users] is it possible to mount a domU's LVM partition in dom0 ?


  • To: "Nemeth, Tamas" <nice@xxxxxxxxxxxxxxx>
  • From: "Rudi Ahlers" <rudiahlers@xxxxxxxxx>
  • Date: Wed, 17 Sep 2008 16:33:42 +0200
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 17 Sep 2008 07:34:22 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=uccd6Bw3AP+xtIzX3aRMGwQyK6Y2dNDr9fbptn5WC9Qmkpkh+nUMCLJoZCO1GhPtfb vO7+0WQeYLchgLb8YtT4gHd8v11G7bbN4D8Iny6qP0NxgjQGOm9TbNACbo8FDU87sZvC siMfP/rMZhrboeHaMf4YbvqMBWr3m4oVUdqXw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



On Wed, Sep 17, 2008 at 4:18 PM, Nemeth, Tamas <nice@xxxxxxxxxxxxxxx> wrote:
Please issue two more commands in the domU:

fdisk -l /dev/xvda
cat /etc/fstab

And finally, some kpartx magic may be the solution, indeed.


root@wiseguy ~]# fdisk -l /dev/xvda

Disk /dev/xvda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot      Start         End      Blocks   Id  System
/dev/xvda1   *           1          13      104391   83  Linux
/dev/xvda2              14        1305    10377990   8e  Linux LVM
[root@wiseguy ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
 



--

Kind Regards
Rudi Ahlers
_______________________________________________
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®.