3ware HTML Bookshelf



3ware® CLI Guide > CLI Syntax Reference > Port Object Commands > /cx/px show attribute [attribute ...]

/cx/px 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.
/cx/px show capacity
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).
Example:
 //localhost> /c0/p5 show capacity
 149.05 GB (312581808 Blocks)
/cx/px show driveinfo
This command applies to the 9690SA only. It displays the following information about the drive:
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.
Additional information is available using the /cx/px show all command.
Example:
 //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
/cx/px show firmware
This command displays the firmware version of the drive attached to the specified port.
Example:
 //localhost> /c0/p5 show firmware
 /c0/p5 Firmware Version = 65.13G65
/cx/px show identify
This command only applies to 9000 series SX/SE/SA model controllers that have chassis control hardware (enclosure services) attached.
This command shows whether the LED of the drive attached to the specified port is set to on or off. For details, see /cx/px set identify=on|off.
Example:
//localhost> /c0/p5 show identify
/c0/p5 Identify Status = on
/cx/px show lspeed
This command only applies to 9000 series SX/SE/SA model controllers.
This command displays the maximum SATA link speed supported by the drive attached to the port and the present SATA link speed setting.
Example:
//localhost> /c0/p5 show lspeed
 /c0/p5 SATA Link Speed Supported = 3.0 Gb/s
 /c0/p5 SATA Link Speed = 3.0 Gb/s
/cx/px show model
This command displays the model of the drive attached to the specified port.
Example:
 //localhost> /c0/p5 show model
 /c0/p5 Model = WDC WD1600BB-00DAA0
/cx/px show ncq
This command only applies to 9000 series SX/SE/SA model controllers.
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.
For queuing to be used, it must be enabled for the unit and supported by the drive.
Queuing information is not available for SAS drives.
Example:
//localhost> /c0/p5 show ncq
 /c0/p5 NCQ Supported = No
 /c0/p5 NCQ Enabled = No
/cx/px show serial
This command displays the serial number of the drive attached to the specified port.
Example:
 //localhost> /c0/p5 show serial
 /c0/p5 Serial = WD-WMACK140649
/cx/px show smart
SMART data is only applicable to SATA drives. It is not available for SAS drives.
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.
The SMART data is displayed in hexadecimal form.
Example:
//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.
/cx/px show status
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.)
Example:
 //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.

Copyright AMCC 2004-2008
To contact Support, log in at https://www.3ware.com

www.3ware.com
1-858-535-6517
1-800-840-6055