Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaVol


NAME
Get-NaVol

SYNOPSIS
Get volume status.

SYNTAX
Get-NaVol [[-Names] <String[]>] [-Controller <NaController>] [-WarningAction
<ActionPreference>] [-WarningVariable <String>] [<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
-Names <String[]>


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

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


NOTES


Category: volume
API: volume-list-info

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

C:\PS>Get-NaVol


Get all volumes on the filer.


ChecksumStyle : block
CloneChildren :
CloneParent :
ContainingAggregate : aggr1
DiskCount : 8
FilesTotal : 18366449
FilesUsed : 123
IsChecksumEnabled : True
IsInconsistent : False
IsSnaplock : False
IsUnrecoverable : False
MirrorStatus : unmirrored
Name : vol4
PercentageUsed : 47
PlexCount : 1
Plexes : {/aggr1/plex0}
QuotaInit : 0
RaidSize : 16
RaidStatus : raid_dp,sis
Reserve : 21516005376
ReserveRequired : 21516005376
ReserveUsed : 0
Sis : NetApp.Ontapi.Filer.Volume.Sis
SizeAvailable : 96110596096
SizeTotal : 182536110080
SizeUsed : 86425513984
SnaplockType :
SpaceReserve : volume
SpaceReserveEnabled : False
State : online
Type : flex
Uuid : b01c7f5e-779c-11dd-9119-00a09806c227
IsUnrecoverableSpecified : True
PercentageUsedSpecified : True
SpaceReserveEnabledSpecified : True



RELATED LINKS







 Data ONTAP® PowerShell Toolkit