|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcSis
NAME
Get-NcSis
SYNOPSIS
Get the SIS (dedupe) status for one or more volumes.
SYNTAX
Get-NcSis [[-Name] <String[]>] [-Vserver <String[]>] [-Enabled [<Boolean>]]
[-VserverContext <String>] [-Attributes <SisStatusInfo>] [-Controller <NcCon
troller[]>] [<CommonParameters>]
Get-NcSis [-VserverContext <String>] -Template [-Controller <NcController[]>
] [<CommonParameters>]
Get-NcSis [-VserverContext <String>] -Query <SisStatusInfo> [-Attributes <Si
sStatusInfo>] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get the SIS (dedupe) status for one or more volumes.
PARAMETERS
-Name <String[]>
The volume(s) to query for SIS status. Data ONTAP wildcards are permitt
ed.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Vserver <String[]>
Restrict results to the specified vservers. Data ONTAP wildcards are pe
rmitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Enabled [<Boolean>]
Restrict results to the specified state.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Attributes <SisStatusInfo>
For improved scalability in large clusters, provide a SisStatusInfo obje
ct with various fields set to indicate which fields to return on all obj
ects. Undesired fields should remain set to null. Use "Get-NcSis -Temp
late" to get the initially empty SisStatusInfo object. If not specified
, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Template
Specify to get an empty SisStatusInfo object for use with advanced queri
es involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <SisStatusInfo>
For advanced queries, provide a SisStatusInfo object with various fields
set to indicate which records to retrieve. Other fields should remain
set to null. Use "Get-NcSis -Template" to get the initially empty SisSt
atusInfo object.
Required? true
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.C.Types.Sis.SisStatusInfo
NOTES
Category: sis
API: sis-get-iter
Family: cluster, vserver
-------------- Example 1 --------------
C:\PS>Get-NcSis *Datastore*
Display dedupe status on all volumes with names matching "*Datastore*".
Path State Status ScheduleOrPolicy Progress
---- ----- ------ ---------------- --------
/vol/cModeDatastore enabled idle sun-sat@0 Idle for 00:47:23
/vol/cmodeDatastore1 enabled idle sun-sat@0 Idle for 00:47:22
/vol/cModeDatastore2 enabled idle sun-sat@0 Idle for 00:47:21
/vol/cModeDatastorezz enabled idle sun-sat@0 Idle for 00:47:19
-------------- Example 2 --------------
C:\PS>Get-NcSis -Enabled $false -Vserver costea01
Get the SIS status of all volumes on vserver 'costea01' having dedupe disabl
ed.
Path State Status ScheduleOrPolicy Progress
---- ----- ------ ---------------- --------
/vol/cModeDatastore disabled idle sun-sat@0 Idle for 00:48:50
/vol/cmodeDatastore1 disabled idle sun-sat@0 Idle for 00:48:49
/vol/cModeDatastore2 disabled idle sun-sat@0 Idle for 00:48:48
/vol/cModeDatastorezz disabled idle sun-sat@0 Idle for 00:48:46
/vol/pleaseWorkDatastore disabled idle sun-sat@0 Idle for 00:48:40
-------------- Example 3 --------------
C:\PS>$q = Get-NcSis -Template
$q.LastOpState = "!Success"
Get-NcSis -Query $q | Select Path, LastOpState, LastOpError
Using an advanced query, list the volumes where the last dedupe operation di
d not succeed.
Path LastOpState LastOpError
---- ----------- -----------
/vol/testvol2 Failure Operation was stopped
RELATED LINKS
Set-NcSis
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|