Expanding a logical unit by using the CLI

You can use the command-line interface (CLI) to expand a logical unit.

On some storage systems, you can expand the size of a logical unit (LU) by using vendor-specific disk-configuration software that is provided. The steps in this procedure are required for the system to use extra capacity that is provided in this way.

To ensure that this additional capacity is available to the system, follow these steps:

  1. Issue the svctask rmmdisk CLI command to remove the managed disk (MDisk) from the storage pool.
    Use the force parameter to migrate data on the specified MDisk to other MDisks in the storage pool. If -force is specified, the command completes asynchronously. You can check the progress of active migrations by running the svcinfo lsmigrate command.
  2. Issue the rmmdisk CLI command to remove the managed disk (MDisk) from the storage pool.
    Use the force parameter to migrate data on the specified MDisk to other MDisks in the storage pool. If -force is specified, the command completes asynchronously. You can check the progress of active migrations by running the lsmigrate command.
  3. Use the vendor-specific, disk-configuration software to expand the size of the logical unit on the storage system.
  4. Issue the svctask detectmdisk CLI command to rescan the Fibre Channel network.
    The rescan discovers any changes to existing MDisks and any new MDisks that were added to the cluster. This command completes asynchronously and might take a few minutes. To determine whether a discovery operation is still in progress, use the svcinfo lsdiscoverystatus command.
  5. Issue the detectmdisk CLI command to rescan the Fibre Channel network.
    The rescan process discovers any changes to existing MDisks and any new MDisks that were added to the clustered system. This command completes asynchronously and might take a few minutes. To determine whether a discovery operation is still in progress, use the lsdiscoverystatus command.
  6. Issue the svcinfo lsmdisk CLI command to display the additional capacity that was expanded.
  7. Issue the lsmdisk CLI command to display the additional capacity that was expanded.
  8. Issue the svctask addmdisk CLI command to add the MDisk back to the group.
  9. Issue the addmdisk CLI command to add the MDisk back to the group.

The extra capacity is available for use by the system.