Expand an existing NSS pool by adding a new partition. Either a partition must be specified, or the device and size must be specified.
If the specified device is the same device as the last segment of the existing pool, and free space exists following the last segment, the utility tries to expand the partition first before trying to add a new partition.
nlvm [nlvm_options] expand pool <pool_name> <size device | part >
Command Options
Mandatory. Specify the name of the NSS pool to be expanded. This must be the first command option.
Example
MYPOOL1
Specify the device to use for the expanded space.
You can specify multiple device option instances to create a pool comprised of multiple segments. Each device option instance must have a matching size option instance. The first device instance is matched to the first size instance, and so on.
Example
device=sdb
Specify the amount of space to add to the existing pool.
If multiple devices are specified, each device option instance must have a matching size option instance. The first size instance is matched to the first device instance, and so on.
Examples
size=20G size=100.50M
Specify the name of a partition to add to the pool. The entire partition size is added to the pool’s capacity. The partition must be of type 0X169 (nss).
Example
part=sdc1.1
Command Examples
Expand the NSS pool named MYPOOL1 by adding the 20 GB of free space from device /dev/sdf.
Expand the NSS pool named MYPOOL1 by adding the 20 GB of free space from device /dev/sdf and 100 GB of free space from device /dev/sdg.
Expand the NSS pool named MYPOOL1 by adding the /dev/sdc1.1 partition to it. The partition is type 0X169. The entire partition size is added to the pool’s capacity.