Use this command to display information about a drive located in a server-attached library.
Privilege Class
Any administrator can issue this command.
Syntax
.-*--*-------------------------. >>-Query DRive----+------------------------------+--------------> | .-*----------. | '-library_name--+------------+-' '-drive_name-' .-Format--=--Standard-----. >-----+-------------------------+------------------------------>< '-Format--=--+-Standard-+-' '-Detailed-'
Parameters
You must specify a value for this parameter if you specify DRIVE_NAME.
Examples
Task 1
Display information about all drives associated with your server.
+--------------------------------------------------------------------------------+ |Library Drive Device Device ON LINE | |Name Name Type | |-------- ------ -------- ------------- -------- | |AUTO 8MM.0 8MM /dev/mt1 YES | |AUTO 8MM.2 8MM /dev/mt2 YES | |MANUAL 8MM.3 8MM /dev/mt0 | +--------------------------------------------------------------------------------+
See Task 2 for parameter definitions.
Task 2
Display information in full detail about the 8mm drive named DRIVE1 located in the library named AUTO.
+--------------------------------------------------------------------------------+ | Library Name: AUTO | | Drive Name: DRIVE1 | | Device Type: 8MM | | Device: /dev/mt1 | | ON LINE: Yes | | Element: 116 | | Last Update by (administrator): SERVER_CONSOLE | | Last Update Date/Time: 1995-01-13 15:25:03 | +--------------------------------------------------------------------------------+
where:
Related Commands
Table 165. Commands Related to QUERY DRIVE
Command | Description |
---|---|
AUDIT LIBRARY | Ensures that an automated library is in a consistent state. |
DEFINE LIBRARY | Defines an automated or manual library. |
DELETE LIBRARY | Deletes a library. |
QUERY LIBRARY | Displays information about one or more libraries. |
UPDATE DRIVE | Changes the attributes of a drive. |