Rebalancing a file system

You can rebalance your file system after adding or removing disks. Perform a rebalance operation by using the db2cluster command.

Before you begin

Ensure that the file system is mounted before running this command. Because a rebalance operation is file input and output intensive, it is recommended that you run them when there is reduced system activity in the cluster.

About this task

This task rebalances the file system by restriping the data on disk across all disks in the file system. The instance owner can perform this task only if the instance owner created the file system; otherwise only the Db2® cluster services administrator can rebalance a file system.

Procedure

Use the db2cluster command to rebalance the file system:
db2cluster -rebalance -filesystem filesystem-name