LCTL-POOL_ADD(8)

NAME
lctl-pool_add - add OSTs to a named pool

SYNOPSIS
lctl pool_add <fsname>.<poolname> <ost_index> ...
lctl pool_add <fsname>.<poolname> <ost_range> ...

DESCRIPTION
Add one or more OSTs to the pool named poolname in the filesystem named fsname. There are several formats that the OSTs can be specified. Simplest is to just specify a list of <ost_index> numbers or OST names. It is also possible to specify an <ost_range> expression of the form [start-end] or [start-end/step] that adds multiple OSTs with index numbers in the range from start to end (inclusive), optionally skipping every step index values. The lctl pool_add command must be run on the MGS node and can only be used by the root user. If the MGS is on a separate node from the MDS, a Lustre client must be mounted while the lctl commands are being run. The OST pool can be used by lfs-setstripe(1) to specify the OSTs on which new files can be created, and lfs-find(1) to locate files that were initially created on the specified poolname. Note however, that the OSTs that make up a specific pool may change over time, and it is the poolname used at creation time that is stored on each file, not necessarily OSTs that are in the current pool. As well, lfs-df(1) can show only the free space or inodes in a named pool.

EXAMPLES

# lfs pool_new testfs.local
    Create a pool named local in the testfs filesystem.

# lfs pool_add testfs.local 12 13 14
    Add OSTs numbered 12, 13, and 14 to the testfs.local pool.

SEE ALSO
lctl(8), lctl-pool_new(8), lfs-df(1), lfs-find(1), lfs-setstripe(1), lustre(7)