/cx/p
x show
attribute [
attribute ...]
This command shows the current setting of the given attributes on the specified port or drive. One or many attributes can be requested. Specifying an invalid attribute will terminate the loop. Possible attributes are: capacity, firmware, identify (9000 series SX/SE/SA only), lspeed (9000 series SX/SE/SA only), model, ncq (9000 series SX/SE/SA only), serial, smart (SATA only), and status.
This command displays the capacity of the drive attached to the specified port in two formats—GB and blocks. Note that of this version, the GB format is computed based on division by 1000 (not 1024).
//localhost> /c0/p5 show capacity
149.05 GB (312581808 Blocks)
Drive Type can be either SAS or SATA.
Interface Type can be either Direct or Expander. This indicates how the drive is connected to the controller.
Drive Ports indicates the number of physical ports on the drive. Can be 1 or 2, depending on whether the drive is a dual-ported drive. SAS drives can be either single or double ported, while SATA drives have only one port.
Drive Connections indicates the number of connections from the controller to the drive. Can be either 1 or 2.
//localhost> /c3/p4 show driveinfo
/c3/p4 Drive Type = SAS
/c3/p4 Interface Type = Direct
/c3/p4 Drive Ports = 2
/c3/p4 Drive Connections = 1
//localhost> /c0/p5 show firmware
/c0/p5 Firmware Version = 65.13G65
//localhost> /c0/p5 show identify
/c0/p5 Identify Status = on
This command displays the maximum SATA link speed supported by the drive attached to the port and the present SATA link speed setting.
//localhost> /c0/p5 show lspeed
/c0/p5 SATA Link Speed Supported = 3.0 Gb/s
/c0/p5 SATA Link Speed = 3.0 Gb/s
//localhost> /c0/p5 show model
/c0/p5 Model = WDC WD1600BB-00DAA0
This command displays the NCQ (Native Command Queueing) information for the drive attached to the specified port, including whether NCQ is supported by the drive, and whether it is enabled at the drive.
//localhost> /c0/p5 show ncq
/c0/p5 NCQ Supported = No
/c0/p5 NCQ Enabled = No
//localhost> /c0/p5 show serial
/c0/p5 Serial = WD-WMACK140649
This command extracts SMART (Self Monitoring Analysis and Reporting) data from the specified disk. Because the data is extracted live from the disk, this command can be used to get the most recent data about the presence or absence of a disk.
//localhost> /c0/p5 show smart
/c0/p5 Drive SMART Data:
10 00 01 0B 00 C8 C8 00 00 00 00 00 00 00 03 07
00 9A 96 BC 14 00 00 00 00 00 04 32 00 64 64 7A
00 00 00 00 00 00 05 33 00 C8 C8 00 00 00 00 00
...
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2C
|
Note: The SMART data is not decoded. If the drive attached to the specified port is not present or if there are cabling problems reaching the drive, CLI will return an error. This can be one way of detecting whether or not a drive is present.
|
This command displays the status of the drive attached to the specified port. (Definitions of the drive statuses are available under
Drive Statuses in the
3ware SAS/SATA RAID Software User Guide, Version 9.5.1.)
//localhost> /c0/p5 show status
/c0/p5 Status = OK
Note: This command only returns the status pertaining to the drive of the specified port. Its intended use is not for determining the status of a drive relative to a unit (for that, please use
/cx/px show). For example, if a unit is DEGRADED and a drive is the degradation point of that unit, the output of this command would not show DEGRADED as the command
“/cx/px show” would. Note also the difference that this command only shows the status of the drive; it does not contain other information such as unit, type, size, and so forth.