6.5 HP StoreAll OS User Guide

NOTE: During an ibrix_fsck run, an INFSCK flag is set on the file system to protect it. If an
error occurs during the job, you must explicitly clear the INFSCK flag (see “Clearing the INFSCK
flag on a file system” (page 52)), or you will be unable to mount the file system.
Analyzing the integrity of a file system on all segments
Observe the following requirements when executing ibrix_fsck:
Turn off automated failover by executing the following command: ibrix_server -m -U
[-h SERVERNAME]. For more information about automated failover, see “Configuring
failover” in the HP StoreAll Storage Administrator Guide for your platform.
If running ibrix_fsck in Corrective mode, stop all services that are running on the file
system.
NOTE: If the file system is enabled for Express Query, ensure that you stop the Express Query
service, but do not disable Express Query. Be aware that stopping the Express Query service
(by executing ibrix_archiving S) may result in false positives in the
<mountpoint>/.audit/ folder; these false positives can be ignored.
If running ibrix_fsck in Corrective mode, unmount the file system for phases 0 and 1 and
mount the file system for phases 2 and 3.
HP strongly recommends that you only run the ibrix_fsck command under the guidance
of HP Support.
NOTE: When running ibrix_fsck in Analytical mode, stopping services and unmounting the
file system is highly recommended, but not required, due to the false positives that may occur.
Use the following procedure to analyze file system integrity:
Runs phase 0 in analytic mode:
ibrix_fsck -p 0 -f FSNAME [-s LVNAME] [-c]
The command can be run on the specified file system or optionally only on the specified segment
LVNAME.
Run phase 1 in analytic mode:
ibrix_fsck -p 1 -f FSNAME [-s LVNAME] [-c] [-B BLOCKSIZE] [-b
ALTSUPERBLOCK]
The command can be run on the file system FSNAME or optionally only on segment LVNAME. This
phase can be run with a specified block size and an alternate superblock number. For example:
ibrix_fsck -p 1 -f ifs1 -B 4096 -b 12250
NOTE: If phase 1 is run in analytic mode on a mounted file system, false errors can be reported.
Run phase 2:
ibrix_fsck -p 2 -f FSNAME [-s LVNAME] [-c] [-o "options"]
The command can be run on the specified file system or optionally only on segment LVNAME. Use
-o to specify any options.
Run phase 3:
ibrix_fsck -p 3 -f FSNAME [-c]
Clearing the INFSCK flag on a file system
To clear the INFSCK flag, use the following command:
ibrix_fsck -f FSNAME -C
52 Maintaining file systems