A virtual disk is the portion of disk space that the system has allocated to a guest. Each virtual disk is implemented as an image file with an .img extension, such as guest_A.img.
The vCMP system automatically creates a virtual disk when you create a vCMP guest. However, after you have created and deployed all guests, you can manage the virtual disks on the system as a way to optimize performance. You must be logged into the vCMP host to manage virtual disks on the system.
On the vCMP system, the host assigns a fixed amount of disk space (100 gigabytes) for each guest. This amount of available disk space per guest remains fixed regardless of the number of cores that you configure for that guest. For example, allocating two cores to guest_A provides the same amount of available disk space for the guest as allocating four cores to the guest.
You cannot explicitly create virtual disks; instead, the BIG-IP system automatically creates a virtual disk when you create a guest.
A virtual disk is in the form of an image that resides in the /shared/vmdisks directory. The default file name that the BIG-IP system initially assigns to a virtual disk is the guest name plus a .img extension (for example, guestA.img). You identify and manage virtual disks on the system using these file names.
When a vCMP guest has no virtual disk and moves from the Configured state to the Provisioned state, the system creates a virtual disk and attaches the disk to the guest. This attachment ensures that only that guest can use the virtual disk. A guest can have only one virtual disk attached to it at any one time.
A virtual disk can become unattached from a guest when you perform one of these actions:
|Delete a guest||The system retains the virtual disk on the system for future use.|
|Change the Virtual Disk property of the guest to None||The system retains the virtual disks on the system for future use.|
|Change the state of the guest from Provisioned or Deployed to Configured.||The system retains the virtual disks on the system for future use.|
|Reboot the system||The system deletes all guests, detaches and retains their virtual disks, re-creates the guests, and then re-attaches the virtual disks to their associated guests.|
|Re-activate the vCMP license on the system||The system deletes all guests, detaches and retains their virtual disks, re-creates the guests, and then re-attaches the virtual disks to their associated guests.|
You can attach an existing, unattached virtual disk to a new guest that you create. Attaching an existing virtual disk to a newly-created guest saves the BIG-IP system from having to create a new virtual disk for the guest.
Before you begin this task, ensure that:
It is possible for a virtual disk to become detached from a vCMP guest. A disk that is no longer attached to a guest is known as an unattached virtual disk.
You can attach an unattached virtual disk to another guest either when you create the guest or when you modify the Virtual Disk property of a guest.
Using the BIG-IP Configuration utility, you can delete a virtual disk from the system.