|
|
Data ONTAP® PowerShell Toolkit
|
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>] [-WarningA
ction <ActionPreference>] [-WarningVariable <String>] [-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 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
-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 : 1264914351
PercentageComplete : 0
RaidGroup : /aggr2/plex0/rg0
LastScrubTimestampSpecified : True
PercentageCompleteSpecified : True
IsSuspended : False
LastScrubTimestamp : 1264914616
PercentageComplete : 0
RaidGroup : /aggr0/plex0/rg0
LastScrubTimestampSpecified : True
PercentageCompleteSpecified : True
IsSuspended : False
LastScrubTimestamp : 1264914571
PercentageComplete : 0
RaidGroup : /aggr1/plex0/rg0
LastScrubTimestampSpecified : True
PercentageCompleteSpecified : True
RELATED LINKS
Suspend-NaAggrScrub
Resume-NaAggrScrub
Stop-NaAggrScrub
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|