lsdm - List Drive Managers
List the Drive Manager objects that are defined in the TSLM database.
By default, all Drive Manager objects are listed. The list is sorted ascending by the name attribute unless another sort order is provided with the generic option -order.
Syntax
lsdm [dm_name [...] | -drive drive_name | -host host_name | -regex <id>]
Parameters
- dm_name [...]
- Specifies the Drive Manager to be included in the list. Multiple names must be separated with a blank character between each name. Displays all Drive Manager objects, if no name is specified.
- -drive drive_name
- Specifies the drive for which all Drive Managers must be included in the list.
- -host host_name
- Specifies the host for which all Drive Managers must be included in the list.
- -regex <id>
- Specifies a regular expression that describes the drive name that must be included in the list.
Note: Quoting is required to ensure correct shell processing.
Results
Default tabular output for each drive group that is listed includes the following information
(also serve as the headings for CLI table):
- Name
- Drive
- Host
- StateSoft
- StateHard
- Handle
Long output includes:
- Name
- Drive
- Host
- StateSoft
- StateHard
- Handle
- MessageLevel
Short output displays only the following item:
- Name
Examples
lsdm -drive LTO0256
lsdm -match "streq(DM.\"DMStateSoft\"\"ready\")"
Related commands
- lsdrive