![]() |
![]() |
Use this command to show where client file spaces are stored and how much space they occupy.
Privilege Class
Any administrator can issue this command.
Syntax
.-*--*---------------------------.
>>-Query OCCupancy--+--------------------------------+---------->
| .-*---------------. |
'-node_name--+-----------------+-'
'-file_space_name-'
>--+-----------------------+------------------------------------>
'-STGpool--=--pool_name-'
>--+--------------------------------+--------------------------->
'-DEVclass--=--device_class_name-'
.-Type--=--ANY---------. .-NAMEType--=--SERVER------.
>--+----------------------+--+--------------------------+------->
'-Type--=--+-ANY-----+-' '-NAMEType--=--+-SERVER--+-'
+-Backup--+ +-UNIcode-+
+-Archive-+ '-FSID----'
'-SPacem--'
.-CODEType--=--BOTH-----------.
>--+-----------------------------+-----------------------------><
'-CODEType--=--+-UNIcode----+-'
+-NONUNIcode-+
'-BOTH-------'
Parameters
For a server that has clients with Unicode support, you may need to have the server convert the file space name that you enter. For example, you may need to have the server convert the name you enter from the server's code page to Unicode. See the NAMETYPE parameter for details. If you do not specify a file space name or specify only a single wildcard character for the name, you can use the CODETYPE parameter to limit the operation to Unicode file spaces or non-Unicode file spaces.
The default value is SERVER. Possible values are:
The default value is BOTH, which means that the file spaces are included regardless of code page type. Possible values are:
Examples
Task 1
Display information on where all file spaces assigned to the node named DAISY are stored.
+--------------------------------------------------------------------------------+ |Node Name Type Filespace FSID Storage Number Physical Logical | | Name Pool of Space Space | | Name Files Occupied Occupied | | (MB) (MB) | |--------- ---- ---------- ------ --------- -------- ------- -------- | | DAISY Bkup DRIVED 1 COPYFILE 38 0.45 0.42 | | | +--------------------------------------------------------------------------------+
See Task 2 for parameter definitions.
Task 2
Display information on the file spaces that belong to the node WAYNE, and that have a backup file type.
+--------------------------------------------------------------------------------+ | Node Name Type Filespace FSID Storage Number Physical Logical | | Name Pool of Space Space | | Name Files Occupied Occupied | | (MB) (MB) | | --------- ----- --------- ----- ----------- ------- --------- -------- | | WAYNE Bkup DWG1 1 BACKUPPOOL1 2,330 53.19 50.01 | | WAYNE Bkup OS2C 2 BACKUPPOOL1 1,554 32.00 31.30 | | | +--------------------------------------------------------------------------------+
where:
File space names and file names that can be in a different code page or locale than the server do not display correctly on the administrator's Web interface or the administrative command-line interface. The data itself is backed up and can be restored properly, but the file space or file name may display with a combination of invalid characters or blank spaces.
If the file space name is Unicode enabled, the name is converted to the server's code page for display. The results of the conversion for characters not supported by the current code page depends on the operating system. For names that Tivoli Storage Manager is able to partially convert, you may see question marks (??), blanks, unprintable characters, or "...". These characters indicate to the administrator that files do exist. If the conversion is not successful, the name is displayed as "...". Conversion can fail if the string includes characters that are not available in the server code page, or if the server has a problem accessing system conversion routines.
Related Commands
Table 195. Commands Related to QUERY OCCUPANCY
| Command | Description |
|---|---|
| DELETE FILESPACE | Deletes data associated with client's filespaces. |
| QUERY FILESPACE | Displays information about data in filespaces that belong to a client. |
| QUERY NODE | Displays partial or complete information about one or more clients. |