[Linux-cluster] GFS2 and lvm

Scooter Morris scooter at cgl.ucsf.edu
Mon Feb 15 21:33:42 UTC 2010


On 02/15/2010 12:42 PM, Jos Vos wrote:
> On Mon, Feb 15, 2010 at 01:20:35PM -0500, Mario Salcedo wrote:
>
>    
>> Hi, I am configuring  a Red hat cluster. In the guide say: "A GFS2
>> file system must be created on an LVM logical volume that is a linear
>> or mirrored volume". Is that true.
>>
>> I create GFS2 without LVM. I think all ok.
>>      
> Not really...
>
> How do you ensure then that the device paths of the GFS filesystems
> are the same on all nodes (as is required by the shared cluster.conf)?
>
> A shared disk may appear as /dev/sda in one node, but as /dev/sdb on
> another node, for example, dependent on hardware or configuration
> details.
>
>    
Actually, this is not really true.  We have many GFS2 filesystems on a 
three node cluster and we don't use LVM.  It really depends on how you 
are mounting the filesystems.  You really need to mount them by LABEL, 
so the underlying disk identifiers becomes irrelevant.

-- scooter




More information about the Linux-cluster mailing list