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] Mounting LVM sub-partitions - SOLVED

To: Kevin DeGraaf <kevin@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Mounting LVM sub-partitions - SOLVED
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Sat, 11 Aug 2007 07:42:42 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 10 Aug 2007 23:42:29 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=OAdtDe9WXA0cW05Gjpzh5FX5r0Ej+t57RBvPejYs1IU5mGnD5nX0rMS8ZLxF591xTp3DHMf0w3SJUKJvBeStnWjmGKJCymErU4ZIpORL50OedBLErZuseuXjK92pcklCPC/4Qupke2WyDzbV4AhKY1crhenQK6kmdtuwTTf9oA0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=hzyySzU4Prtdnvt9BtDzhMPHv+4QxFqCrGDVVHUH3FldpPRlB/PkEe/H8vSHUAo2AvTx3dpohjZKG/m1qd/+q9ex+5itoxP+LkCmGGY1LEBDFK9EGHfafuAq4KBQnTs3WM+0T2pafwKrgjOZzSgu+NgAXxjXWPhalk+yaPVBUfg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46BCC9EB.2040900@xxxxxxxxxxxx>
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>
References: <46BCC1D4.9050408@xxxxxxxxxxxx> <46BCC577.7030807@xxxxxxxx> <46BCC9EB.2040900@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)
Kevin DeGraaf wrote:
have a closer look to kpartx as a part of the multimapper-tools:

That worked, thanks.

For the benefit of anyone searching the archives for this issue:

  # apt-get install multipath-tools
  # kpartx -a /dev/vg0/lv0
  # mount /dev/mapper/lv0p1 /mnt/foo

I'm a bit surprised that it didn't follow the format of the existing
nodes (e.g. /dev/mapper/vg0-lv0--p1).  Doing it the naive way allows
collisions between similarly-named LVs in different VGs.  Oh well.  :-)
You noticed that! Yeah the syntax of device naming there is a bit interesting. It makes it important to name the partitions for your DomU's in ways that will not naturally collide. Me, I create a specific volume group for them called something like XENDISK and use names for the individual DomU's such as "DOMU01", "DOMU02", etc. That helps avoid collisions.

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

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