[Gluster-users] Regarding 2.0.4 booster

Sudipto Mukhopadhyay Sudipto.Mukhopadhyay at openwave.com
Tue Jul 21 02:37:14 UTC 2009


Hi, 

 

After modifying the booster.conf, I started getting the logs under
/tmp/booster.log but, I see the following error:

 

 

[2009-07-20 12:24:58] D [booster.c:1025:booster_init] booster: booster
is inited

[2009-07-20 12:24:58] D
[libglusterfsclient.c:1340:libgf_vmp_search_entry] libglusterfsclient:
VMP Entry found: /mnt/glusterfs/abc.txt: /mnt/glusterfs/

[2009-07-20 12:24:58] N [client-protocol.c:5559:client_setvolume_cbk]
remote1: Connected to 10.16.80.53:6996, attached to remote volume 'afr'.

[2009-07-20 12:24:58] N [client-protocol.c:5559:client_setvolume_cbk]
remote1: Connected to 10.16.80.53:6996, attached to remote volume 'afr'.

[2009-07-20 12:24:58] N [client-protocol.c:5559:client_setvolume_cbk]
remote2: Connected to 10.16.80.55:6996, attached to remote volume 'afr'.

[2009-07-20 12:24:58] D
[libglusterfsclient-dentry.c:224:__do_path_resolve]
libglusterfsclient-dentry: loc->parent(1) already present. sending
lookup for 1//abc.txt

[2009-07-20 12:24:58] D
[libglusterfsclient-dentry.c:245:__do_path_resolve]
libglusterfsclient-dentry: resolved path(/abc.txt) till 1(/). sending
lookup for remaining path

[2009-07-20 12:24:58] D
[libglusterfsclient.c:1608:libgf_client_lookup_cbk] libglusterfsclient:
1: (op_num=0) /abc.txt => -1 (No such file or directory)

[2009-07-20 12:24:58] E [libglusterfsclient.c:2447:glusterfs_glh_open]
libglusterfsclient: path lookup failed for (/abc.txt)

 

 

Can you please explain the above errors and what is that causing these
errors? 

 

Thanks and regards,

Sudipto

 

 

 

-----Original Message-----
From: Sudipto Mukhopadhyay 
Sent: Monday, July 20, 2009 3:59 PM
To: Shehjar Tikoo
Cc: service at gluster.com; avati at gluster.com; gluster-users at gluster.org
Subject: RE: [Gluster-users] Regarding 2.0.4 booster

 

Hi Shehjar, 

 

The contents in booster.conf are in two separate lines. 

I will try out the test again by merging the contents of booster.conf
into one single line after I get my nodes back. 

 

Thanks and regards,

Sudipto

 

-----Original Message-----

From: Shehjar Tikoo [mailto:shehjart at gluster.com] 

Sent: Thursday, July 16, 2009 10:08 PM

To: Sudipto Mukhopadhyay

Cc: service at gluster.com; avati at gluster.com; gluster-users at gluster.org

Subject: Re: [Gluster-users] Regarding 2.0.4 booster

 

Sudipto Mukhopadhyay wrote:

> My mistake I meant booster log is not getting generated. 

> 

> Thanks and regards,

> Sudipto

 

 

Hi

 

A few questions. Please see inlined text.

 

> 

> -----Original Message-----

> From: gluster-users-bounces at gluster.org

> [mailto:gluster-users-bounces at gluster.org] On Behalf Of Sudipto

> Mukhopadhyay

> Sent: Tuesday, July 14, 2009 2:07 PM

> To: Shehjar Tikoo

> Cc: avati at gluster.com; gluster-users at gluster.org

> Subject: Re: [Gluster-users] Regarding 2.0.4 booster

> 

> Hi Shehjar, 

> 

> Thanks for looking into this issue. 

> The file abc.txt is getting created; if you look at the C program; the

> following line is basically printing out the file handle on stdout:

> 

> printf ("File handle %d\n",fh);

> 

> But, the booster log is getting generated. 

> 

> Thanks and regards,

> Sudipto 

> 

> -----Original Message-----

> From: Shehjar Tikoo [mailto:shehjart at gluster.com] 

> Sent: Tuesday, July 14, 2009 2:34 AM

> To: Sudipto Mukhopadhyay

