Tivoli Header

Administrator's Reference

QUERY DISK (Query a Disk)

Use this command to query a client-owned disk that resides in a SAN environment. The disk is defined to the server in order to be used by a data mover device.

Privilege Class

Any administrator can issue this command.

Syntax

               .-*---------.  .-*---------.
>>-Query DIsk--+-----------+--+-----------+--------------------->
               '-node_name-'  '-disk_name-'
 
   .-Format--=--Standard-----.
>--+-------------------------+---------------------------------><
   '-Format--=--+-Standard-+-'
                '-Detailed-'
 
 

Parameters

node_name
Specifies the name of the node that owns the disk. This parameter is optional. All disks that have been defined are displayed if you do not specify the node name. You may use wildcard characters to specify the name.
Note:
A wildcard must be entered if the disk name is entered.

disk_name
Specifies the name assigned to the disk. This parameter is optional. All disks that have been defined are displayed if you do not specify the disk name. You may use wildcard characters to specify the name.

Format
Specifies how the information is displayed. This parameter is optional. The default is STANDARD. Possible values are:

Standard
Partial information is displayed.

Detailed
Detailed information is displayed.

Examples

Task

Display a query of all disks on the server.

Command:
query disk

Output:
 
+--------------------------------------------------------------------------------+
|Node         Disk     Online                                                    |
|Name         Name                                                               |
|-----------  -------  ------                                                    |
|MYNODE	     Harddisk4  Yes                                                      |
+--------------------------------------------------------------------------------+

See the next task for field definitions.

Task

Display a detailed query of all disks on the server.

Command:
query disk format=detailed

Output:
+--------------------------------------------------------------------------------+
|                     Node Name : MYNODE                                         |
|                    Drive Name : Harddisk4                                      |
|                           WWN : 5FE223456D002133                               |
|                 Serial Number : 13-12345                                       |
|                        Online : Yes                                            |
|Last Update by (administrator) : ADMIN                                          |
|         Last Update Date/Time : 02/29/2001 09:26:33                            |
+--------------------------------------------------------------------------------+

where:

Node Name
Specifies the name of the node that owns that disk.

Disk Name
Specifies the name assigned to the disk.

WWN
Specifies the Fibre Channel world wide name of the disk.

Serial Number
Specifies the serial number of the disk.

Online
Specifies whether the disk is online and available for use.

Last Update by (administrator)
The ID of the administrator who performed the last update.

Last Update Date/Time
The date and time when the last update occurred.

Related Commands

Table 178. Commands Related to QUERY DISK

Command Description
DEFINE DISK Defines a disk.
DEFINE PATH Defines a path from a source to a destination.
DELETE DISK Deletes a disk.
UPDATE DISK Changes the attributes of a disk.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]