NetApp

Get Flash Accel data device attributes cmdlet
The Get-FADevice cmdlet gets the attributes of the data devices managed by Flash Accel.
Syntax
Get-FaDevice

[
-Disks String []]
[
-NaaIds String []]
[
-Metrics [-Metrics]]
[
-Detailed [SwitchParameter]]
[
-ComputerName String]
[
-Credential PsCredential]
[
CommonParameters]
Description
The Get-FADevice cmdlet gets the attributes of the data devices managed by Flash Accel. To get information for a remote computer, use the ComputerName parameter. The command uses WMI to gather data remotely and locally.
Parameters
-Disks String []
Displays a list of disks with the specified DiskId value, such as "disk0,disk1". If the Disks or the NaaIds parameter is not specified, the operation is performed on all devices.
-NaaIds String []
Displays a list of disks with the specified NaaId value, such as "6000c2a4caae4b29aa930b1e41708d69". If the Disks or the NaaIds parameter is not specified, the operation is performed on all devices.
-Metrics [SwitchParameter]
Displays performance metrics of the data devices.
-Detailed [SwitchParameter]
Displays all available attributes of the data device including performance metrics of the data device.
-ComputerName String
Specifies a remote Windows computer on which you want to run the command. If you do not use this parameter, the command runs on the local computer. The value can be a fully qualified domain name or an IP address. When the remote computer is in a different domain from the local computer, you must use a fully qualified domain name.
-Credential PsCredential
Specifies a user account that you want to use to run this command. An administrative-level user account is required. If you do not use this parameter, the command runs under the user account with which you are currently logged in. Type a user name, such as "User01", "Domain01\User01", or "User@example.com". You can also enter a PSCredential object, such as an object that is returned by the Get-Credential cmdlet. When you type a user name, you are prompted for a password.
This cmdlet supports the following common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type:
get-help about_commonparameters
Example 6. Example: Get basic data device attributes
The following example gets basic information of the all data devices managed by Flash Accel from the local computer:
C:\PS>Get-FADevice

Disk : Disk0
SerialNumber : 6000c2a4caae4b29aa930b1e41708d69
NaaId : 6000c2a4caae4b29aa930b1e41708d69
VendorId : VMware
ProductId : Virtual disk
ProductRevision : 1.0
DeviceAdminState : Disabled
DeviceOperationalState : Disabled
OperStateMessage :
CacheMode : WriteThru
PerfEnabled : False
SCSIAddress : 00000000
SectorSize : 512
LogicalBlockAddress : 62914559
LastGenId : 0

Disk : Disk1
SerialNumber : 6000c254a0d548b7a04906574ed73eb6
NaaId : 6000c254a0d548b7a04906574ed73eb6
VendorId : VMware
ProductId : Virtual disk
ProductRevision : 1.0
DeviceAdminState : Disabled
DeviceOperationalState : Disabled
OperStateMessage :
CacheMode : WriteThru
PerfEnabled : False
SCSIAddress : 00000100
SectorSize : 512
LogicalBlockAddress : 20971519
LastGenId : 0
Example 7. Example: Get detailed attributes from a remote computer
The following example gets the detailed attributes of the data device "Disk0" managed by Flash Accel on computer "server01". Because no credentials are supplied, the current user account is used to log in.
C:\PS>Get-FADevice -Detailed -disks disk0 -ComputerName server01

Disk : Disk0
SerialNumber : 6000c2a4caae4b29aa930b1e41708d69
VendorId : VMware
ProductId : Virtual disk
ProductRevision : 1.0
NaaId : 6000c2a4caae4b29aa930b1e41708d69
DeviceAdminState : Disabled
DeviceOperationalState : Disabled
OperStateMessage :
CacheMode : WriteThru
PerfState : Disabled
SCSIAddress : 00000000
SectorSize : 512
LogicalBlockAddress : 62914559
LastGenId : 0
ReadOps : 0
SkippedReadOps : 0
ReadLatencyPerOp : 0
ReadBlocks : 0
ReadLatencyPerBlock : 0
ReadBytes : 0
ReadLargeCount : 0
ReadMediumCount : 0
ReadSmallCount : 0
ReadXLargeCount : 0
WriteOps : 0
SkippedWriteOps : 0
WriteLatencyPerOp : 0
WriteBlocks : 0
WriteLatencyPerBlock : 0
WriteBytes : 0
WriteLargeCount : 0
WriteMediumCount : 0
WriteSmallCount : 0
WriteXLargeCount : 0
Hits : 0
HitOps : 0
Misses : 0
MissOps : 0
DiskReadsReplaced : 0
Insertions : 0
Invalidates : 0
AvgHitLatency : 0
AvgMissLatency : 0
Population : 0
ChecksumFailures : 0
FailedReadOps : 0
FailedWriteOps : 0
Parent Topic: Flash Accel PowerShell cmdlets


Was this topic helpful? Send comments to NetApp.