Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Start-NaAggrScrub


NAME
Start-NaAggrScrub

SYNOPSIS
Start parity scrubbing on the named aggregate, plex, or RAID group.

SYNTAX
Start-NaAggrScrub [[-Name] <String>] [-Controller <NaController>] [-WhatIf]
[-Confirm] [<CommonParameters>]


DESCRIPTION
Start parity scrubbing on the named aggregate, plex, or RAID group. Parity
scrubbing compares the data disks to the parity disk in a RAID group, correc
ting the parity disk's contents as necessary.

If no name is given, then parity scrubbing is started on all online aggregat
es. If an aggregate name is given, scrubbing is started on all RAID groups
in the aggregate. If a plex name is given, scrubbing is started on all RAID
groups contained in the plex. If a RAID group name is given, scrubbing is s
tarted only on that group. Use "Get-NaAggrScrub" to check scrubbing status.


PARAMETERS
-Name <String>
Name of the aggregate, plex, or RAID group to scrub, using the following
format:

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

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

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


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.ScrubDetailInfo


NOTES


Category: aggr
API: aggr-scrub-start

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

C:\PS>Start-NaAggrScrub


Start scrubbing all aggregates.


IsSuspended : False
LastScrubTimestamp : 1280033208
LastScrubTimestampDT : 7/25/2010 4:46:48 AM
PercentageComplete : 0
RaidGroup : /aggr0/plex0/rg0
LastScrubTimestampSpecified : True
PercentageCompleteSpecified : True

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



RELATED LINKS
Suspend-NaAggrScrub
Resume-NaAggrScrub
Stop-NaAggrScrub







 Data ONTAP® PowerShell Toolkit