Hi Rajasekhar,<br>Please find inlined comments,<br><br><div class="gmail_quote">On Mon, Jul 7, 2008 at 11:21 AM, rajasekhar gurram &lt;<a href="mailto:rajasekhar.gurram@locuz.com">rajasekhar.gurram@locuz.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div>

<br>

<p><font size="2">Hi Raghavendra,<br>
<br>
Thank you for you kind responce.I had made some modifications to my configuration files.<br>
still I cant able to mount on client side.kindly correct my configuration.<div class="Ih2E3d"><br>
<br>
Server<br>
[root@rhel2 ~]# cat /etc/glusterfs/glusterfs-server.vol<br></div>
volume brick<div class="Ih2E3d"><br>
&nbsp; type storage/posix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # POSIX FS translator<br>
&nbsp; option directory /opt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Export this directory<br>
end-volume<br>
<br>
volume rhel2<br>
&nbsp; type protocol/server<br></div>
&nbsp; option listen-port 6998</font></p></div></blockquote><div>Glusterfs uses port 6996 by default. Either&nbsp; dont specify &quot;option listen-port&quot; or make sure to provide the port number in --server option in glusterfs command line.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><p><font size="2"><div class="Ih2E3d"><br>
&nbsp; option transport-type tcp/server<br></div>
&nbsp; subvolumes brick<br>
&nbsp; option client-volume-filename /usr/etc/glusterfs-client.vol<br>
&nbsp; option auth.ip.brick.allow * # Allow access to &quot;brick&quot; volume<br>
end-volume<br>
[root@rhel2 ~]#<br>
<br>
CLIENT<br>
[root@test ~]# cat /usr/etc/glusterfs-client.vol<div class="Ih2E3d"><br>
volume rhel2<br>
&nbsp; type protocol/client<br>
&nbsp; option transport-type tcp/client<br>
&nbsp; option remote-host <a href="http://10.129.150.227" target="_blank">10.129.150.227</a><br></div>
&nbsp; option remote-subvolume brick<br>
end-volume<br>
[root@test ~]#<br>
<br>
<br>
[root@test ~]# glusterfs -f /usr/etc/glusterfs-client.vol /mnt/glusterfs/<br>
[root@test ~]#<br>
for this command no respoce (not showing any error.<br>
but<br>
<br>
[root@test ~]# mount.glusterfs 10.129.150.227:/opt/ /mnt/glusterfs/<div class="Ih2E3d"><br>
glusterfs: could not open specfile<br>
[root@test ~]#<br></div>
this is the error showing for the above command.<br>
<br>
kindly correct me If iam doing wrong.<div class="Ih2E3d"><br>
<br>
Thanks and Regards,<br>
G.Rajasekhar,<br>
System Engineer<br></div><div><div></div><div class="Wj3C7c">
-----Original Message-----<br>
From: <a href="mailto:raghavendra.hg@gmail.com" target="_blank">raghavendra.hg@gmail.com</a> on behalf of Raghavendra G<br>
Sent: Wed 02/07/2008 13:49<br>
To: rajasekhar gurram<br>
Cc: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
Subject: Re: [Gluster-users] Glusterfs could not open spec file<br>
<br>
I had sent it earlier from my gmail id which is not added to gluster-users.<br>
<br>
On Wed, Jul 2, 2008 at 12:16 PM, Raghavendra G &lt;<a href="mailto:raghavendra.hg@gmail.com" target="_blank">raghavendra.hg@gmail.com</a>&gt;<br>
wrote:<br>
<br>
&gt; Hi Rajasekhar,<br>
&gt; Please find comments inlined.<br>
&gt;<br>
&gt; On Fri, Jun 27, 2008 at 4:20 PM, rajasekhar gurram &lt;<br>
&gt; <a href="mailto:rajasekhar.gurram@locuz.com" target="_blank">rajasekhar.gurram@locuz.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt;&nbsp; Dear Team,<br>
&gt;&gt; I have installed and configured gluster in one server and client.<br>
&gt;&gt; one time it was worked fine, again later it is not working.<br>
&gt;&gt; my configuration files.<br>
&gt;&gt; server<br>
&gt;&gt; [root@rhel2 ~]# cat /etc/glusterfs/glusterfs-server.vol<br>
&gt;&gt; volume rhel2<br>
&gt;&gt;&nbsp;&nbsp; type storage/posix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # POSIX FS translator<br>
&gt;&gt;&nbsp;&nbsp; option directory /opt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Export this directory<br>
&gt;&gt; end-volume<br>
&gt;&gt;<br>
&gt;&gt; volume rhel2<br>
&gt;&gt;&nbsp;&nbsp; type protocol/server<br>
&gt;&gt;&nbsp;&nbsp; option transport-type tcp/server&nbsp;&nbsp;&nbsp;&nbsp; # For TCP/IP transport<br>
&gt;&gt;&nbsp;&nbsp; option client-volume-filename /etc/glusterfs/glusterfs-client.vol<br>
&gt;&gt;&nbsp;&nbsp; subvolumes export test<br>
&gt;&gt;&nbsp;&nbsp; option auth.ip.rhel2.allow * # Allow access to &quot;brick&quot; volume<br>
&gt;&gt; end-volume<br>
&gt;&gt;<br>
&gt; * Both xlators (protocol/server and storage/posix) are named as rhel2. Each<br>
&gt; translator instance should be given a different name.<br>
&gt;<br>
&gt; * protocol/server lists &quot;export&quot; as one of its subvolumes, which is not<br>
&gt; present in the specfile. Try removing it if you dont need it.<br>
&gt;<br>
&gt; * server should have &quot;option client-volume-specfile<br>
&gt; &lt;glusterfs-volume-specification-file&gt;&quot; or a client-specfile should be<br>
&gt; present as &lt;glusterfs-install-prefix&gt;/etc/glusterfs-client.vol<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; [root@rhel2 ~]#<br>
&gt;&gt;<br>
&gt;&gt; client<br>
&gt;&gt; [root@test ~]# cat /etc/glusterfs/glusterfs-client.vol<br>
&gt;&gt; volume rhel2<br>
&gt;&gt;&nbsp;&nbsp; type protocol/client<br>
&gt;&gt;&nbsp;&nbsp; option transport-type tcp/client<br>
&gt;&gt;&nbsp;&nbsp; option remote-host <a href="http://10.129.150.227" target="_blank">10.129.150.227</a><br>
&gt;&gt;&nbsp;&nbsp; option remote-subvolume rhel2<br>
&gt;&gt; end-volume<br>
&gt;&gt; [root@test ~]#<br>
&gt;&gt; problem:<br>
&gt;&gt;<br>
&gt;&gt; [root@test ~]# glusterfs --server <a href="http://10.129.150.227" target="_blank">10.129.150.227</a> /mnt/glusterfs/<br>
&gt;&gt; --volume-name r&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hel2<br>
&gt;&gt; glusterfs: could not open specfile<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; [root@test ~]#<br>
&gt;&gt;<br>
&gt;&gt; Apart from these i have few doubts,<br>
&gt;&gt; 1)In our website it told that gluster there is no single point of failure.<br>
&gt;&gt; But as per configuration point of view it is like server and client model<br>
&gt;&gt; so if server fails<br>
&gt;&gt; client cannot able to mount.<br>
&gt;&gt;<br>
&gt; No single point of failure when glusterfs is run in clustered mode. What it<br>
&gt; exactly means that there is nothing like a single metadata server, failure<br>
&gt; of which renders cluster not operational (Though currently unify has a<br>
&gt; limitation in the form of namespace, which will be fixed in future<br>
&gt; releases).<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2)In server how can i confirm whether server was exported or not where as<br>
&gt;&gt; in NFS we have command to check showmount.<br>
&gt;&gt;<br>
&gt; There is no tool currently which tell the directories exported by server.<br>
&gt; But this can be found out by checking logfiles of server.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; kindly inform me If iam doing wrong, it will help full for me to go<br>
&gt;&gt; further checks.<br>
&gt;&gt;<br>
&gt;&gt; Thanks and Regards<br>
&gt;&gt; G.Rajasekhar,<br>
&gt;&gt; System Engineer.<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Gluster-users mailing list<br>
&gt;&gt; <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
&gt;&gt; <a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Raghavendra G<br>
&gt;<br>
&gt; A centipede was happy quite, until a toad in fun,<br>
&gt; Said, &quot;Prey, which leg comes after which?&quot;,<br>
&gt; This raised his doubts to such a pitch,<br>
&gt; He fell flat into the ditch,<br>
&gt; Not knowing how to run.<br>
&gt; -Anonymous<br>
<br>
<br>
<br>
<br>
--<br>
Raghavendra G<br>
<br>
A centipede was happy quite, until a toad in fun,<br>
Said, &quot;Prey, which leg comes after which?&quot;,<br>
This raised his doubts to such a pitch,<br>
He fell flat into the ditch,<br>
Not knowing how to run.<br>
-Anonymous<br>
<br>
</div></div></font>
</p>

</div>
</blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>A centipede was happy quite, until a toad in fun,<br>Said, &quot;Prey, which leg comes after which?&quot;,<br>This raised his doubts to such a pitch,<br>
He fell flat into the ditch,<br>Not knowing how to run.<br>-Anonymous