6.2 HP IBRIX 9000 Storage CLI Reference Guide (TA768-96070, December 2012)

find /ibrixFS/mydir -type d -exec ibrix_reten_adm -h -f ibrixFS -P
{}/*,{}/.??* \;
Synopsis
Deleting files administratively removes them from the file system, regardless of the data retention
policy applied to the files.
Set a legal hold on retained or WORM files:
ibrix_reten_adm -h -f FSNAME -P PATHLIST
A legal hold locks the file and the data retention policy in place on the file system will be ignored.
For example, the expiration time does not apply to the file.
Remove a legal hold on retained or WORM files:
ibrix_reten_adm -r -f FSNAME -P PATHLIST
When a legal hold is removed, the original data retention policy applies to the file.
Reset the expiration time for retained files:
ibrix_reten_adm -e expire_time -f FSNAME -P PATHLIST
If you specify an interval such as 20m (20 minutes) for the expire_time, the retention expiration
time is set to that amount of time in the future starting from now, not that amount of time from the
original start of retention. If you specify an exact date/time such as 19:20:02 or 2/16/2012 for
the expire_time, the command sets the retention expiration time to that exact time. If the file
system is in Relaxed retention mode (not Enterprise), the exact date/time can be in the past, in
which case the file immediately expires from retention and becomes WORM but no longer retained.
See the Linux date(1) man page for a description of the valid date/time formats for the
expire_time parameter.
Remove the retention period for retained files:
ibrix_reten_adm -c -f FSNAME -P PATHLIST
Delete retained files:
ibrix_reten_adm -d -f FSNAME -P PATHLIST
List retention attributes for files in the specified file system:
ibrix_reten_adm -l FSNAME -P PATHLIST
Upgrade a pre–6.1.1 file system for data retention features:
ibrix_reten_adm -u -f FSNAME
To enable data retention:
1. If you have a pre-6.0 file system, run the upgrade60.sh utility, as described in
upgrade60.sh” (page 175).
2. Run the following command on a node that has the file system mounted:
ibrix_reten_adm -u -f FSNAME
In this instance, FSNAME is the name of the file system you want to upgrade for data retention
features.
The command enables data retention and unmounts the file system on the node.
3. After the command finishes upgrading the file system, re-mount the file system.
4. Enter the ibrix_fs command to set the file system’s data retention and autocommit period
to the desired values. See “ibrix_fs (page 65) for additional information about the ibrix_fs
command.
140 IBRIX software commands