z/OS Distributed File Service zFS Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


zfsadm grow

z/OS Distributed File Service zFS Administration
SC23-6887-00

Purpose

Makes the physical size of an aggregate larger.

Format

zfsadm grow -aggregate name -size kbytes [-level] [-help]

Options

-aggregate name
Specifies the name of the aggregate to be grown. The aggregate name is not case-sensitive. It is always translated to uppercase.
-help
Prints the online help for this command. All other valid options that are specified with this option are ignored.
-level
Prints the level of the zfsadm command. This option is useful when you are diagnosing a problem. Except for -help, all other valid options specified with -level are ignored.
-size kbytes
Specifies the new total size in kilobytes of the aggregate after the grow operation. The size is rounded up to a control area (CA). (A control area is normally a cylinder or less and is based on the primary and secondary allocation units. See z/OS DFSMS Using Data Sets for more information about allocation size boundary.) If zero is specified, the secondary allocation size is used. The value that is specified cannot exceed the size of a single volume.

Usage

The zfsadm grow command attempts to extend the size of an aggregate when the size specified is greater than the current size of the aggregate or when the size is specified as zero. If the extend fails (for example, if there is no space on the volume, or if size zero is specified and there is no secondary allocation specified for the VSAM linear data set), the grow operation fails. If the size specified is less than or equal to the current size of the aggregate, no extend is attempted and the command successfully returns. An aggregate cannot be made smaller than its current size. In any case, if the aggregate's high used value is less than the aggregate's high allocated value, the aggregate will be formatted up to the high allocated value (making the high used value equal to the high allocated value). The current (formatted) size of an aggregate can be determined by using the zfsadm aggrinfo command. The high used value (HI-U-RBA) and the high allocated value (HI-A-RBA) can be determined by using the IDCAMS LISTCAT ALL command. For an explanation of the rules that apply to extending a VSAM linear data set, see z/OS DFSMS Using Data Sets.

The size of the file system free space is increased by the amount of additional space available.

Privilege required

The issuer must have READ authority to the data set that contains the IOEFSPRM file and must be logged in as root or have READ authority to the SUPERUSER.FILESYS.PFSCTL resource in the z/OS® UNIXPRIV class. If you are not using IOEFSPRM but instead, you are using parmlib (IOEPRMxx), the issuer is required to be logged in as root or to have READ authority to the SUPERUSER.FILESYS.PFSCTL resource in the z/OS UNIXPRIV class.

Examples

The following command displays the online help entry for the zfsadm grow command:

zfsadm grow -help

Usage: zfsadm grow -aggregate <name> -size <size in K bytes> [-level] [-help]

Related information

Command:
  • zfsadm aggrinfo

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014