[Linux-cluster] GFS as a Resource

Chris Edwards cedwards at smartechcorp.net
Fri Aug 15 17:18:02 UTC 2008


Whoops, scratch that last post.   I now have it working by leaving the entry
in fstab without the noauto and turning GFS off with chkconfig and allowing
the cluster service to turn it on.
Thanks again!

---

Chris Edwards
Smartech Corp.
Div. of AirNet Group
http://www.airnetgroup.com
http://www.smartechcorp.net
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 Chris Edwards
Sent: Friday, August 15, 2008 10:02 AM
To: 'linux clustering'
Subject: RE: [Linux-cluster] GFS as a Resource

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
http://www.airnetgroup.com
http://www.smartechcorp.net
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
http://www.centos.org/docs/5/html/Global_File_System/

> What happens if I set GFS up as a resource?   Should it automatically
mount
> 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.

Brett
>
> 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
https://www.redhat.com/mailman/listinfo/linux-cluster


--
Linux-cluster mailing list
Linux-cluster at redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster





More information about the Linux-cluster mailing list