ONTAP 9.13.1 commands

storage shelf drawer show-phy

Display a list of PHYs per drawer

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The storage shelf drawer show-phy command displays information for drawer PHYs in the storage system. If no parameters are specified, the default command displays the following information about PHYs:

  • Shelf Name

  • Drawer Number

  • PHY Number

  • Type

  • SAS Address

  • State

To display detailed information about a single PHY, use the -shelf , -drawer , and -phy parameters.

Parameters

{ [-fields <fieldname>,…​]

Displays the specified fields for all drawer PHYs, in column style output.

| [-instance ]

Displays expanded information for all drawer PHYs in the system. If a shelf, drawer, and PHY are specified, then this parameter displays the same detailed information for the PHY you specify as does the -shelf, -drawer, and -phy parameters.

[-shelf <text>] - Shelf Name

Displays the PHYs in the storage shelf that matches the specified shelf name.

[-drawer <integer>] - Drawer Number

Displays the PHYs in the drawers that match the specified drawer number.

[-phy <integer>] - PHY Number

Displays the PHYs that match the specified PHY number.

[-node {<nodename>|local}] - Node Name

Displays the PHYs that are present for the specified node.

[-type {unknown|disk|virtual|input}] - Type

Displays the PHYs with the specified type.

[-physical-id <integer>] - Physical ID

Displays the PHYs that match the specified physical-id.

[-sas-address <text>] - Attached SAS Address

Displays the PHYs with the specified attached sas address.

[-state-a {unknown|enabled|disabled}] - State Module A

Displays the PHYs for which module A has the specified state.

[-state-b {unknown|enabled|disabled}] - State Module B

Displays the PHYs for which module B has the specified state.

[-status-a <Drawer PHY Status>] - Status Module A

Displays the PHYs with module A currently operating under the specified status.

[-status-b <Drawer PHY Status>] - Status Module B

Displays the PHYs with module B currently operating under the specified status.

Examples

The following example displays information about all drawer PHYs:

cluster1::> storage shelf drawer show-phy
Shelf Drawer PHY #  Type     SAS Address         PHY State A/B
    ----- ------ -----  -------- ----------------- -----------------
     2.5
               1
                     0  disk     00c5005079183f85   enabled/enabled
                     1  disk     -                  enabled/enabled
                     2  disk     -                  enabled/enabled
                     3  disk     00c50050e1183f85   enabled/enabled
                     4  disk     -                  enabled/enabled
                     5  disk     -                  enabled/enabled
                     6  disk     00c50050dd183f85   enabled/enabled
                     7  disk     -                  enabled/enabled
                     8  disk     -                  enabled/enabled
                     9  disk     00c500502d163f85   enabled/enabled
                    10  disk     -                  enabled/enabled
                    11  disk     -                  enabled/enabled
                    12  input    80090a5045e46f06   enabled/enabled
                    13  input    80090a5045e46f06   enabled/enabled
                    14  input    80090a5045e46f06   enabled/enabled
                    15  input    80090a5045e46f06   enabled/enabled
                    16  virtual  8a090a503dd01b17   enabled/enabled
               2
                     0  disk     00c500503d0e3d85   enabled/enabled
                     1  disk     -                  enabled/enabled
                     2  disk     -                  enabled/enabled
                     3  disk     00c50050e9173f85   enabled/enabled
                     4  disk     -                  enabled/enabled
                     5  disk     -                  enabled/enabled
                     6  disk     00c50050a9163f85   enabled/enabled
                     7  disk     -                  enabled/enabled
                     8  disk     -                  enabled/enabled
                     9  disk     00c5005021173f85   enabled/enabled
                    10  disk     -                  enabled/enabled
                    11  disk     -                  enabled/enabled
                    12  input    80090a5045e46f06   enabled/enabled
                    13  input    80090a5045e46f06   enabled/enabled
                    14  input    80090a5045e46f06   enabled/enabled
                    15  input    80090a5045e46f06   enabled/enabled
                    16  virtual  8a090a503d90fd16   enabled/enabled
               3
                     0  disk     00c500503d163f85   enabled/enabled
                     1  disk     -                  enabled/enabled
                     2  disk     -                  enabled/enabled
                     3  disk     00c50050bd163f85   enabled/enabled
                     4  disk     -                  enabled/enabled
                     5  disk     -                  enabled/enabled
                     6  disk     00c50050c1d44085   enabled/enabled
                     7  disk     -                  enabled/enabled
                     8  disk     -                  enabled/enabled
                     9  disk     00c50050f1d54085   enabled/enabled
                    10  disk     -                  enabled/enabled
                    11  disk     -                  enabled/enabled
                    12  input    80090a5045e46f06   enabled/enabled
                    13  input    80090a5045e46f06   enabled/enabled
                    14  input    80090a5045e46f06   enabled/enabled
                    15  input    80090a5045e46f06   enabled/enabled
                    16  virtual  8a090a503d202a17   enabled/enabled
               4
                     0  disk     00c50050fdd54085   enabled/enabled
                     1  disk     -                  enabled/enabled
                     2  disk     -                  enabled/enabled
                     3  disk     00c50050d9d44085   enabled/enabled
                     4  disk     a0cc0050e5973712   enabled/enabled
                     5  disk     -                  enabled/enabled
                     6  disk     00c500506dd34085   enabled/enabled
                     7  disk     -                  enabled/enabled
                     8  disk     -                  enabled/enabled
                     9  disk     00c5005045d64085   enabled/enabled
                    10  disk     -                  enabled/enabled
                    11  disk     -                  enabled/enabled
                    12  input    80090a5045e46f06   enabled/enabled
                    13  input    80090a5045e46f06   enabled/enabled
                    14  input    80090a5045e46f06   enabled/enabled
                    15  input    80090a5045e46f06   enabled/enabled
                    16  virtual  8a090a503d100b17   enabled/enabled
               5
                     0  disk     00c50050c9d54085   enabled/enabled
                     1  disk     -                  enabled/enabled
                     2  disk     -                  enabled/enabled
                     3  disk     00c50050f9d44085   enabled/enabled
                     4  disk     -                  enabled/enabled
                     5  disk     -                  enabled/enabled
                     6  disk     00c5005081d34085   enabled/enabled
                     7  disk     -                  enabled/enabled
                     8  disk     -                  enabled/enabled
                     9  disk     00c500505dd64085   enabled/enabled
                    10  disk     -                  enabled/enabled
                    11  disk     -                  enabled/enabled
                    12  input    80090a5045e46f06   enabled/enabled
                    13  input    80090a5045e46f06   enabled/enabled
                    14  input    80090a5045e46f06   enabled/enabled
                    15  input    80090a5045e46f06   enabled/enabled
                    16  virtual  8a090a503df00a17   enabled/enabled
    85 entries were displayed.
    cluster1::>

The following example displays expanded information for PHY 0 of drawer 1 in shelf 2.5:

cluster1::> storage shelf drawer show-phy -shelf 2.5 -drawer 1 -phy 0
Shelf: 2.5
       Drawer ID: 1
      PHY Number: 0
            Type: disk
     Physical ID: 1
     SAS Address: 00c5005079183f85
         State A: enabled
         State B: enabled
        Status A: enabled-12gbs
        Status B: enabled-12gbs
cluster1::>
Top of Page