6.5 HP StoreAll OS User Guide

Troubleshooting file systems
Deleting file systems that are enabled for data retention
When you delete a file system that is enabled for data validation and has a scheduled validation
scan, the corresponding scheduled validation task is not deleted.
To remove the orphan validation task, run the following command:
ibrix_task -k -n <taskid> -F
Segment of a file system is accidently deleted
When a segment of a file system is accidently deleted without evacuating it first, all files on that
segment are gone, including the Express Query metadata database files on that segment even
though they are unrelated to the files on that segment. You must recreate the metadata database.
To recreate the metadata database:
1. Disable the Express Query and auditing feature for the file system, including the removal of
any StoreAll REST API shares. Disable the auditing feature before you disable the Express
Query feature.
a. To disable auditing, enter the following command:
ibrix_fs -A [-f FSNAME] -oa audit_mode=off
b. Remove all StoreAll REST API shares created in the file system by entering the following
command:
ibrix_httpshare -d -f <fs_name>
c. To disable the Express Query settings on a file system, enter the following command:
ibrix_fs -T -D -f FSNAME
2. To re-enable the Express Query settings on a file system , enter the following command:
ibrix_fs -T -E -f FSNAME
3. (Optional) To re-enable auditing, enter the following command:
ibrix_fs -A [-f FSNAME] -oa audit_mode=on
4. To recreate your REST API HTTP shares, enter the ibrix_httpshare -a command with the
appropriate parameters. See “Using HTTP” (page 174).
Express Query re-synchronizes the file system and the database by using the restored database
information. This process might take some time.
5. Wait for the metadata resync process to finish. Enter the following command to monitor the
resync process for a file system:
ibrix_archiving -l
The status should be at OK for the file system before you proceed. Refer to the ibrix_archiving
section in the HP StoreAll OS CLI Reference Guide for information about the other states.
6. Import your previously exported custom metadata and audit logs. See “Express Query”
(page 294).
ibrix_pv -a discovers too many or too few devices
This situation occurs when file serving nodes see devices multiple times. To prevent this, modify
the LVM2 filter in /etc/lvm/lvm.conf to filter only on devices used by StoreAll software. This
will change the output of lvmdiskscan.
By default, the following filter finds all devices:
filter = [ "a/.*/" ]
The following filter finds all sd devices:
Troubleshooting file systems 53