beautypg.com

Cx/px show attribute [attribute, Cx/px show driveinfo, Attribute – Avago Technologies 3ware SAS 9750-4i User Manual

Page 113: Show

background image

Port Object Commands

www.lsi.com/channel/products

105

Example for 9750 and 9690SA controllers:

Note that in this case the summary information is in a slightly different format

//localhost> /c3/p1 show

VPort Status Unit Size Type Phy Encl-Slot Model

------------------------------------------------------------------------

p1 OK u0 149.05 GB SATA 0 - WDC WD1600JS-22NCB1a

The above output indicates that virtual port (VPort) 1 is associated with a
SATA disk that has a status of OK and is part of unit 0. It also indicates that it
is associated with controller phy 0, and is directly attached (that is—it is not in
an enclosure).

The VPort number provides a handle by which to identify the drive, even
though the drive may not be directly attached to the controller.

To find the Block and Serial information, use the specific show attribute
command (/cx/px show capacity or /cx/px show serial), or the show all
command.

/c

x

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

/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 only applies to the 9750 and 9690SA controllers. 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.