Create a Volume

Create an Empty Volume

Header Section

  1. Set the Volume Name.
  2. (Optional) Provide a Description for the Volume.

Basics Tab

  1. Choose New in Source.
  2. Select an existing StorageClass.
  3. Configure the Size of the volume.

create-empty-volume

Create an Image Volume

Header Section

  1. Set the Volume Name.
  2. (Optional) Provide a Description for the Volume.

Basics Tab

  1. Choose VM Image in Source.
  2. Select an existing Image.
  3. Configure the Size of the volume.

Create a Volume - 图2caution

When creating volumes from a VM image, ensure that the volume size is greater than or equal to the image size. The volume may become corrupted if the configured volume size is less than the size of the underlying image. This is particularly important for qcow2 images because the virtual size is typically greater than the physical size.

To determine the virtual size of a qcow2 image, you can run the command qemu-img info YOUR_IMAGE_FILE.qcow2.

create-image-volume