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] is it possible to mount a domU's LVM partition in dom0 ?

To: "Nemeth, Tamas" <nice@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] is it possible to mount a domU's LVM partition in dom0 ?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=9cSMSE3GgODHAO97sxG1F3Q5N20eS2E6dcdedtB0Eo4=; b=rLr1oN+GN+5pDBTIWvjBWi03Pr98Reh8ReRlpDfM8s9JFAPWlhJx0xvJyj5Xigk5+5 1Y1XJgj5L8+I0bKVvg+vblLxWReRHaLW2V4a18Xo27RTI31mw3sdSJeNeqmcCu5C+3SC 5MO3XKBUAxrgHjeZQJnlJ6cfZRtlicaRMCDiA=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1221661121.4727.72.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <695200da0809170632s5dedece4t12a4274f6e405d7b@xxxxxxxxxxxxxx> <1221658909.4727.69.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <695200da0809170655h36e3d347ma1dea7750ac21891@xxxxxxxxxxxxxx> <1221661121.4727.72.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


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