|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaVfilerStorage
NAME
Set-NaVfilerStorage
SYNOPSIS
Add or remove storage units from a vfiler.
SYNTAX
Set-NaVfilerStorage [-Name] <String> [-AddStorage <String[]>] [-RemoveStorag
e <String[]>] [-Controller <NaController>] [-WarningAction <ActionPreference
>] [-WarningVariable <String>] [<CommonParameters>]
DESCRIPTION
Add or remove storage units from a vfiler.
PARAMETERS
-Name <String>
The name of the vfiler.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-AddStorage <String[]>
List of volume or qtree storage paths to be added, in the form "/vol/<vo
lume>/...". The "/vol/" prefix is added automatically if not specified.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RemoveStorage <String[]>
List of volume or qtree storage paths to be removed, in the form "/vol/<
volume>/...". The "/vol/" prefix is added automatically if not specifie
d.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningAction <ActionPreference>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningVariable <String>
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
NetApp.Ontapi.Filer.Vfiler73.VfilerInfo
NOTES
Category: vfiler
API: vfiler-add-storage, vfiler-remove-storage
-------------- Example 1 --------------
C:\PS>Set-NaVfilerStorage vfiler2 -AddStorage testvol3
Add volume 'testvol3' to vfiler 'vfiler2'.
AdminHost : x3550rre7
DnsInfo : NetApp.Ontapi.Filer.Vfiler73.DnsInfo
Ipspace : default-ipspace
Name : vfiler2
NisInfo : NetApp.Ontapi.Filer.Vfiler73.NisInfo
Uuid : 6fdc971a-3366-11df-87b2-00a09806c227
Vfnets : {NetApp.Ontapi.Filer.Vfiler73.VfnetInfo, NetApp.Ontapi.Filer.Vfi
ler
73.VfnetInfo, NetApp.Ontapi.Filer.Vfiler73.VfnetInfo}
Vfstores : {NetApp.Ontapi.Filer.Vfiler73.VfstoreInfo, NetApp.Ontapi.Filer.V
fil
er73.VfstoreInfo}
RELATED LINKS
Get-NaVfiler
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|