The FCL can be set up and tuned through the fcladm and vxtunefs VxFS administrative commands.
See the fcladm
(1M) and vxtunefs
(1M) manual pages.
The FCL keywords for fcladm are as follows:
The FCL tunable parameters for vxtunefs are as follows:
Either or both fcl_maxalloc and fcl_keeptime must be set to activate the FCL feature. The following are examples of using the fcladm command.
To activate FCL for a mounted file system, type the following:
# fcladm on mount_point
To deactivate the FCL for a mounted file system, type the following:
# fcladm off mount_point
To remove the FCL file for a mounted file system, on which FCL must be turned off, type the following:
# fcladm rm mount_point
To obtain the current FCL state for a mounted file system, type the following:
# fcladm state mount_point
To enable tracking of the file opens along with access information with each event in the FCL, type the following:
# fcladm set fileopen,accessinfo mount_point
To stop tracking file I/O statistics in the FCL, type the following:
# fcladm clear filestats mount_point
Print the on-disk FCL super-block in text format to obtain information about the FCL file by using offset 0. Because the FCL on-disk super-block occupies the first block of the FCL file, the first and last valid offsets into the FCL file can be determined by reading the FCL super-block and checking the fc_foff field. Enter:
# fcladm print 0 mount_point
To print the contents of the FCL in text format, of which the offset used must be 32-byte aligned, enter:
# fcladm print offset mount_point