Migrating specific segments
Use the following command to migrate ownership of the segments in
LVLIST
on file system
FSNAME
to a new host and update the source host:
<installdirectory>/bin/ibrix_fs -m -f FSNAME -s LVLIST -h HOSTNAME [-M] [-F] [-N]
To force the migration, include
-M
. To skip the source host update during the migration, include
-F
. To skip host health checks, include
-N
.
The following command migrates ownership of
ilv2
and
ilv3
in file system
ifs1
to
s1.hp.com
:
<installdirectory>/bin/ibrix_fs -m -f ifs1 -s ilv2,ilv3 -h s1.hp.com
Migrating all segments from one host to another
Use the following command to migrate ownership of the segments in file system
FSNAME
that are
owned by
HOSTNAME1
to
HOSTNAME2
and update the source host:
<installdirectory>/bin/ibrix_fs -m -f FSNAME -H HOSTNAME1,HOSTNAME2 [-M] [-F] [-N]
For example, to migrate ownership of all segments in file system
ifs1
that reside on
s1.hp.com
to
s2.hp.com
:
<installdirectory>/bin/ibrix_fs -m -f ifs1 -H s1.hp.com,s2.hp.com
Removing storage from the cluster
Before removing storage that is used for an X9000 Software file system, you will need to evacuate
the segments (or logical volumes) storing file system data. This procedure moves the data to other
segments in the file system and is transparent to users or applications accessing the file system.
When evacuating a segment, you should be aware of the following restrictions:
•
Segment evacuation uses the file system rebalance operation. While the rebalance task is
running, the system will prevents tasks from running on the same file system. Similarly, if
another task is running on the file system, the rebalance task cannot be scheduled until the
first task is complete.
•
You cannot evacuate or remove the root segment (segment #1).
•
The file system must be quiescent (no active I/O while a segment is being evacuated). Running
this utility while the file system is active may result in data inconsistency or loss.
•
If quotas are enabled on the affected file system, the quotas must be disabled during the
rebalance operation.
To evacuate a segment, complete the following steps:
1.
Identify the segment residing on the physical volume to be removed. Select
Storage
from the
Navigator on the management console GUI. Note the file system and segment number on the
affected physical volume. In the following example, physical volume
d1
is being retired.
Segment 1 from file system
ifs1
uses that physical volume.
2.
Locate other segments on the file system that can accommodate the data being evacuated
from the affected segment. Select the file system on the management console GUI and then
select
Segments
from the lower Navigator. If segments with adequate space are not available,
add segments to the file system. In this example, the data from segment 1 will be evacuated
to segments 2 and 3.
Removing storage from the cluster
57