Hp StoreAll Storage User Manual Page 151

  • Download
  • Add to my manuals
  • Print
  • Page
    / 254
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 150
To administer files from the CLI, use the ibrix_reten_adm command.
IMPORTANT: Do not use the ibrix_reten_adm command on a file system that is not enabled
for data retention.
Specifying path lists
When using the GUI or the ibrix_reten_adm command, you need to specify paths for the files
affected by the retention action. The following rules apply when specifying path lists:
A path list can contain one or more entries, separated by commas.
Each entry can be a fully-qualified path, such as /myfs1/here/a.txt. An entry can also
be relative to the file system mount point. For example, if myfs1 is mounted at /myfs1, the
path here/a.txt is a valid entry.
A relative path cannot begin with a slash (/). Relative paths are always relative to the mount
point; they cannot be relative to the user’s current directory, unlike other UNIX commands.
A directory cannot be specified in a path list. Directories themselves have no retention settings,
and the command returns an error message if a directory is entered.
To apply an action to all files in a directory, you need to specify the paths to the files. You can use
wildcards in the pathnames, such as /my/path/*,/my/path/.??*. The command does not
apply the action recursively; you need to enter subdirectories.
To apply a command to all files in all subdirectories of the tree, you can wrap the
ibrix_reten_adm command in a find script (or other similar script) that calls the command
for every directory in the tree. For example, the following command sets a legal hold on all files
in the specified directory:
find /ibrixFS/mydir -type d -exec ibrix_reten_adm -h -f ibrixFS -P {}/*
\;
The following script includes files beginning with a dot, such as .this. (This includes file uploaded
to the file system, not file system files such as the .archiving tree.)
find /ibrixFS/mydir -type d -exec ibrix_reten_adm -h -f ibrixFS -P
{}/*,{}/.??* \;
Managing WORM and retained files 151
Page view 150
1 2 ... 146 147 148 149 150 151 152 153 154 155 156 ... 253 254

Comments to this Manuals

No comments