Deploying a storage device

A device can be allocated to a WPAR when the WPAR is created or added to the WPAR in a later operation.

To deploy a device to a WPAR, you can use the mkwpar -D command or the chwpar -D.

In order for a device to be allocated to a WPAR, the device must be in the available state or the defined state in the global environment.

System WPARs can import one or more storage devices. Non-rootvg volume groups, logical volumes, and file systems can be created and managed on imported storage devices within the WPAR.

A storage device is deployed to a WPAR in the following phases:
  • Use the mkwpar or chwpar command to allocate a device to a WPAR.
  • The device is automatically exported to the WPAR when the WPAR starts.
  • The device is automatically imported when the WPAR is booted with the cfgmgr command.

After the device is exported to a WPAR, the device state is listed as Defined and it is not available in the Global environment until it is unexported by using either the chwpar -K -D command or the stopwpar command.