|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaVol
NAME
Get-NaVol
SYNOPSIS
Get volume status.
SYNTAX
Get-NaVol [[-Name] <String[]>] [-Aggregate <String>] [-Terse] [-Controller <
NaController>] [<CommonParameters>]
DESCRIPTION
Get volume status. Note that all RAID-related status items (e.g., 'raid-siz
e', 'raid-status', 'checksum-style') reported for a flexible volume actually
describe the state of its containing aggregate.
PARAMETERS
-Name <String[]>
The name of one or more volumes to get. Wildcards are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Aggregate <String>
Restrict results to the specified aggregate. Wildcards are permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Terse
If specified, omit retrieving some volume attributes, including "RaidGro
ups" in the "Plexes" array, "SnapAutoDelete", and "AutoSize". Use when
retrieving a large number of volumes and these attributes are not necess
ary.
Required? false
Position? named
Default value
Accept pipeline input? false
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
DataONTAP.Types.Volume.VolumeInfo
NOTES
Category: volume
API: volume-list-info-iter-start, volume-list-info-iter-next, volume-lis
t-info-iter-end, volume-list-info
-------------- Example 1 --------------
C:\PS>Get-NaVol
Get all volumes on the filer.
DedupeEnabled : True
ChecksumStyle : block
CloneChildren :
CloneParent :
ContainingAggregate : aggr1
DiskCount : 8
FilesTotal : 622580
FilesUsed : 155
IsChecksumEnabled : True
IsInconsistent : False
IsSnaplock : False
IsUnrecoverable : False
MirrorStatus : unmirrored
Name : testvol
PercentageUsed : 0
PlexCount : 1
Plexes : {/aggr1/plex0}
QuotaInit : 0
RaidSize : 16
RaidStatus : raid_dp,sis
Reserve : 0
ReserveRequired : 0
ReserveUsed : 0
Sis : idle
SizeAvailable : 17175904256
SizeTotal : 17179869184
SizeUsed : 3964928
SnaplockType :
SpaceReserve : volume
SpaceReserveEnabled : True
State : online
Type : flex
Uuid : ac4b29ba-3293-11df-87b2-00a09806c227
IsUnrecoverableSpecified : True
PercentageUsedSpecified : True
SpaceReserveEnabledSpecified : True
RELATED LINKS
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|