|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaAggrMediaScrub
NAME
Get-NaAggrMediaScrub
SYNOPSIS
Get the status of media scrubbing on the named aggregate, plex, or RAID grou
p.
SYNTAX
Get-NaAggrMediaScrub [[-Name] <String>] [-Controller <NaController>] [<Commo
nParameters>]
DESCRIPTION
Get the status of media scrubbing on the named aggregate, plex, or RAID grou
p. Status includes percentage complete and the media scrub's status.
PARAMETERS
-Name <String>
Name of an existing aggregate, plex, or RAID group, using the following
format:
[/vol/]<aggrname>[<plexinfo>][<groupinfo>]
If no name is given, then status is generated for all RAID groups curren
tly being media-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.ScrubDetailInfo
NOTES
Category: aggr
API: aggr-mediascrub-list-info
-------------- All aggregates --------------
C:\PS>Get-NaAggrMediaScrub | Format-List
List scrub status for all aggregates on the current controller.
PercentageComplete : 96
RaidGroup : /testaggr/plex0/rg0
PercentageCompleteSpecified : True
PercentageComplete : 255
RaidGroup : /aggr0/plex0/rg0
PercentageCompleteSpecified : True
PercentageComplete : 20
RaidGroup : /aggr1/plex0/rg0
PercentageCompleteSpecified : True
RELATED LINKS
Connect-NaController
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|