Hi,
 
in current Scale releases, the Samba option 'strict locking' is set to 'auto'. This is a reasonable optimization as documented in 'man smb.conf':
 
       strict locking (S)
           This is an enumerated type that controls the handling of file
           locking in the server. When this is set to yes, the server will
           check every read and write access for file locks, and deny access
           if locks exist. This can be slow on some systems.
           When strict locking is set to Auto (the default), the server
           performs file lock checks only on non-oplocked files. As most
           Windows redirectors perform file locking checks locally on oplocked
           files this is a good trade off for improved performance.
           When strict locking is disabled, the server performs file lock
           checks only when the client explicitly asks for them.
           Well-behaved clients always ask for lock checks when it is
           important. So in the vast majority of cases, strict locking = Auto
           or strict locking = no is acceptable.
 
           Default: strict locking = Auto
 
You can change the underlying Samba configuration, but running with a different setting of 'strict locking' has not been tested and is outside of the normal support.
 
Do you have a usecase where the default setting does not work and 'strict locking = yes' is required?
 
Regards,

Christof Schmitt || IBM || Spectrum Scale Development || Tucson, AZ
[email protected]  ||  +1-520-799-2469    (T/L: 321-2469)
 
 
----- Original message -----
From: "Fey, Christian" <[email protected]>
Sent by: [email protected]
To: gpfsug main discussion list <[email protected]>
Cc:
Subject: [gpfsug-discuss] how to deal with custom samba options in ces
Date: Thu, Oct 26, 2017 11:31 PM
 

Hi all,

 

I'm just in the process of migration different samba clusters to ces and I recognized, that some clusters have options set like "strict locking = yes" and I'm not sure how to deal with this. From what I know, there is no "CES way" to set every samba option.

 

It would be possible to set with "net" commands I think but probably this will lead to an unsupported state. Anyone came through this?

 

Mit freundlichen Grüßen / Best Regards

Christian Fey


SVA System Vertrieb Alexander GmbH
Borsigstraße 14
65205 Wiesbaden

Tel.: +49 6122 536-0
Fax: +49 6122 536-399
E-Mail: [email protected]
http://www.sva.de



Geschäftsführung: Philipp Alexander, Sven Eichelbaum
Sitz der Gesellschaft: Wiesbaden
Registergericht: Amtsgericht Wiesbaden, HRB 10315

 

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
 

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

Reply via email to