mmlscomploc command
Displays storage component locations.
Synopsis
mmlscomploc [--type CompType] [--part-number PartNumber]
[--serial-number SerialNumber] [--name Name] [--comp-id CompId]
[--container-id ContainerId] [--format Format]
[--output-file OutputFile] [--sort SortKey]
Availability
Available with the Elastic Storage Server.
Description
The mmlscomploc command displays a list of the locations of storage components.
Parameters
- --type CompType
- Specifies a component type, which may include wildcard characters. The resulting list includes those components whose component types (rack, server, or storageEnclosure) match the specified value.
- --part-number PartNumber
- Specifies a part number, which may include wildcard characters. The resulting list includes those components whose part numbers match the specified value.
- --serial-number SerialNumber
- Specifies a serial number, which may include wildcard characters. The resulting list includes those components whose serial numbers match the specified value.
- --name Name
- Specifies a name, which may include wildcard characters. The resulting list includes those components whose names match the specified value.
- --comp-id CompId
- Specifies a component ID, which may include wildcard characters. The resulting list includes those components whose component IDs match the specified value.
- --container-id ContainerId
- Specifies a container ID, which may include wildcard characters. The resulting list includes those components whose container IDs match the specified value.
- --format Format
- Specifies the format in which the component locations will be listed. Valid format values are:
bare
colon
csv
none
shell
stanza
table
(default)
- --output-file OutputFile
- Specifies the name of an output file in which the component locations will be listed.
- --sort SortKey
- Indicates that the command output is to be sorted by the attribute specified in SortKey.
Exit status
- 0
- Successful completion.
- nonzero
- A failure has occurred.
Security
You must have root authority to run the mmlscomploc command.
The node on which the command is issued must be able to execute remote shell commands on any other node in the cluster without the use of a password and without producing any extraneous messages. For additional details, see the following IBM Storage Scale RAID: Administration topic: Requirements for administering IBM Storage Scale RAID.
Examples
To list component locations, enter the following command:
mmlscomploc
The system displays output similar to this:
Component Location
------------------ ------------------
1818-80E-SV12345007 Rack R01C01 U01-04
1818-80E-SV12345005 Rack R01C01 U05-08
1818-80E-SV12345003 Rack R01C01 U13-16
1818-80E-SV12345008 Rack R01C01 U17-20
1818-80E-SV12345001 Rack R01C01 U21-24
1818-80E-SV12345002 Rack R01C01 U25-28
1818-80E-SV12345006 Rack R01C01 U33-36
1818-80E-SV12345004 Rack R01C01 U37-40
See also
See also the following IBM
Storage Scale RAID:
Administration topics:
- mmaddcomp command
- mmaddcompspec command
- mmchcomp command
- mmchcomploc command
- mmchenclosure command
- mmchfirmware command
- mmdelcomp command
- mmdelcomploc command
- mmdelcompspec command
- mmdiscovercomp command
- mmlscomp command
- mmlscompspec command
- mmlsenclosure command
- mmlsfirmware command
- mmsyncdisplayid command
- Configuring components on the Elastic Storage Server.
Location
/usr/lpp/mmfs/bin