<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" >Hi,</div>
<div dir="ltr" > </div>
<div dir="ltr" >in current Scale releases, the Samba option 'strict locking' is set to 'auto'. This is a reasonable optimization as documented in 'man smb.conf':</div>
<div dir="ltr" > </div>
<div dir="ltr" ><div>       strict locking (S)</div>
<div>           This is an enumerated type that controls the handling of file<br>           locking in the server. When this is set to yes, the server will<br>           check every read and write access for file locks, and deny access<br>           if locks exist. This can be slow on some systems.</div>
<div>           When strict locking is set to Auto (the default), the server<br>           performs file lock checks only on non-oplocked files. As most<br>           Windows redirectors perform file locking checks locally on oplocked<br>           files this is a good trade off for improved performance.</div>
<div>           When strict locking is disabled, the server performs file lock<br>           checks only when the client explicitly asks for them.</div>
<div>           Well-behaved clients always ask for lock checks when it is<br>           important. So in the vast majority of cases, strict locking = Auto<br>           or strict locking = no is acceptable.</div>
<div> </div>
<div>           Default: strict locking = Auto</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>Do you have a usecase where the default setting does not work and 'strict locking = yes' is required?</div>
<div> </div>
<div>Regards,</div></div>
<div dir="ltr" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" ><br><font size="2" face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" ><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" >Christof Schmitt || IBM || Spectrum Scale Development || Tucson, AZ<br>christof.schmitt@us.ibm.com  ||  +1-520-799-2469    (T/L: 321-2469)</font></font></div></div></div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: "Fey, Christian" <Christian.Fey@sva.de><br>Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>Cc:<br>Subject: [gpfsug-discuss] how to deal with custom samba options in ces<br>Date: Thu, Oct 26, 2017 11:31 PM<br> <br><!--Notes ACF
<meta http-equiv="Content-Type" content="text/html; charset=utf8" >--> <!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit" >
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div><p>Hi all,<o:p></o:p></p>
<p><o:p> </o:p></p>
<p><span lang="EN-US" >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.<o:p></o:p></span></p>
<p><span lang="EN-US" ><o:p> </o:p></span></p>
<p><span lang="EN-US" >It would be possible to set with "net" commands I think but probably this will lead to an unsupported state. Anyone came through this?<o:p></o:p></span></p>
<p><span lang="EN-US" ><o:p> </o:p></span></p>
<p><span style="mso-fareast-language:DE" >Mit freundlichen Grüßen / Best Regards<br><br>Christian Fey<br><br><br>SVA System Vertrieb Alexander GmbH<br>Borsigstraße 14<br>65205 Wiesbaden<br><br>Tel.: +49 6122 536-0<br>Fax: +49 6122 536-399<br>E-Mail: <a href="mailto:christian.fey@sva.de" target="_blank" ><span style="color:blue" >christian.fey@sva.de</span></a><br><a href="http://www.sva.de" target="_blank" >http://www.sva.de</a></span><br><br><br>Geschäftsführung: Philipp Alexander, Sven Eichelbaum<br>Sitz der Gesellschaft: Wiesbaden<br>Registergericht: Amtsgericht Wiesbaden, HRB 10315<o:p></o:p></p>
<p><o:p> </o:p></p></div>
<div id="MIMEAttachInfoDiv" style="display:none" title="octet-stream|smime.p7s" > </div>
<div><font size="2" face="Default Monospace,Courier New,Courier,monospace" >_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank" >http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a></font></div></blockquote>
<div dir="ltr" > </div></div><BR>