[Linux-cluster] GFS on md on shared disks?

Erling Nygaard nygaard at redhat.com
Thu Oct 7 14:35:12 UTC 2004


No, this will not work at all.

All GFS locking is done on a filesystem level. In order to make this work 
you need locking on the blocksystem level .


Erling


On Thu, Oct 07, 2004 at 10:01:22AM -0400, Ed L Cashin wrote:
> Hi.  After learning about GFS and its locking, I'm having trouble
> answering a question: What would be the problem with this scenario?
> 
>   node 1:  create a RAID5 on three shared disks, /dev/md0
> 
>            create a GFS filesystem on /dev/md0
> 
>   node 2:  using the same config file, start /dev/md0 with the same
>            shared disks
> 
>   node 3:  using the same config file, start /dev/md0 with the same
>            shared disks
> 
> Now everybody joins the cluster and mounts the filesystem.  It seems
> like the GFS locking would take care of most of the problems I can
> think of, but I suspect there may be something tricky.
> 
> Should this work?
> 
> -- 
>   Ed L Cashin <ecashin at coraid.com>
> 
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> http://www.redhat.com/mailman/listinfo/linux-cluster

-- 
Erling Nygaard
nygaard at redhat.com

Red Hat Inc




More information about the Linux-cluster mailing list