Installation manual

Adding a Managed Volume
Setting CIFS Options
CLI Storage-Management Guide 9-19
bstnA6k(gbl-ns-vol[insur~/claims])# cifs oplocks-disable
bstnA6k(gbl-ns-vol[insur~/claims])# ...
Allowing the Volume to Automatically Disable Oplocks
You can configure the managed volume to automatically disable oplocks for a CIFS
client that times out in response to an “oplock break” command. The “oplock break”
command informs a client that it must finish its writes and release the oplock, so that
another client can write to the file. For each client that does not respond in 10 seconds
or less, the volume disables oplocks for 10 minutes, then re-enables oplocks for that
client and tries again. The volume manages oplocks on a client-by-client basis.
To permit the volume to disable oplocks for misbehaving clients, use the optional
auto
flag in the
cifs oplocks-disable command. For example, the following command
sequence allows the “medarcv~/rcrds” volume to automatically disable oplocks:
bstnA6k(gbl)# namespace medarcv
bstnA6k(gbl-ns[medarcv])# volume /rcrds
bstnA6k(gbl-ns-vol[medarcv~/rcrds])# cifs oplocks-disable auto
bstnA6k(gbl-ns-vol[medarcv~/rcrds])# ...
Reinstating Oplock Support
Use no cifs oplocks-disable to support CIFS oplocks in the current managed volume.
For example, the following command sequence enables oplocks in the “/rcrds”
volume:
bstnA6k(gbl)# namespace medarcv
bstnA6k(gbl-ns[medarcv])# volume /rcrds
bstnA6k(gbl-ns-vol[medarcv~/rcrds])# no cifs oplocks-disable
bstnA6k(gbl-ns-vol[medarcv~/rcrds])# ...