Use this command to display information about a drives.
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 a drive name
Examples
Task
Display information about all drives associated with the server.
+--------------------------------------------------------------------------------+ |Library Drive Device On Line | |Name Name Type | |-------- ------ -------- -------- | |AUTO 8MM.0 8MM YES | |AUTO 8MM.2 8MM YES | |MANUAL 8MM.3 8MM | +--------------------------------------------------------------------------------+
Task
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: mt3.0.0.0 | | On Line: Polling since 01-13-00 14:15:02 | | Element: 116 | | ACS DriveId: - | | Allocated To: - | | Last Update by (administrator): SERVER_CONSOLE | | Last Update Date/Time: 2000-01-13 15:25:03 | |Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE | +--------------------------------------------------------------------------------+
|Task
|Display detailed information about DRIVE1 located in the |network-attached storage library named NASLIB. |
|+--------------------------------------------------------------------------------+ || Library Name: NASLIB | || Drive Name: DRIVE1 | || Device Type: REMOTE | || On Line: Yes | || Device: | || Element: 1,030 | || Allocated To: | || Last Update by (administrator): SERVER_CONSOLE | || Last Update Date/Time: 2001-06-13 15:25:03 | ||Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE | |+--------------------------------------------------------------------------------+
where:
The server will poll a drive under the following conditions:
The server will poll the drive for 10 minutes under the following conditions:
If the server cannot use the drive at the end of the 10 minute period, it will mark the drive off-line. The user should review the activity log and system error logs to determine if there is a hardware problem. After the problem is resolved, the user can update the drive to be on-line via the UPDATE DRIVE command and the ONLINE=YES option.
The server will indefinitely poll a drive in a 3494 library only under the following condition:
If a drive is being polled, the output of the QUERY DRIVE command will show that the drive is being polled and when the polling began. To terminate the polling of a drive, the user can issue one of two commands:
Related Commands
Table 178. Commands Related to QUERY DRIVE
Command | Description |
---|---|
AUDIT LIBRARY | Ensures that an automated library is in a consistent state. |
DEFINE DRIVE | Assigns a drive to a library. |
DEFINE LIBRARY | Defines an automated or manual library. |
DELETE DRIVE | Deletes a drive from a library. |
DELETE LIBRARY | Deletes a library. |
QUERY LIBRARY | Displays information about one or more libraries. |
UPDATE DRIVE | Changes the attributes of a drive. |