Table of ContentsLibraryView in Frames

Creating a qtree

You create qtrees using the qtree create command. You can also specify a UNIX-style permission for the new qtree.

Step

  1. Enter the following command:qtree create [-m mode] path

    mode is a UNIX-style octal number that specifies the permissions for the new qtree. If you do not specify a mode, the qtree is created with the permissions specified by the wafl.default_qtree_mode option.

    For more information about the format of the mode number, see your UNIX documentation.

    Note: If you are using this qtree in an NTFS-only environment, you can set the appropriate ACLs after creation using Windows tools.
    path is the path name of the qtree, with the following notes:
    • If you want to create the qtree in a volume other than the root volume, include the volume in the name.
    • If the path name does not begin with a slash (/), the qtree is created in the root volume.
    Note: Qtree path names can be up to 1024 characters long. Avoid using spaces in qtree names. Data ONTAP does not reject qtree names that have spaces, but SnapMirror updates will not work with such qtrees.

Examples

The following command creates the news qtree in the users volume, giving the owner and the owner’s group permission to read, write and execute the qtree:qtree create -m 770 /vol/users/news

The following command creates the news qtree in the root volume:qtree create news

After You Finish

If you want to change the default security style or the default CIFS oplocks setting of the new qtree, you can change it now.