10-8 Dell PowerVault 720N, 740N, and 760N System Administrator and Command Reference Guide

&KDQJLQJ2SORFNV6HWWLQJV

To change the oplocks setting of a qtree, follow these steps:
1. Make sure that the cifs.oplocks.enable option is set the way you want.
2. Use the qtree oplocks command, as follows:
TWUHHRSORFNV>QDPH>HQDEOH_GLVDEOH@@
The command takes effect immediately.
NOTE: If you disable the oplocks feature on a qtree, existing oplocks in the qtree are
not broken.

([DPSOH:LWK$TWUHH

To enable oplocks in the /vol/users/docs qtree if oplocks are disabled and the
cifs.oplocks.enable
option is set to On, enter the following command:
qtree oplocks /vol/users/docs enable

([DPSOH:LWK$9ROXPH

To disable oplocks in the entire users volume if oplocks are enabled and the
cifs.oplocks.enable option is set to On, enter the following command:
qtree oplocks /vol/users/ disable
This disables only files and directories that were not in a qtree when oplocks were
enabled.

(IIHFWRIWKHFLIVRSORFNVHQDEOH2SWLRQ

Setting the cifs.oplocks.enable option has the following effects:
If the cifs.oplocks.enable option is set to Off, all oplocks on the filer are
turned off.
If the cifs.oplocks.enable option is set back to On, the setting for each
qtree comes into effect and oplocks are turned on for those qtrees where oplocks
are enabled.
'LVSOD\LQJTWUHH,QIRUPDWLRQ

+RZWR'LVSOD\TWUHH,QIRUPDWLRQ

To display all attributes of all qtrees on a filer, use the qtree command with no
arguments.