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: Rudi Ahlers <rudiahlers@xxxxxxxxx>
Subject: Re: [Xen-users] is it possible to mount a domU's LVM partition in dom0 ?
From: John Haxby <john.haxby@xxxxxxxxxx>
Date: Wed, 17 Sep 2008 14:57:45 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 17 Sep 2008 06:58:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <695200da0809170632s5dedece4t12a4274f6e405d7b@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080723)
Rudi Ahlers wrote:
I'm trying to create a tar.gz image of a domU VM, but have had no luck in mounting the domU's partition in dom0

I have tried mounting it, but keep on getting an error:

[root@saturn ~]# mount -o loop /dev/System/newcpanel /newcpanel/
mount: you must specify the filesystem type
[root@saturn ~]#

# kpartx -v -a /dev/System/newcpanel

This will create as many entries in /dev/mapper as there are partitions in /dev/System/newcpanel. You can then mount these or activate the embedded logical volume as necessary

if /dev/System/newcpanel is a file rather than a logical volume or similar, then you'll need to make it into a device with losetup.

kpartx is nothing to do with kde or X :-)

jch


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

<Prev in Thread] Current Thread [Next in Thread>