[Gluster-users] Issue with Samba over Gluster

Irshad Ahmed irshad2005 at gmail.com
Wed Jul 14 07:53:01 UTC 2010


Pavan,

As i said before that i cannot switch to gluster 3.0.5 as most of my
applications dont work properly in 3.0.5 so i am giving u all the info
required using 3.0.4 version.
I used to get the same issue with 3.0.5 also with samba.
Here are the trace logs : http://dpaste.com/217973/
I have attached core dump file.
Please have a look and reply.

Irshad

On Tue, Jul 13, 2010 at 1:10 PM, Irshad Ahmed <irshad2005 at gmail.com> wrote:

> Thanx....I will surely do what you have asked.
> I was using 3.0.5...But had to remove it as my Jira Atlassian applications
> were crashing and i dont know why.
> So reverted back to 3.0.4 and they started working normally.
> Whenever i mounted my gluster volume it used to show split brain afr error
> in the logs.
> But as far as samba is concerned it not working in 3.0.4 nor in 3.0.5.
> I will send in logs asap.
>
> Irshad
>
> On Tue, Jul 13, 2010 at 1:07 PM, Pavan Sondur <pavan at gluster.com> wrote:
>
>> Hi Irshad,
>> Are you using GlusterFS 3.0.5? If not, give 3.0.5 a try and let us know
>> how it goes. If you run into this problem, try capturing some data which can
>>  be useful for debugging -
>> * Use 'option trace on' in the locks translator in the vol file
>>  The will print debug info in the log (in normal logging mode).
>> * If users are experiencing hung like behavior, initiate a process state
>> dump -
>>  kill -USR1 <pid of glusterfs>
>>  This will dump the state of glusterfs in /tmp/glusterdump.<pid>
>>
>> Send us the state dump and the logs if you run into the issues you
>> mentioned.
>>
>> Pavan
>> ----- Original Message -----
>> From: "Irshad Ahmed" <irshad2005 at gmail.com>
>> To: "Gluster General Discussion List" <gluster-users at gluster.org>
>> Sent: Sunday, July 11, 2010 10:41:43 AM
>> Subject: [Gluster-users] Issue with Samba over Gluster
>>
>> Hey guys,
>>
>> I am facing an issue with samba.
>> When i expose a gluster volume using samba so my windows users can connect
>> to it.
>> My windows users normally use Microsoft Office and some use OpenOffice as
>> they store all Excel/PPT/Word file in samba share.
>> Users who use OpenOffice are able to work properly without any issues.
>> But users who use Microsoft Office are not able to even open the files
>> exposed by samba.
>> When they try to open a file they get downloading file and then it
>> timeouts
>> and gives an error cannot read from source.
>>
>> This is my Gluster Server Config
>>
>> # Filestore Volume to be mounted
>> volume gluster-filestore-data
>>  type storage/posix
>>  option directory /data/mpath2/filestore-data
>> end-volume
>>
>> volume gluster-filestore-data-lock
>>  type features/locks
>>  subvolumes gluster-filestore-data
>> end-volume
>>
>> volume gluster-filestore-data-brick
>>  type performance/io-threads
>>  option thread-count 16
>>  subvolumes gluster-filestore-data-lock
>> end-volume
>>
>> volume gluster-filestore-data-server
>>  type protocol/server
>>  option transport-type tcp
>>  option transport.socket.listen-port 7001
>>  option auth.addr.gluster-filestore-data-brick.allow 10.15.*
>>  subvolumes gluster-filestore-data-brick
>> end-volume
>>
>> Gluster Client Config
>>
>> volume gluster-filestore-data-1
>>  type protocol/client
>>  option transport-type tcp
>>  option remote-host 10.15.6.10
>>  option remote-port 7001
>>  option remote-subvolume gluster-filestore-data-brick
>> end-volume
>>
>> volume gluster-filestore-data-2
>>  type protocol/client
>>  option transport-type tcp
>>  option remote-host 10.15.6.11
>>  option remote-port 7001
>>  option remote-subvolume gluster-filestore-data-brick
>> end-volume
>>
>> volume replicate
>>  type cluster/replicate
>>  subvolumes gluster-filestore-data-1 gluster-filestore-data-2
>> end-volume
>>
>> volume writebehind
>>  type performance/write-behind
>>  option cache-size 1MB
>>  subvolumes replicate
>> end-volume
>>
>> volume cache
>>  type performance/io-cache
>>  option cache-size 512MB
>>  subvolumes writebehind
>> end-volume
>>
>> I tested samba without gluster and it works fine so this is not a samba
>> issue.
>> I did some more testing to find out what happening with samba over
>> gluster.
>> I check the logs of samba and when i access files using MS Office i get
>> oplock errors.
>> I tried disabling oplock and MS Office application was able to open the
>> file
>> but in read-only mode but OpenOffice stopepd working now.
>> If i enable oplocks everything started working other than MS Office.
>> I dont see any kind of crash logs or any other logging in gluster logs.
>>
>> Any help please ????
>>
>> --
>> Irshad Ahmed
>>
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>>
>
>
>
> --
> Irshad Ahmed
>



-- 
Irshad Ahmed


More information about the Gluster-users mailing list