6.0 HP X9000 File Serving Software File System User Guide (TA768-96043, October 2011)

To view the retention profile from the CLI, use the ibrix_fs -i command, as in the following
example:
ibrix_fs -i -f ifs1
FileSystem: ifs1
=========================
{ }
RETENTION : Enterprise [default=15d,mininum=1d,maximum=5y]
Changing the retention profile for a file system
The file system must be unmounted when you make changes to the retention profile. After unmounting
the file system, click Modify on the WORM/Data Retention panel to open the Modify WORM/Data
Retention dialog box and then make your changes.
To change the configuration from the CLI, use the following command:
ibrix_fs -W -f FSNAME -o "retenMode=<mode>,retenDefPeriod=<period>,retenMinPeriod=<period>,
retenMaxPeriod=<period>"
Managing WORM and retained files
You can change a file to the WORM or WORM-retained state, view the retention information
associated with a file, and use administrative tools to manage individual files, including setting or
removing a legal hold, setting or removing a retention period, and administratively deleting a file.
Creating WORM and WORM-retained files
The default retention period determines the steps you will need to take.
Default retention period is zero seconds:
To create a WORM file, run a command to make the file read-only.
To make a WORM file retained, set the atime to a time in the future.
Default retention period is non-zero:
To create a WORM-retained file, run a command to make the file read-only. By default, the
file uses the default retention period.
To assign a different retention period to the WORM-retained file, set the atime to a time in
the future.
Making a file read-only
Linux. Use chmod to make the file read-only. For example:
chmod 444 myfile.txt
Windows. Use the attrib command to make the file read-only:
C:\> attrib +r myfile.txt
Setting the atime
Linux. Use a command such as touch to set the access time to the future:
touch -a -d "30 minutes" myfile.txt
See the touch(1) documentation for the time/date formats allowed with the -d option. You can
also enter the following on a Linux command line to see the acceptable date/time strings for the
touch command:
info "Date input formats"
Windows. Windows does not include a touch command. Instead, use a third-party tool such as
cygwin or FileTouch to set the access time to the future.
118 Managing data retention and validation