beautypg.com

Changing the tiering configuration with the cli, Stopping a migration task, Moving a segment to another tier – HP StoreAll Storage User Manual

Page 190: Removing a segment from a tier, Deleting a tier

background image

[root@ibrix01a testdata1]# ibrix_task -i -n Migrator_163
Operation: Migrator_163
=======================
Task Summary
============
Task Id : Migrator_163
Type : Migrator
File System : ifs1
Submitted From : root from Local Host
Run State : STOPPED
Active? : No
EXIT STATUS : OK
Started At : Jan 17, 2012 10:32:55
Coordinator Server : ibrix01b
Errors/Warnings :
Dentries scanned : 1025
Number of Inodes moved : 1002
Number of Inodes skipped : 1
Avg size (kb) : 525
Avg Mb Per Sec : 16
Number of errors : 0

Stopping a migration task

To stop a migration task, use the following command:

ibrix_migrator -k -t TASKID [-F]

Changing the tiering configuration with the CLI

The following restrictions apply when changing the configuration:

You cannot modify the tiering configuration for a filesystem while an active migration task is
running.

You cannot move segments between tiers, assign them to new tiers, or unassign them from
tiers while an active migration task is running or while any rules exist that apply to the segments.

Moving a segment to another tier

Use the following command to assign a segment to another tier:

ibrix_tier -a -f FSNAME -t TIERNAME -S SEGLIST

Removing a segment from a tier

The following command removes segments from a tier. If you do not specify a segment list, all
segments in the file system are unassigned.

ibrix_tier -u -f FSNAME [-S SEGLIST]

The following example removes segments 3 and 4 from their current tier assignment:

[root@ibrix01a ~]# ibrix_tier -u -f ifs1 -S 3,4

Deleting a tier

Before deleting a tier, take these steps:

Delete all policy rules defined for the tier.

Allow any active tiering jobs to complete.

To unassign all segments and delete the tier, use the following command:

ibrix_tier -d -f FSNAME -t TIERNAME

190 Using data tiering