[Samba] CentOs 5.5 Glusterfs 3.1.0 Samba 3.5 MSOffice Files

Daniel Müller mueller at tropenklinik.de
Wed Feb 9 02:53:57 MST 2011


I did it thank you, Volker:

This is my share definition (especially for msoffice files) working on a
gluster-vol.So you can replicate your data to as many server you want:

  [test]
        path=/mnt/glusterfs/windows/test
        readonly=no
        profile acls = YES
        oplocks=NO <--- This is the most important setting
         posix locking = NO
        level2 oplocks=NO
        #oplocks auf dem share fuer folgende file-types ausschalten
        veto oplock files =
/*.mdb/*.MDB/*.dbf/*.DBF/*.doc/*.docx/*.xls/*.xlsx/*.tmp/*.TMP/?~$*/~$*/*.ex
e/*.com
        write list=@"Domain Users" @"Domain Admins"
        create mask = 2770
        force create mode=2770
        force group= "Domain Users"

-----------------------------------------------
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------

-----Ursprüngliche Nachricht-----
Von: Volker Lendecke [mailto:Volker.Lendecke at SerNet.DE] 
Gesendet: Mittwoch, 9. Februar 2011 09:52
An: Daniel Müller
Cc: samba at lists.samba.org
Betreff: Re: [Samba] CentOs 5.5 Glusterfs 3.1.0 Samba 3.5 MSOffice Files

On Wed, Feb 09, 2011 at 09:31:55AM +0100, Daniel Müller wrote:
> So I do not give up as other users may have the same problems:
> I did a file test.xlsx and it seems samba does a posix lock read
only?!!Why?

Have you taken a look at the smb.conf "posix locking"
option? The posix read lock is not directly related to
oplocks.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen



More information about the samba mailing list