Installation manual

Policy for Balancing Capacity
Adding a Share Farm
12-18 CLI Storage-Management Guide
Auto Migrating Existing Files
You can configure an auto-migrate policy to migrate files off of a share that is low on
free space. The files migrate to shares that are not low on free space, if there are any
such shares in the same share farm. From gbl-ns-vol-sfarm, use the
auto-migrate
command to trigger an auto-migrate policy:
auto-migrate freespace{k|M|G|T}
where:
freespace (1-18,446,744,073,709,551,615) is the amount of free space to
maintain on each share, and
k|M|G|T chooses the unit of measure: kilobytes, Megabytes, Gigabytes, or
Terabytes. All values are base-2; e.g., a kilobyte is 1,024 bytes and a
megabyte is 1,048,576 bytes.
For example, the
auto-migrate command in the following command sequence ensures
that if any share the ‘fm1’ share farm drops below two gigabytes of free space, the
share farm migrates some of its files to emptier shares:
bstnA6k(gbl)# namespace wwmed
bstnA6k(gbl-ns[wwmed])# volume /acct
bstnA6k(gbl-ns-vol[wwmed~/acct])# share-farm fm1
bstnA6k(gbl-ns-vol-sfarm[wwmed~/acct~fm1])# auto-migrate 2G
Disabling Auto Migration
The auto-migrate policy is disabled by default. Use the no auto-migrate command to
return to this default:
no auto-migrate
For example, the
no auto-migrate command in the following command sequence
disables automatic file migration in the ‘medFm’ share farm.
bstnA6k(gbl)# namespace medarcv
bstnA6k(gbl-ns[medarcv])# volume /rcrds
bstnA6k(gbl-ns-vol[medarcv~/rcrds])# share-farm medFm
bstnA6k(gbl-ns-vol-sfarm[medarcv~/rcrds~medFm])# no auto-migrate
bstnA6k(gbl-ns-vol-sfarm[medarcv~/rcrds~medFm])# ...