Query Filespace

The query filespace command displays a list of file spaces for a node. The file spaces are stored on the IBM Spectrum® Protect server, or inside a backup set from the 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. A separate file space is assigned on the server for each node at your workstation from which you back up or archive files.

A separate file space is assigned 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.

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systems

Supported Clients

This command is valid for all clients.

Syntax

Read syntax diagramSkip visual syntax diagramQuery 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.
Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsclass Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsCommand line only.
Windows operating systemsdateformat Windows operating systemsClient options file (dsm.opt) or command line.
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsdateformat Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsClient user-options file (dsm.opt) or command line.
detail Command line only.
fromnode Command line only.
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsfromowner Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsCommand line only.
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsnasnodename Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX 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.
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsscrolllines Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsClient user-options file (dsm.opt) or command line.
Windows operating systemsscrollprompt Windows operating systemsClient options file (dsm.opt) or command line.
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsscrollprompt Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsClient user-options file (dsm.opt) or command line.
Windows operating systemstimeformat Windows operating systemsClient options file (dsm.opt) or command line.
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemstimeformat Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsClient user-options file (dsm.opt) or command line.

Examples

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsDisplay your file spaces. Use the dateformat and timeformat options to reformat the dates and times.
query filespace -date=5 -time=4
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsDisplay the /home file space.
query filespace /home
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsDisplay file space names that include the pattern smith.
query filespace "*smith*"
Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX 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