Using the show Command

Related Topics

Use this command and its parameters to do the following:

For more information on the properties of logical and physical storage subsystem components, see the Subsystem Management Window online help.

This reference contains commands and parameters that are current with the latest storage management software. If you are managing storage subsystems running firmware for previous releases, not all of these commands may be supported. See the for a complete list of commands and their associated firmware levels.

If you want to...

Use this command and parameters

show properties of a storage subsystem

Back to the top

Base Command and Required Parameters

show storageSubsystem;

Additional Parameters You Can Use to Show the Properties of a Storage Subsystem

  • batteryAge = displays the age of the battery in days and also the number of days until replacement.
  • healthStatus = displays the overall health of the storage subsystem in the output area.
  • profile = displays all of the various properties of the logical and physical components that comprise the storage subsystem in the output area.
  • hostTypeTable = displays the table of all host types known to the controller. Each row in the table displays a host-type value (used in the set HostNVSRAMByte operations), and the platform that value represents.
  • defaultHostType = displays the storage subsystem's default host type and host type index in the output area.
  • logicalDriveDistribution = displays the current controller owner for each logical drive in the storage subsystem in the output area.
  • preferredLogicalDriveOwners = displays the preferred controller owner for each logical drive in the storage subsystem in the output area.

Examples

Command statement:

show storageSubsystem healthStatus profile;

Execution result:

The health of the storage subsystem and the various properties of the logical and physical components of the storage subsystem are displayed in the output area.

Command Statement:

show storageSubsystem hostTypeTable;

Execution Result:

All host type labels and the host type index are displayed in the output area.

show properties of a controller

Back to the top

Base Command and Required Parameters

show controller [controller-spec]

where:

[controller-spec] = a or b (a = controller in slot A, and b = controller in Slot B)

Additional Parameters You Can Use to Show the Properties of a Controller

  • mode - displays the mode of the controller (active or passive) in the output area.
  • GlobalNVSRAMByte[nvsram-offset] - displays the current value in the output area for the NVSRAM offset specified.
  • HostNVSRAMByte[host-type, nvsram-offset] - displays the current value in the output area for the host-type and NVSRAM offset specified.
  • NVSRAMByte [nvsram-offset] - provided to be backward compatible with older scripts. Displays the current value in the output are for the NVSRAM offset specified.

Examples

Command Statement:

show controller[b] mode;

Execution Result:

The current mode (active or passive) of the controller in slot B is displayed in the output area.

Command Statement:

show controller[a]GlobalNVSRAMByte[0x32];

Execution Result:

The module profile will include the Storage Partitions topology tree and the host-type table, from which you can translate the host-type index into a label. You can then look for any host ports in the topology tree that have the desired label. The affected hosts are those associated with the affected host ports.

show storage subsystem logical drive properties

Back to the top

Base Command and Required Parameters

show logicalDrives;

Additional Parameters You Can Use to Show the Properties of a Single Logical Drive

logicalDrive [logicalDriveLabel]

where:

[logicalDriveLabel] = the logical drive user label, enclosed in square braces

Important: If the logical drive label contains more than one word, white space, or any special character(s), then enclose the label in double quotes.

Examples

Command statement:

show logicalDrives;

Execution Result:

Logical Drive properties information for every logical drive in the storage subsystem are displayed in the output area.

Command statement:

show logicalDrives logicalDrive ["Accounting"];

Execution Result:

Logical Drive properties information for Logical Drive Accounting are displayed in the output area.

show storage partition topology and mappings information

Back to the top

Base Command and Required Parameters

show hostTopology;

Example

Command statement:

show hostTopology;

Execution result: All mappings, storage partition topology, host type labels and the host type index are displayed in the output area.

show a comment and display it to the output area

Back to the top

Base Command and Required Parameters

show <string>

where:

<string> = "any double-quoted string"

Example

Command statement:

show "Starting logical drive creation...";

Execution result:

The comment as specified is displayed in the output area.

Related Topics

Learn About the Script Editor

Using the Script Editor

Command Reference

Firmware Compatibility List

Learn About the Command Line Interface

Using the Command Line Interface