Query Filespace

The query filespace command displays a list of file spaces for a node. The file spaces are stored on the Tivoli® Storage Manager server, or inside a backup set from the Tivoli Storage Manager server when the backupsetname option is specified. You can also specify a single file space name to query.

A file space is a logical space on the server that contains files you backed up or archived. Tivoli Storage Manager assigns a separate file space on the server for each node at your workstation from which you back up or archive files.

Tivoli Storage Manager assigns a separate file space on the server for each file system at your workstation from which you back up or archive files. The file space name is the same as the file system name.

Windows operating systemsA Unicode file space name might not display correctly if the server is unable to display the Unicode name. In this case, use the file space identifier (fsID) to identify these file spaces on the server. Use the query filespace command with the detail option to determine the fsID of a file space.

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems

Supported Clients

This command is valid for all clients.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-Query Filespace--+------------------+--+------------+-------><
                    '- --filespacename-'  '- --options-'   

Parameters

filespacename
Specifies an optional character string that can include wildcards. Use this argument to specify a subset of file spaces. The default is to display all file spaces.
Table 1. Query Filespace command: Related options
Option Where to use
backupsetname Command line only.
Windows operating systemsAIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsclass Windows operating systemsAIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsCommand line only.
Windows operating systemsdateformat Windows operating systemsClient options file (dsm.opt) or command line.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsdateformat AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsClient user-options file (dsm.opt) or command line.
detail Command line only.
fromnode Command line only.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsMac OS X operating systemsfromowner AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsMac OS X operating systemsCommand line only.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsnasnodename AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsClient system options file (dsm.sys) or command line.
Windows operating systemsnasnodename Windows operating systemsClient options file (dsm.opt) or command line.
Windows operating systemsscrolllines Windows operating systemsClient options file (dsm.opt) or command line.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsscrolllines AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsClient user-options file (dsm.opt) or command line.
Windows operating systemsscrollprompt Windows operating systemsClient options file (dsm.opt) or command line.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsscrollprompt AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsClient user-options file (dsm.opt) or command line.
Windows operating systemstimeformat Windows operating systemsClient options file (dsm.opt) or command line.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemstimeformat AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsClient user-options file (dsm.opt) or command line.

Examples

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsDisplay your file spaces. Use the dateformat and timeformat options to reformat the dates and times.
query filespace –date=5 –time=4
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsDisplay the /home file space.
query filespace /home
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsDisplay file space names that include the pattern smith.
query filespace "*smith*"
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsQuery a file space from the nas2 NAS file server.
query filespace -nasnodename=nas2 -class=nas
Windows operating systemsDisplay the \\florence\c$ file space.
query filespace \\florence\c$
Windows operating systemsDisplay all of the file space names on the server with a file space name that ends in '$' belonging to system named florence.
query filespace \\florence\*$
Windows operating systemsDisplay file spaces in the backup set named monthly_accounting.23456789.
query filespace -backupsetname=monthly_accounting.23456789 
Display detailed file space information that shows the replication status during a failover.
Command:
query filespace -detail
Output:
#   Last Incr Date       Type   fsID  Unicode  Replication  File Space Name
---  --------------       ------ ----  -------  -----------  --------------
  1  00/00/0000 00:00:00  HFS       3  Yes      Current      /             

        Last Store Date     Server                  Local
        ---------------     ------                  -----
           Backup Data :    04/29/2013 16:49:55     04/29/2013 16:49:55     
          Archive Data :    No Date Available       No Date Available