6.5 HP StoreAll OS CLI Reference Guide

Table Of Contents
ibrix_lookup
Generates reports with a list of file names and their sizes, that matches the given search criteria,
in the Express Query enabled file systems.
Description
The ibrix_lookup command obtains the data from the Express Query database based on the
given search criteria to generate. You can search one or more file systems at a time. The reports
can be displayed in the console, as well as in one of the following formats in the
/local/reports/lookup folder:
CSV (comma seperated values)
HTML
PDF
Text (txt)
IMPORTANT: Keep in mind the following:
The ibrix_lookup command requires Express Query to be enabled on the file systems that
it searches.
The ibrix_lookup command times out if it takes more than five hours to generate a report.
This situation has occurred when the ibrix_lookup command has to scan through a large
number of records, such as 8 million records.
Synopsis
ibrix_lookup -f "FILESYSTEM1 FILESYSTEM2" -e "SEARCH_CRITERIA" [-p
SORTING_DEFN] [-t REPORT_OUTPUT] [-c SHOW_ON_CONSOLE]Generates a report from
the data obtained from Express Query based on the provided options. The -f and -e options are
required. All other options are optional.
-f FILESYSTEM1 Specifies the file system for which the report is being generated. If you
are providing the name of more than one file system, the file system names must be enclosed
by parenthesis and separated by a space, for example: -f "FILESYSTEM1 FILESYSTEM2"
-e "SEARCH_CRITERIA" Specify the search criteria from the following options:
-e "pathname" Searches for files in a particular path in a file system by using this
option.
-e "state" Searches for files based on their state in a file system by using this options.
The values for specifying State option are "wormed”, "legalhold", "deletable","retained",
"mismatch".
-e "filesize" Searches for files based on file size in a file system by using this option.
-e "ownerid" Searches for files based on owner of files using corresponding ownerid
in a file system.
-e "groupid" Searches for files based on group using corresponding groupid.
-e "accesstime" Searches for files based on the last accessed time of files in a file
system.
-e "createtime" Searches for files based on the create time of files in a file system.
-e "vtime" Searches for files based on the last validated time of files in a file system.
-e "mtime" Searches for files based on the last modified time of files in a file system.
130 StoreAll commands