简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
创建ONTAP SMB qtrees
您可以使用创建一个qtree以包含您的数据、并指定其属性 volume qtree create 命令:
开始之前
-
要包含新 qtree 的 SVM 和卷必须已存在。
-
SVM安全模式必须为NTFS、并且应设置并运行SMB。
步骤
-
创建 qtree :
volume qtree create -vserver vserver_name { -volume volume_name -qtree qtree_name | -qtree-path qtree path } -security-style ntfs您可以将卷和qtree指定为单独的参数、也可以采用格式指定qtree路径参数
/vol/volume_name/_qtree_name。 -
验证是否已使用所需的接合路径创建 qtree :
volume qtree show -vserver vserver_name { -volume volume_name -qtree qtree_name | -qtree-path qtree path }
示例
以下示例将在SVM vs1.example.com上创建一个名为qt01的qtree、此qtree具有接合路径 /vol/data1:
cluster1::> volume qtree create -vserver vs1.example.com -qtree-path /vol/data1/qt01 -security-style ntfs
[Job 1642] Job succeeded: Successful
cluster1::> volume qtree show -vserver vs1.example.com -qtree-path /vol/data1/qt01
Vserver Name: vs1.example.com
Volume Name: data1
Qtree Name: qt01
Actual (Non-Junction) Qtree Path: /vol/data1/qt01
Security Style: ntfs
Oplock Mode: enable
Unix Permissions: ---rwxr-xr-x
Qtree Id: 2
Qtree Status: normal
Export Policy: default
Is Export Policy Inherited: true