Back to top
 
 
 

Volumes

 

Just like a physical computer has storage, a virtual machine also has a storage volume associated with it. This is called the Root volume. You can choose to have additional storage as well. In the Volumes section you can view the details of your VM volumes, attach to, and detach volumes from your VMs, create volume templates and perform other tasks related to storage volumes.

Details Pane

A red circle next to a volume indicates that the volume is allocated, but not ready yet. A green circle indicates that the volume is ready to be attached, detached, downloaded and so on. as is applicable to that volume.

To view the details of a volume, select it from the list of volumes in the left pane.

ID: The unique identification code assigned by your service provider.

Type: The volume type. Root volume, Data volume

Zone: The CloudStack zone in which this volume resides.

Device ID: A unique system generated identifier for this volume.

Size: The storage space in GB. For example, 8 GB.

Created: The date and time the volume was created.

Account: The user who created this volume.

Domain: The domain assigned by your service provider.

Managing volumes

The following section describes the menu items of the gear wheel icon. The menu shows the actions that you can perform. The menu items change depending on the Type (Root, Data etc.) and State (attached, detached) of the volume. For example, you cannot attach a volume that is already attached to a VM. In such a case, only the Detach Volume is available for that volume.

Select a volume. Move your cursor over the gear wheel icon. You see a list of actions that you can perform for the selected volume:

Taking a Snapshot: In general, a snapshot is the representation of a storage volume at a point in time. You can take a snapshot, revert to it later, and create volumes and templates from existing snapshots. Click Take Snapshot and accept the terms and conditions. Click Confirm.

Note: The 'Take Snapshot' option for a volume is not supported for the 'Hyper-V' hypervisor.

Scheduling Snapshots: You can schedule the system to take snapshots at regular intervals. For example, you can schedule the snapshots of the volume to be taken at six hour intervals. If you enter ten in the Keep field, only the ten most recent snapshots will be retained, and the earlier ones discarded. Depending on the time intervals at which you specify the snapshots to be taken, the system sets an upper limit on the Keep field. For example, if you choose hourly snapshots to be taken, the Keep field takes a maximum value of eight. Click Recurring Snapshots and specify the details of the schedule. Accept the terms and conditions and click Apply.

Note: The 'Recurring Snapshots' option for a volume is not supported for the 'Hyper-V' hypervisor.

Subscriptions tab

Click the Subscriptions tab to view the details of the subscription associated with the volume. The ID is the UUID of the subscription. The 'View Details' link displays the included entitlements. The name of the subscription links to the subscription in the Subscriptions page.

Attaching a volume: You can select a data volume and attach it to a VM. Click Attach Volume and specify the details. Accept the terms and conditions and click OK.

Downloading Volume: You can select a data volume and download it. Click Download Volume. Accept the terms and conditions and click OK.

Creating a Template: Click Create Template and specify the details for the template that you want to create from the volume. Accept the terms and conditions and click OK.

Deleting a volume: Click Delete Volume. Click Confirm.

Note: The system provides an option to terminate the associated subscription. If you choose to terminate the subscription as well then the subscription will be in the expired state else it will be Active(Unused).

Adding a volume

To add a volume, follow these steps:

  1. Log in to CloudPortal Business Manager as user.
  2. Click My Services.
  3. Select the cloud service and the service instance.
  4. Click Manage Resources.
  5. Click Volumes and then click Add New.
  6. Specify the details for the new volume.
  7. Select the checkbox to accept the terms and conditions and click OK.

Resizing a volume

You can resize data disks. Depending on your need for data space, you can resize a data volume. Volumes within the disk offerings with the same storage tag can be resized. You can move a data volume from a static disk offering to a custom disk offering and specify the size.

Considerations before resizing a volume:

  • Volume should not be a root volume.
  • The VMs associated with the volume are stopped or the volume itself should be detached.
  • When a volume is shrunk, the disk associated with it is simply truncated, and doing so would put its content at risk of data loss. Therefore, resize any partitions or file systems before you shrink a data disk so that all the data is moved off from that disk.

Note: Resizing volume for a data volume is not supported for the 'Hyper-V' hypervisor.

  1. Log in to CloudPortal Business Manager as a user.
  2. Click My Services.
  3. Select the cloud service and the service instance.
  4. Click Manage Resources.
  5. Click Volumes.
  6. Select the volume that you want to resize.
  7. Move your cursor over the gear wheel icon and click Resize Volume.
  8. Select the disk offering of the desired characteristic (size).
    • If you reduce the size of the volume, select the check box to confirm your action.
    • If you select the custom option, specify the custom size.
  9. Select the check box to accept the terms and conditions and click OK.

    Note: The 'Resize Volume' wizard lists the disk offerings that are compatible and incompatible to the current bundle separately.

 

Searching and filtering volumes

The Volumes tab lists all volumes. As a master user/power user/normal user, you can find a particular volume/volumes by using the search and filter options. The option to search and filter is visible in the CPBM UI only if the CloudPlatform Connector version supports search and filter operations for volumes.

  1. Log in to CloudPortal Business Manager UI as master user/power user/normal user.
  2. Either click My Services and then click the desired CloudPlatform service instance tab or click Manage Resources and then click the desired CloudPlatform service instance link.
  3. Click the Volumes tab.
  4. In the Search box, specify the volume name and click Enter.
  5. To filter the list of volumes:
    1. Click the Filter icon.
    2. Select the filter option zone and select the desired filter parameter from the dropdown list.
    3. Click Go!.
 

Comments