|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: New-NaQtree
NAME
New-NaQtree
SYNOPSIS
Creates a new qtree.
SYNTAX
New-NaQtree [-Path] <String> [-Mode <String>] [-Controller <NaController>] [
<CommonParameters>]
DESCRIPTION
Creates a new qtree.
PARAMETERS
-Path <String>
The path of the qtree to create, in the form /vol/<volume>/<qtree>.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Mode <String>
The file permission bits of the qtree. Similar to UNIX permission bits:
0755 gives read/write/execute permissions to owner and read/execute to g
roup and other users. It consists of 4 octal digits derived by adding up
bits 4, 2, and 1. Omitted digits are assumed to be zeros. First digit s
elects the set user ID (4), set group ID (2), and sticky (1) attributes.
The second digit selects permissions for the owner of the file: read (4
), write (2), and execute (1); the third selects permissions for other u
sers in the same group; the fourth for other users not in the group. If
this argument is missing, use the default value specified in the option
"wafl.default_qtree_mode".
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.Types.Qtree.QtreeInfo
NOTES
Category: qtree
API: qtree-create
-------------- Example 1 --------------
C:\PS>New-NaQtree /vol/vol2/qtree1
Create qtree 'qtree1' on volume 'vol2'.
Id : 1
Oplocks : enabled
Qtree : qtree1
SecurityStyle : ntfs
Status : normal
Volume : vol2
RELATED LINKS
Get-NaQtree
Remove-NaQtree
Rename-NaQtree
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|