|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaDisk
NAME
Get-NaDisk
SYNOPSIS
Get disk status information from RAID.
SYNTAX
Get-NaDisk [[-Names] <String[]>] [-Controller <NaController>] [<CommonParame
ters>]
DESCRIPTION
Get disk status information from RAID. Only disks owned by the filer or its
partner are eligible for inclusion in the returned list. To obtain informa
tion about disks connected to the filer but not owned by the local filer or
its CFO partner, use the "Get-NaDiskOwner" API.
PARAMETERS
-Names <String[]>
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
DataONTAP.Types.Disk.DiskDetailInfo
NOTES
Category: disk
API: disk-list-info
-------------- Example 1 --------------
C:\PS>Get-NaDisk
Get all disks.
-------------- Example 2 --------------
C:\PS>Get-NaDisk 0a.24
Get disk named '0a.24'.
Aggregate : aggr1
Bay : 8
BlocksRead : 1676026176
BlocksWritten : 3397624
BrokenDetails :
BytesPerSector : 520
ChecksumCompatibility : zoned/block
CopyDestination :
CopyPercent :
DiskModel : X274_S10K7146F10
DiskType : FCAL
DiskUid : 20000018:628493E3:00000000:00000000:0000000
0:00000000:00000000:00000000:00000000:00000000
FirmwareRevision : NA07
GrownDefectListCount : 0
HostAdapter : 0a
Id : 1638401
IsDynamicallyQualified : False
IsOffline :
IsPrefailed : False
IsReplacing : False
IsZeroed :
Name : 0a.24
PhysicalBlocks : 280790184
PhysicalSpace : 143764574208
Plex : plex0
Pool : Pool0
Port : A
PortName : FC:A
PoweronHours :
PoweronHoursTS :
RaidGroup : rg0
RaidState : present
RaidType : data
RawDiskSectors : 280790184
ReconstructionPercent :
Rpm : 10000
ScrubCount : 69
ScrubLastDone : 0
ScrubLastDoneTS : 00:00:00
SecondaryName :
SecondaryPort :
SerialNumber : 3KS6650J000097311W0S
Shelf : 1
ShmTimeInterval : 3417951
ShmTimeIntervalTS : 39.13:25:51
UsedBlocks : 278528000
UsedSpace : 142606336000
VSeriesDetailInfo :
VendorId : NETAPP
Volume :
ZeroingPercent :
CopyPercentSpecified : False
IsOfflineSpecified : False
IsPrefailedSpecified : True
IsReplacingSpecified : True
IsZeroedSpecified : False
PoweronHoursSpecified : False
ReconstructionPercentSpecified : False
RpmSpecified : True
ZeroingPercentSpecified : False
-------------- Example 3 --------------
C:\PS>(Get-NaDisk 0a.*).Count
Get the number of disks on adapter 0a.
14
RELATED LINKS
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|