Re: Doesn't work well with SAMBA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Anush,

The conf. files are in the follow. And I have tried to modify the method�fuse_statfs in 3.2.4 like this:�
�� 2297 | � � � �ret = fuse_loc_fill (&state->loc, state, finh->nodeid, 0, NULL); �
Because I also test 3.3beta2, and it sets the ino as the finh>nodeid instead of 1.

Now, it is getting better, when I create, remove, modify folders, doc and excel files, the folder can refresh itself automatically. But still sometimes failed to open files by MS-Office.�

Here is the samba conf. file:
debian04:~# cat /etc/samba/smb.conf

[aaa]
� � � � comment = Public Directory
� � � � path = /home/guest/Public
� � � � browseable = yes
valid users = guest
� � � � writable = yes
� � � � write list = guest,@guest
� � � � admin users = guest,@guest
� � � � guest ok = yes
� � � � create mask = 0777
� � � � force create mask = 0777
////////////////////////////////////////////////////////

And server conf. files
debian04:/usr/local/workspace/server01# cat server.vol�
volume posix1
� type storage/posix
� option directory /usr/local/workspace/server01_share/
end-volume

volume locks1
� � type features/locks
� � subvolumes posix1
end-volume

volume brick1
� � type performance/io-threads
� � option thread-count 8
� � subvolumes locks1
end-volume

volume server-tcp
� � type protocol/server
� � option transport-type tcp
� � option auth.addr.brick1.allow *
� � option transport.socket.listen-port 10004
� � option transport.socket.nodelay on
� � subvolumes brick1
end-volume
----------------------------------------
debian04:/usr/local/workspace# cat server02/server.vol�
volume posix1
� type storage/posix
� option directory /usr/local/workspace/server02_share/
end-volume

volume locks1
� � type features/locks
� � subvolumes posix1
end-volume

volume brick1
� � type performance/io-threads
� � option thread-count 8
� � subvolumes locks1
end-volume

volume server-tcp
� � type protocol/server
� � option transport-type tcp
� � option auth.addr.brick1.allow *
� � option transport.socket.listen-port 10005
� � option transport.socket.nodelay on
� � subvolumes brick1
end-volume
///////////////////////////////////////////////////////////////

The client conf files:
debian04:/usr/local/workspace# cat client/client.vol
volume node-1-10004
� � type protocol/client
� � option transport-type tcp
� � option remote-host 127.0.0.1
� � option transport.socket.nodelay on
� � option remote-port 10004
� � option remote-subvolume brick1
end-volume

volume node-1-10005
� � type protocol/client
� � option transport-type tcp
� � option remote-host 127.0.0.1
� � option transport.socket.nodelay on
� � option remote-port 10005
� � option remote-subvolume brick1
end-volume

volume distribute
� � type cluster/dht
� � option layout-version 1
� � option min-free-disk 5%
� � option lookup-unhashed on
� � subvolumes node-1-10005 node-1-10004
end-volume
//////////////////////////////////////////////

debian04:/usr/local/workspace# uname �-a
Linux debian04 2.6.26-1-amd64 #1 SMP Fri Mar 13 17:46:45 UTC 2009 x86_64 GNU/Linux
debian04:/usr/local/workspace# smbd --version
Version 3.2.5

I mount it on WindowsXP, and operate by MS-office 2007.

////////////////////////////////////////////////

Thank you

Dan

On Thu, Nov 3, 2011 at 5:10 PM, Anush Shetty <anush@xxxxxxxxxxx> wrote:
Hi Daniel,

Can you please paste your samba conf file and� "gluster volume info" output here.

-
Anush

From: gluster-devel-bounces+anush=zresearch.com@xxxxxxxxxx [gluster-devel-bounces+anush=zresearch.com@xxxxxxxxxx] on behalf of Daniel Wong [wangjinxin.gluster@xxxxxxxxx]
Sent: 02 November 2011 17:49:00
To: gluster-devel@xxxxxxxxxx
Subject: Doesn't work well with SAMBA

Hello,

I am using GlusterFS 3.2.4. When it is shared by SAMBA, on the windows client, it doesn't works well, the folder has to be refreshed manually for adding, renaming and removing, sometimes the MS office doc can't be�opened.�

Could you help me with this?

Thanks a lot

Daniel


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux