[Gluster-devel] error message=> glusterfs: could not open specfile

Amar S. Tumballi amar at zresearch.com
Fri Sep 7 13:12:06 UTC 2007


Hi Paul,
 make sure you have '/etc/glusterfs/glusterfs-client.vol' file in the
server. That should eliminate the problem. And also, if your client file is
different in server give 'option client-volume-filename
/path/to/specfile.vol' for protocol/server volume. Or, if it is ok for you
to put the client spec file in the client machine, then give '-f
/path/to/specfile.vol' to glusterfs command line.

Hi Jacques,
 '-f' and '-s' option are exclusive. You need not give -s if '-f pathname'
option is given.

Regards,
Amar

On 9/7/07, Jacques Mattheij <j at ww.com> wrote:
>
> hey Paul,
>
> It looks to me like you should use the
>
>    -f pathtoyourvolumespec/yourspecfile.vol
>
> option on the command line.  I tried it here without that
> and it tells me the same thing as you report (could not
> open specfile).
>
> something like:
>
> /usr/local/sbin/glusterfs -f /etc/glusterfs/client.vol -s 192.168.1.225
> /mnt/point
>
> replace the '/etc/glusterfs/client.vol' with your location of
> the client spec file.
>
>    best regards,
>
>      Jacques
>
> Paul Jochum wrote:
> > whitelistentry: zresearch
> > Hi Avand:
> >
> > Thank you for looking at this.
> >
> > *Spec file for Server:*
> > volume brick
> >  type storage/posix                   # POSIX FS translator
> >  option directory /home/export        # Export this directory
> > end-volume
> > volume server
> >  type protocol/server
> >  option transport-type tcp/server     # For TCP/IP transport
> >  subvolumes brick
> >  option auth.ip.brick.allow * # Allow access to "brick" volume
> > end-volume
> >
> > *Spec file for Client:
> > *volume client
> >  type protocol/client
> >  option transport-type tcp/client     # for TCP/IP transport
> >  option remote-host 192.168.1.225     # IP address of the remote brick*
> > * option remote-subvolume brick        # name of the remote volume
> > end-volume
> > *
> > Commands used to start glusterfs on the Server:
> > */usr/local/sbin/glusterfsd*
> > *
> > *Command used to start glusterfs on the Client:*
> > /usr/local/sbin/glusterfs -s 192.168.1.225 /mnt/point
> >
> > (I tried to follow the "Getting Started with GlusterFS" document from
> > the wiki as close as possible)
> >
> > thanks,
> >
> > Paul Jochum
> >
> >
> >
> > Anand Avati wrote:
> >
> >> Paul,
> >>  can you please post your volume spec files and the command line with
> >> which you are trying to start glusterfs?
> >>
> >> avati
> >>
> >> 2007/9/7, Paul Jochum < jochum at alcatel-lucent.com
> >> <mailto:jochum at alcatel-lucent.com>>:
> >>
> >>     Hi all:
> >>
> >>         I am trying out glusterfs 1.3.1 (from the download page), for
> the
> >>     first time.  It compiled and installed fine.  I am running a simple
> >>     configuration of one client and one brick, using the supplied
> example
> >>     /etc/glusterfs vol files (just changed the address in the client's
> >>     vol
> >>     file), and seems to run on the server.  When I try to run it on the
> >>     client, it immediately fails with the message:
> >>     glusterfs: could not open specfile
> >>
> >>         On the client's log file, I am seeing:
> >>     2007-09-06 23:15:04 E [
> >> protocol.c:253:gf_block_unserialize_transport]
> >>     trans: EOF from peer (192.168.1.225:6996 <http://192.168.1.225:6996
> >)
> >>
> >>         On the server's log file, I am seeing:
> >>     2007-09-06 23:14:39 C [tcp.c:81:tcp_disconnect] server: connection
> >>     disconnected
> >>     2007-09-06 23:14:39 E [server-protocol.c:197:generic_reply] server:
> >>     transport_writev failed
> >>
> >>         I can ping, and ssh between the two hosts.  I have disabled
> >>     iptables
> >>     and ip6tables on the server and client.
> >>         So, I assume that I am missing something basic here, but don't
> >>     know
> >>     where to start looking.  Any suggestions?
> >>
> >>     thanks,
> >>
> >>     Paul Jochum
> >>
> >>
> >>
> >>
> >>
> >>
> >>     _______________________________________________
> >>     Gluster-devel mailing list
> >>     Gluster-devel at nongnu.org <mailto:Gluster-devel at nongnu.org>
> >>     http://lists.nongnu.org/mailman/listinfo/gluster-devel
> >>     <http://lists.nongnu.org/mailman/listinfo/gluster-devel>
> >>
> >>
> >>
> >>
> >> --
> >> It always takes longer than you expect, even when you take into
> >> account Hofstadter's Law.
> >>
> >> -- Hofstadter's Law
> >
> > _______________________________________________
> > Gluster-devel mailing list
> > Gluster-devel at nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
> --
>
> /-------------------------------------------------------------------------\
> | Jacques Mattheij, j at ww.com, ww.com, livelog.com and greenbits.com
> |
> |
> |
> |
> IMPORTANT:                                                              |
> | When you send me mail from an address that is unknown to me make sure
> |
> | the current password ('stjoes') is present anywhere in the email,
> |
> | otherwise it will not get
> through!                                      |
>
> \-------------------------------------------------------------------------/
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>



-- 
Amar Tumballi
Engineer - Gluster Core Team
[bulde on #gluster/irc.gnu.org]
http://www.zresearch.com - Commoditizing Supercomputing and Superstorage!



More information about the Gluster-devel mailing list