DCE LFS aggregates are created with the newaggr command. The initial size of an aggregate is specified with the command's -aggrsize option. (See Making Filesets and Aggregates Available for more information about the newaggr command.)
The growaggr command is used to increase the size of an existing DCE LFS aggregate. On operating systems that support logical volumes, the growaggr command is useful for increasing the size of an aggregate when the size of the logical volume on which it resides is increased. It can also be used to increase the size of an aggregate that was deliberately created smaller than the partition or logical volume on which it resides.
The size of the aggregate can be made as large as the size of the partition on which it resides. To determine the total number of 1024-byte blocks on the partition on which an aggregate resides without changing the size of the aggregate, specify the growaggr command's -noaction option and omit its -aggrsize option. To increase the size of an aggregate to the total size of the partition on which it resides, omit both the -aggrsize and -noaction options.
The size of an existing aggregate cannot be decreased. A size specified with the command's -aggrsize option must be at least three DCE LFS blocks greater than the current size of the aggregate. (The number of bytes in a DCE LFS block is defined on a per-aggregate basis with the -blocksize option of the newaggr command when an aggregate is created.) Specify both the -aggrsize and -noaction options with the command to determine whether the size specified with the -aggrsize option is valid without changing the present size of the aggregate.
To increase the size of a DCE LFS aggregate, do the following:
1. Log in as root on the machine on which the aggregate that is to be enlarged resides.
2. Issue the growaggr command to increase the size of the aggregate. (See Part 2 of this guide and reference for more detailed information about the growaggr command.)
# growaggr -aggregate name [-aggrsize blocks] [-noaction]
The -aggregate name option is the device name or aggregate name of the DCE LFS aggregate to be grown. These identifiers are specified in the first and second fields of the entry for the aggregate in the dcelocal/var/dfs/dfstab file.
The -aggrsize blocks option is the total number of 1024-byte blocks to be available on the specified aggregate. The number of 1024-byte blocks specified with this option cannot exceed the total size of the disk partition on which the aggregate resides, and it must be at least three DCE LFS blocks larger than the current size of the aggregate. Omit both the -aggrsize option and the -noaction option to increase the size of the aggregate to the total size of the disk partition on which it resides. Specify both the -aggrsize option and the -noaction option to determine whether the size specified with this option is valid without changing the current size of the aggregate.
The -noaction option directs the command to display the total number of 1024-byte blocks on the disk partition on which the specified aggregate resides, provided the -aggrsize option is not specified. If the -aggrsize option is specified with the -noaction option, the command determines whether the specified size is valid. The current size of the aggregate is not affected if the -noaction option is used.