Creating volume groups and logical volumes on a Virtual I/O Server

You can create logical volumes and volume groups on a Virtual I/O Server using the mkvg and mklv commands.

If you are using the HMC, version 7 release 3.4.2 or later, you can use the HMC graphical interface to create volume groups and logical volumes on a Virtual I/O Server.

Otherwise, use the mklv command from the Virtual I/O Server command-line interface. To create the logical volume on a separate disk, you must first create a volume group and assign one or more disks by using the mkvg command.

  1. Create a volume group and assign a disk to this volume group by using the mkvg command. In this example, the name of the volume group is rootvg_clients
    mkvg -f -vg rootvg_clients hdisk2
  2. Define a logical volume, which will be visible as a disk to the client logical partition. The size of this logical volume will act as the size of disks that will be available to the client logical partition. Use the mklv command to create a 2 GB logical volume as follows:
    mklv -lv rootvg_dbsrv rootvg_clients 2G