Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Get-NaAggrScrub


NAME
Get-NaAggrScrub

SYNOPSIS
Get the status of parity scrubbing on the named aggregate, plex, or RAID gro
up.

SYNTAX
Get-NaAggrScrub [[-Name] <String>] [-Controller <NaController>] [<CommonPara
meters>]


DESCRIPTION
Get the status of parity scrubbing on the named aggregate, plex, or RAID gro
up. Status includes percentage complete and the scrub's suspended status (i
f appropriate).


PARAMETERS
-Name <String>
Name of an existing aggregate, plex, or RAID group using the following f
ormat:

[/vol/]<aggrname>[<plexinfo>][<groupinfo>]

If no name is given, then status is generated for all RAID groups curren
tly being scrubbed.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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
NetApp.Ontapi.Filer.Volume.MediascrubDetailInfo


NOTES


Category: aggr
API: aggr-scrub-list-info

-------------- Example 1 --------------

C:\PS>Get-NaAggrScrub aggr1


Get scrub status for aggregate 'aggr1'.


IsSuspended : False
LastScrubTimestamp : 1280033111
LastScrubTimestampDT : 7/25/2010 4:45:11 AM
PercentageComplete : 0
RaidGroup : /aggr1/plex0/rg0
LastScrubTimestampSpecified : True
PercentageCompleteSpecified : True



RELATED LINKS
Get-NaAggrMediaScrub
Get-NaAggr







 Data ONTAP® PowerShell Toolkit