From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx2.redhat.com (mx2.redhat.com [10.255.15.25]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id kBC0Bsgp022494 for ; Mon, 11 Dec 2006 19:11:54 -0500 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx2.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id kBC0BrYi001218 for ; Mon, 11 Dec 2006 19:11:53 -0500 Received: by nf-out-0910.google.com with SMTP id k26so59499nfc for ; Mon, 11 Dec 2006 16:11:52 -0800 (PST) Message-ID: Date: Mon, 11 Dec 2006 19:11:52 -0500 From: "Michael Lessard" Subject: Re: [linux-lvm] LVM2 and OCFS2 In-Reply-To: <457D2F40.7060708@redhat.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_131024_31979342.1165882312258" References: <457D2F40.7060708@redhat.com> Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development ------=_Part_131024_31979342.1165882312258 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Patrick ! I appreciate and now understand why LVM are not cluster aware ! have good week ! Michael On 12/11/06, Patrick Caulfield wrote: > > Michael Lessard wrote: > > Hi Everyboy ! > > > > I read that LVM2 is not cluster aware (specially with OCFS2) from > > different post on internet forum... If it's true, could someone could > > confirm this information and point me where i can find this affirmation > > in documentention ? > > > > I do some test with OCFS2 on LVM2 and it's seems to run correctly , so > > i have some interrogation about this fact ! > > It's true that lvm is not cluster-aware. What that means is that if you > update the volume groups on one node then the other nodes in > the cluster will not see the changes and you could end up with the block > devices on the machines dangerously out of sync. > > What you tried (it seems to me) is just created LVM volumes and run OCFS2 > on them. that /will/ work provided you never change the > volume groups! > > To get clustered LVM you need to use clvm (RPM package lvm2-cluster) which > synchronises LVM metadata updates across the cluster. > This only works with Red Hat cluster suite though - you would need you > write your own cluster management plugin for OCFS2 if you > wanted to use that (hard, but not impossible). Of course, RHCS does offer > GFS as the cluster filesystem, if that's what you really need! > > -- > > patrick > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > ------=_Part_131024_31979342.1165882312258 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Patrick !  I appreciate and now understand why LVM are not cluster aware !

 have good week !

Michael


On 12/11/06, Patrick Caulfield <pcaulfie@redhat.com> wrote:
Michael Lessard wrote:
> Hi Everyboy !
>
>  I read that LVM2 is not cluster aware (specially with OCFS2) from
> different post on internet forum... If it's true, could someone could
> confirm this information and point me where i can find this affirmation
> in documentention ?
>
>  I do some test with OCFS2 on LVM2 and it's seems to run correctly , so
> i have some interrogation about this fact !

It's true that lvm is not cluster-aware. What that means is that if you update the volume groups on one node then the other nodes in
the cluster will not see the changes and you could end up with the block devices on the machines dangerously out of sync.

What you tried (it seems to me) is just created LVM volumes and run OCFS2 on them. that /will/ work provided you never change the
volume groups!

To get clustered LVM you need to use clvm (RPM package lvm2-cluster) which synchronises LVM metadata updates across the cluster.
This only works with Red Hat cluster suite though - you would need you write your own cluster management plugin for OCFS2 if you
wanted to use that (hard, but not impossible). Of course, RHCS does offer GFS as the cluster filesystem, if that's what you really need!

--

patrick

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

------=_Part_131024_31979342.1165882312258--