[Linux-cluster] GFS as a Resource

Chris Edwards cedwards at smartechcorp.net
Fri Aug 15 14:01:35 UTC 2008

Perfet!  Thanks a million, I didn't realize that GFS needed a fstab entry
with a noauto entry to get it to work.


Chris Edwards
Smartech Corp.
Div. of AirNet Group
cedwards at smartechcorp.net
P:  423-664-7678 x114
C:  423-593-6964
F:  423-664-7680

-----Original Message-----
From: linux-cluster-bounces at redhat.com
[mailto:linux-cluster-bounces at redhat.com] On Behalf Of Brett Cave
Sent: Friday, August 15, 2008 4:52 AM
To: linux clustering
Subject: Re: [Linux-cluster] GFS as a Resource

On Thu, Aug 14, 2008 at 10:26 PM, Chris Edwards
<cedwards at smartechcorp.net> wrote:
> Hello all again,
> I am really trying hard to figure out how this clustering works and I
> appreciate any help that is given.
There are some good docs out there - read through

> What happens if I set GFS up as a resource?   Should it automatically
> my GFS file system?

there is a GFS service. If you set it to autostart, it will mount any
gfs file systems defined in /etc/fstab.

You would have to set up iSCSI first, and have your volumes accessible
- to GFS, these just block devices, regardless of the underlying
technology - DRBD / iSCSI / SAN.

The order of startup should be iSCSI first, then cluster services
(cman, locking service such as DLM, fencing, etc) from the cman
service and once the cluster services are up, you can then mount gfs
file systems, via "service gfs start". Also look into using a quorum
disk in your cluster, it can help with the cluster maintaining quorum
when a few nodes go down.

Here is a sample gfs entry from my fs tab.
/dev/sda1               /gfs/cache1             gfs
num_glockd=6,noatime,noquota,nodiratime         0 0

You would replace /dev/sda1 with the path to your iSCSI device.

> I am using GFS over an iscsi target.
> Thanks!
> ---
> Chris Edwards
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster

Linux-cluster mailing list
Linux-cluster at redhat.com

More information about the Linux-cluster mailing list