Modifying qtree oplocks settings

When to change oplocks settings

You might want to change qtree oplocks settings when you add or remove software, or when the kind of data you are using changes. For detailed information about oplocks, see "Using oplocks."

Changing oplocks settings

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:
qtree oplocks [name [enable | disable]]

The command takes effect immediately.


Note: If you disable the oplocks feature on a qtree, existing oplocks in the qtree are not broken.


Example with a qtree

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
Example with a volume

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.

Effect of the cifs.oplocks.enable option

Setting the cifs.oplocks.enable option has the following effects:


Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02334
File: qtree6.htm
Last updated: 02/24/99 12:16:56