HP 3PAR X9000 File Serving Software (IBRIX) Implementation Guide (QL226-96987, June 2013)

For more information about these commands, see the HP StoreAll Storage CLI Reference Guide,
which is available on the following HP website:
http://www.hp.com/support/StoreAllManuals
Using Segment Migration
The segment migration feature is used to migrate the ownership of the segment from one host to
the other host. To perform this operation, make sure that you have a mounted file system on the
StoreAll 9300 host. This section describes general steps and commands that are required to use
the segment migration feature through the StoreAll OS CLI.
1. To migrate the ownership of the segment to the other host, use the ibrix_fs -m -f FSNAME
-s LVLIST -h HOSTNAME [-M] [-F] [-N] command.
For example to migrate the ownership of the LVLIST ilv1,ilv2 belonging to file system
newFS from the current segment owner eos172s1.vpi.hp.com to eos172s2.vpi.hp.com,
use the following command:
# ibrix_fs -m -f newFS -s ilv1 -h eos172s2.vpi.hp.com
2. You can now verify the change in the segment owner of the segments using the following
command:
# ibrix_pv i
Some of the StoreAll OS commands provide information on file system usage and file segment
ownership.
[root@sqa-dl380g5-05 bin]# ./ibrix_fs -l
FS_NAME STATE CAPACITY(GB) USED% Files FilesUsed% GEN NUM_SEGS
--------- ------- ------------ ----- ---------- ---------- --- --------
IBRIX_FS1 Mounted 272.35 15.0 39,321,600 1 14 3
IBRIX_FS2 Mounted 181.57 28.0 26,214,400 1 14 2
IBRIX_FS3 Mounted 363.14 19.0 52,428,800 1 14 4
[root@sqa-dl380g5-05 bin]# ./ibrix_fs -i
FileSystem: IBRIX_FS1
=====================
Total Segments : 3
STATE : Mounted
Mirrored? : No
Compatible? : Yes,MaxSegments=63
Generation : 14
FS_ID : 1d01f84b-76b5-4c37-af11-48f3ee3703af
FS_NUM : 1
EXPORT_CONTROL_ENABLED : No
QUOTA_ENABLED : No
DEFAULT_BLOCKSIZE : 4096
CAPACITY : 272.35 GB
FREE : 232.96 GB
AVAIL : 232.23 GB
USED PERCENT : 15.0
FILES : 39,321,600
FFREE : 39,321,536
Prealloc : 1024 KB
Readahead : 512 KB
NFS Readahead : 512 KB
Default policy : RANDOM
Default start segment : 0
File Replicas : disabled
Dir Replicas : disabled
Mount Options : 100000002
HP StoreAll OS Software Usage 31