Adding a disk to the shared file system

After creating your shared file systems, there might be circumstances which require adding additional disks to the file system.

Before you begin

The user ID running this command must own the disks and have read and write access to them. The disks cannot be currently used by any other file system on the local host. To perform this task, you must be either the user ID that created the file system, or the Db2 cluster services administrator.

Procedure

Once the disk is physically available to the hosts, you can add the disk to the file system that requires more space by using the db2cluster command.
For example:
db2cluster -add -filesystem filesystem-name -disk disk-name 

Results

When this task is completed, the disk is added to the file system, and the stripe set for the file system includes this disk.

What to do next

If you want to ensure that the file system is balanced over all the disks in the file system, perform a rebalance operation.