Hi Rajasekhar,<br>Please find inlined comments,<br><br><div class="gmail_quote">On Mon, Jul 7, 2008 at 11:21 AM, rajasekhar gurram <<a href="mailto:rajasekhar.gurram@locuz.com">rajasekhar.gurram@locuz.com</a>> 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>
type storage/posix # POSIX FS translator<br>
option directory /opt # Export this directory<br>
end-volume<br>
<br>
volume rhel2<br>
type protocol/server<br></div>
option listen-port 6998</font></p></div></blockquote><div>Glusterfs uses port 6996 by default. Either dont specify "option listen-port" 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>
option transport-type tcp/server<br></div>
subvolumes brick<br>
option client-volume-filename /usr/etc/glusterfs-client.vol<br>
option auth.ip.brick.allow * # Allow access to "brick" 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>
type protocol/client<br>
option transport-type tcp/client<br>
option remote-host <a href="http://10.129.150.227" target="_blank">10.129.150.227</a><br></div>
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 <<a href="mailto:raghavendra.hg@gmail.com" target="_blank">raghavendra.hg@gmail.com</a>><br>
wrote:<br>
<br>
> Hi Rajasekhar,<br>
> Please find comments inlined.<br>
><br>
> On Fri, Jun 27, 2008 at 4:20 PM, rajasekhar gurram <<br>
> <a href="mailto:rajasekhar.gurram@locuz.com" target="_blank">rajasekhar.gurram@locuz.com</a>> wrote:<br>
><br>
>> Dear Team,<br>
>> I have installed and configured gluster in one server and client.<br>
>> one time it was worked fine, again later it is not working.<br>
>> my configuration files.<br>
>> server<br>
>> [root@rhel2 ~]# cat /etc/glusterfs/glusterfs-server.vol<br>
>> volume rhel2<br>
>> type storage/posix # POSIX FS translator<br>
>> option directory /opt # Export this directory<br>
>> end-volume<br>
>><br>
>> volume rhel2<br>
>> type protocol/server<br>
>> option transport-type tcp/server # For TCP/IP transport<br>
>> option client-volume-filename /etc/glusterfs/glusterfs-client.vol<br>
>> subvolumes export test<br>
>> option auth.ip.rhel2.allow * # Allow access to "brick" volume<br>
>> end-volume<br>
>><br>
> * Both xlators (protocol/server and storage/posix) are named as rhel2. Each<br>
> translator instance should be given a different name.<br>
><br>
> * protocol/server lists "export" as one of its subvolumes, which is not<br>
> present in the specfile. Try removing it if you dont need it.<br>
><br>
> * server should have "option client-volume-specfile<br>
> <glusterfs-volume-specification-file>" or a client-specfile should be<br>
> present as <glusterfs-install-prefix>/etc/glusterfs-client.vol<br>
><br>
>><br>
>> [root@rhel2 ~]#<br>
>><br>
>> client<br>
>> [root@test ~]# cat /etc/glusterfs/glusterfs-client.vol<br>
>> volume rhel2<br>
>> type protocol/client<br>
>> option transport-type tcp/client<br>
>> option remote-host <a href="http://10.129.150.227" target="_blank">10.129.150.227</a><br>
>> option remote-subvolume rhel2<br>
>> end-volume<br>
>> [root@test ~]#<br>
>> problem:<br>
>><br>
>> [root@test ~]# glusterfs --server <a href="http://10.129.150.227" target="_blank">10.129.150.227</a> /mnt/glusterfs/<br>
>> --volume-name r hel2<br>
>> glusterfs: could not open specfile<br>
>><br>
><br>
><br>
>><br>
>> [root@test ~]#<br>
>><br>
>> Apart from these i have few doubts,<br>
>> 1)In our website it told that gluster there is no single point of failure.<br>
>> But as per configuration point of view it is like server and client model<br>
>> so if server fails<br>
>> client cannot able to mount.<br>
>><br>
> No single point of failure when glusterfs is run in clustered mode. What it<br>
> exactly means that there is nothing like a single metadata server, failure<br>
> of which renders cluster not operational (Though currently unify has a<br>
> limitation in the form of namespace, which will be fixed in future<br>
> releases).<br>
><br>
>><br>
>> 2)In server how can i confirm whether server was exported or not where as<br>
>> in NFS we have command to check showmount.<br>
>><br>
> There is no tool currently which tell the directories exported by server.<br>
> But this can be found out by checking logfiles of server.<br>
><br>
>><br>
>><br>
>> kindly inform me If iam doing wrong, it will help full for me to go<br>
>> further checks.<br>
>><br>
>> Thanks and Regards<br>
>> G.Rajasekhar,<br>
>> System Engineer.<br>
>><br>
>> _______________________________________________<br>
>> Gluster-users mailing list<br>
>> <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
>> <a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
>><br>
>><br>
><br>
><br>
> --<br>
> Raghavendra G<br>
><br>
> A centipede was happy quite, until a toad in fun,<br>
> Said, "Prey, which leg comes after which?",<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>
<br>
<br>
<br>
--<br>
Raghavendra G<br>
<br>
A centipede was happy quite, until a toad in fun,<br>
Said, "Prey, which leg comes after which?",<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, "Prey, which leg comes after which?",<br>This raised his doubts to such a pitch,<br>
He fell flat into the ditch,<br>Not knowing how to run.<br>-Anonymous