> Cc: gluster-users at gluster.org; avati at gluster.com

> Subject: Re: [Gluster-users] Regarding 2.0.4 booster

> 

> Sudipto Mukhopadhyay wrote:

>> Hi,

>> 

>> 

>> 

>> I trying to run some tests w/booster client library and I had to 

>> upgrade the glusterfs to version 2.0.4 from 2.0.2 (due to LD_PRELOAD 

>> failures of the booster client library, 

>> 

>
http://git.savannah.gnu.org/cgit/gluster.git/commit/?id=a3ece0caa52ad2ea

> cf8a8691aaca53295cde972f).

>> 

>> 

>> 

>> 

>> 

>> Now, w/version 2.0.4 the LD_PRELOAD works OK, but the booster logs 

>> are not generating and I am not sure whether booster is working or, 

>> not.

>> 

>> I have the following booster.conf and client vol specification:

>> 

>> 

>> 

>> $cat /etc/glusterfs/booster.conf

>> 

>> /etc/glusterfs/glusterfs-client.vol /mnt/glusterfs glusterfs

>> 

>> subvolume=brick,logfile=/tmp/booster.log,loglevel=DEBUG

>> 

 

Please confirm whether the above content in booster.conf is on

a single line or two separate lines. It should all be on one line for

the logfile setting to be associated with /mnt/glusterfs.

 

>> 

>> 

>> $cat /etc/glusterfs/glusterfs-client.vol

>> 

>> volume brick

>> 

>> type protocol/client

>> 

>> option transport-type tcp/client # for TCP/IP transport

>> 

>> option remote-host 10.16.80.53   # IP address of the server

>> 

>> option remote-subvolume afr      # name of the remote volume

>> 

>> end-volume

>> 

>> 

>> 

>> volume writebehind

>> 

>> type performance/write-behind

>> 

>> option window-size 1MB

>> 

>> subvolumes brick

>> 

>> end-volume

>> 

>> 

>> 

>> 

>> 

>> I have written a simple program to test few system calls and the 

>> booster functionality:

>> 

>> int main() {

>> 

>> 

>> 

>> int fh;

>> 

>> char buffer[65];

>> 

>> 

>> 

>> fh = open("/mnt/glusterfs/abc.txt",O_WRONLY);

>> 

>> if (fh == -1) {

>> 

>> fh = creat("/mnt/glusterfs/abc.txt",O_WRONLY);

>> 

>> }

>> 

>> printf ("File handle %d\n",fh);

>> 

>> close(fh);

>> 

>> 

>> 

>> return 0;

>> 

>> }

>> 

>> 

>> 

>> When I run my program with LD_PRELOAD option, I get the following 

>> message:

>> 

>> 

>> 

>> LD_PRELOAD="/usr/local/lib/glusterfs/glusterfs-booster.so" 

>> /root/fstest/a.out

>> 

>> [2009-07-13 16:19:02] E 

>> [libglusterfsclient.c:2447:glusterfs_glh_open] libglusterfsclient: 

>> path lookup failed for (/abc.txt)

>> 

 

Is the above log message the only message that is being output? Were

there more lines that resembled this log line that you probably

removed for the purpose of this email?

 

Thanks

Shehjar

 

 

>> File handle 4

>> 

>> 

>> 

>> And there is no /tmp/booster.log created. The above log is only 

>> observed while creating the file (in case abc.txt is not present).

>> 

>> Could you please advice on the booster config file and let me know 

>> why I am not seeing any booster log?

>> 

>> 

> I'll check why the booster log is not getting generated.

> In the mean time, can you check if the file abc.txt really does not

> get created on the backend?

> If open is failing, it looks like the fd 4 is being returned by

> creat call.

> 

> -Shehjar

> 

> 

>> Appreciate your help.

>> 

>> 

>> 

>> Thanks and regards,

>> 

>> Sudipto

>> 

>> 

>> 

>> 

>> 

>> 

>> 

>> 

>> 

>
------------------------------------------------------------------------

>> 

>> 

>> _______________________________________________ Gluster-users mailing

>>  list Gluster-users at gluster.org 

>> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users

> 

> 

> _______________________________________________

> Gluster-users mailing list

> Gluster-users at gluster.org

> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users

> 

 



More information about the Gluster-users mailing list