<br><br><div class="gmail_quote">On Thu, Jan 3, 2013 at 7:07 PM, Zama Ques <span dir="ltr"><<a href="mailto:queszama@yahoo.in" target="_blank">queszama@yahoo.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
<br>
<br>
<br>
<br>
----- Original Message -----<br>
From: Steven Whitehouse <<a href="mailto:swhiteho@redhat.com">swhiteho@redhat.com</a>><br>
To: Zama Ques <<a href="mailto:queszama@yahoo.in">queszama@yahoo.in</a>>; linux clustering <<a href="mailto:linux-cluster@redhat.com">linux-cluster@redhat.com</a>><br>
Cc:<br>
Sent: Thursday, 3 January 2013 3:46 PM<br>
Subject: Re: [Linux-cluster] GFS without creating a cluster<br>
<br>
Hi,<br>
<br>
On Thu, 2013-01-03 at 18:00 +0800, Zama Ques wrote:<br>
> Hi All ,<br>
><br>
><br>
> Need few clarification regarding GFS.<br>
><br>
><br>
> I need to create a shared file system for our servers . The servers will write to the shared file system at the same time and there is no requirement for a cluster .<br>
><br>
> Planning to use GFS but GFS requires cluster software to be running . My confusion here is If I just run the cluster software ( cman etc ) without creating a cluster , will I be able to configure and run GFS2. Also , is it possible to write to a GFS file system from many servers at the same time ?<br>


><br>
> Will be great if somebody can clarify by doubts.<br>
><br>
><br>
> Thanks in Advance<br>
> Zaman<br>
><br>
><br>
<br>
> If you want to use GFS2 without a cluster, then you'll only be able to<br>
> use it from a single node (just like if you were using ext3 for<br>
> example). If you want to use GFS2 as intended, with multiple nodes<br>
> accessing the same filesystem, then you'll need to set up a cluster in<br>
> order to do so,<br>
<br>
</div>Thanks Steve for the reply . As you said setting up a cluster is needed to use GFS2 with multiple nodes, does that mean that I need to create cluster.conf or running cluster services (cman etc) should be fine for setting up GFS2. Not sure whether cman will run without creating cluster.conf<br>


<br>
Assuming that I need to setup cluster.conf in order to use GFS2 , that means if there are two nodes in the cluster with GFS2 as file system resource , GFS2 will be mounted on only one host based on failover domain policy . But our requirement is like that GFS2 should be mounted on both servers at the same time  . Based on my little understanding of GFS , looks to me that I will not be able to achieve this using GFS2 or there are some way to achieve this ?<br>


<br>
Please clarify on this.<br>
<br></blockquote></div>Hi Zama,<br><br>As steve said, you must have to configure proper cluster to use GFS2 filesystem and mounted on multiple nodes at the same time so that all can access it. You do not need to configure GFS2 filesystem to be managed by cluster i.e. rgmanager. but just make the entry in /etc/fstab file as like normal ext3 filesystem.<br>

<br>I hope, it answers your question.<br><br>Regards,<br>Rajveer Singh<br>