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