Deleting file serving nodes and storeall clients, Checking and repairing file systems – HP StoreAll Storage User Manual
Page 51
For example, to delete segments ilv1 and ilv2:
ibrix_lv -d -s ilv1,ilv2
To delete volume groups:
ibrix_vg -d -g VGLIST
For example, to delete volume groups ivg1 and ivg2:
ibrix_vg -d -g ivg1,ivg2
To delete physical volumes:
ibrix_pv -d -p PVLIST [-h HOSTLIST]
For example, to delete physical volumes d1, d2, and d3:
ibrix_pv -d -p d[1-3]
Deleting file serving nodes and StoreAll clients
Before deleting a file serving node, unmount all file systems from it and migrate any segments that
it owns to a different server. Ensure that the file serving node is not serving as a failover standby
and is not involved in network interface monitoring. To delete a file serving node, use the following
command:
ibrix_server -d -h HOSTLIST
For example, to delete file serving nodes s1.hp.com and s2.hp.com:
ibrix_server -d -h s1.hp.com,s2.hp.com
To delete StoreAll clients, use the following command:
ibrix_client -d -h HOSTLIST
Checking and repairing file systems
The ibrix_fsck command analyzes inconsistencies in a file system.
CAUTION:
Do not run ibrix_fsck in corrective mode without the direct guidance of HP Support.
If run improperly, the command can cause data loss and file system damage.
CAUTION:
Do not run e2fsck (or any other off-the-shelf fsck program) on any part of a file
system. Doing this can damage the file system.
The ibrix_fsck command can detect and repair file system inconsistencies. File system
inconsistencies can occur for many reasons, including hardware failure, power failure, switching
off the system without proper shutdown, and failed migration.
The command runs in four phases and has two running modes: analytical and corrective. You must
run the phases in order and you must run all of them:
•
Phase 0 checks host connectivity and the consistency of segment byte blocks and repairs them
in corrective mode.
•
Phase 1 checks segments and repairs them in corrective mode. Results are stored locally.
•
Phase 2 checks the file system and repairs it in corrective mode. Results are stored locally.
•
Phase 3 moves files from lost+found on each segment to the global lost+found directory
on the root segment of the file system.
If a file system shows evidence of inconsistencies, contact HP Support. A representative will ask
you to run ibrix_fsck in analytical mode and, based on the output, will recommend a course
of action and assist in running the command in corrective mode. HP strongly recommends that you
use corrective mode only with the direct guidance of HP Support. Corrective mode is complex and
difficult to run safely. Using it improperly can damage both data and the file system. Analytical
mode is completely safe, by contrast.
Checking and repairing file systems
51