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. I am hoping this will allow me to share LV partitions on volgroup1 which is used by XEN domUs. 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? TIA, Tomoki _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Poke around cluster computing sites. I know they do this a lot. I typed in ''gndb'' and ''lvm'' to google and got: http://www.gridvm.org/drbd-lvm-gnbd-and-xen-for-free-and-reliable-san.html Which looks pretty relevant at first glance... -Dylan> 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. > > I am hoping this will allow me to share LV partitions on volgroup1 > which is used by XEN domUs. > > 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? > > TIA, > Tomoki > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- Help recovering from an LVM issue
- getting multiple network interfaces to work in 3.2
- mkfs.ext2 succeeds despite nbd write errors?
- 1/2 OFF-TOPIC: How to use CLVM (on top AoE vblades) instead just plain LVM for Xen based VMs on Debian 5.0?
- Hardware PSTN Gateways?