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] lvm over nbd?

To: Tomoki Taniguchi <tomoki.taniguchi@xxxxxxxxx>
Subject: Re: [Xen-users] lvm over nbd?
From: Christian Horn <chorn@xxxxxxxxxxxx>
Date: Wed, 14 Nov 2007 16:46:57 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 14 Nov 2007 07:47:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <718828c0711121627u70e41b5bw6b01fe4f65d45501@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/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: <718828c0711121627u70e41b5bw6b01fe4f65d45501@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Tue, Nov 13, 2007 at 09:27:59AM +0900, Tomoki Taniguchi wrote:
> I have a system with a large LVM VG partition.
> I was wondering if there is a way i could share the partition
> using nbd and have the nbd-client have access the LVM
> as if it was local.
> 
> SYSTEM A: /dev/sda3 is a LVM partition and is assigned to
> VG volgroup1.  I want to share /dev/sda3 via nbd-server
> 
> SYSTEM B: receives A's /dev/sda3 as /dev/nbd0.  I want to
> access it as VG volgroup1.

For just one client accessing the lvm that should work for plain 
lvm/lvm2, maybe you have to tell lvm it has to search at /dev/nbd0
vor lvm/pv-data.

> I think i read something about CLVM.  Will this allow me to do what
> I want?  how do i go about setting up a clvm?
For accessing the vg with more than one client clvm or evms with
appropriate cluster-aware config is needed.


Christian

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

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