4.9 Virtual Disks Item

The management pane includes the default Virtual Disks perspective, and toolbars that enable you to perform various configuration or management tasks specific to virtual disks.

4.9.1 Virtual Disks Perspective

The Virtual Disks perspective lists the virtual disks in your environment. The following columns are displayed in the management pane:

  • Name: The name that has been configured for the virtual disk.

  • Used (GiB): The amount of disk used.

  • Max. (GiB): The maximum allocated disk size that may be used.

  • Shareable: Whether the disk is shareable with other virtual machines.

  • Absolute Path: The absolute path to where the virtual disk is located.

  • Mounted Path: The mount point where the virtual disk is located when it is mounted on a server.

  • File: The location path in the storage repository.

  • Description: The description of the virtual disk.

An arrow displays next to each virtual disk in the table. Click the arrow to expand the view and display the name of the virtual machine that uses the virtual disk.

This perspective includes a toolbar that consists of the following options:

Table 4.8 Virtual Disks Perspective Toolbar Icon Options

Toolbar Icon Option

Icon

Description

Create Virtual Disk...

Create Virtual Disk... icon

Displays the Create Virtual Disk dialog box. Use this option to create a new virtual disk.

Import Virtual Disk

Import Virtual Disk... icon

Displays the Import Virtual Disk dialog box. Use this option to import a virtual disk.

Edit Virtual Disk...

Edit Virtual Disk... icon

Displays the Edit Virtual Disk dialog box. Use this option to edit an virtual disk.

Delete Selected Virtual Disk

Delete Selected Virtual Disk icon

Displays the Delete Confirmation dialog box. Use this option to delete the selected virtual disk.

Clone Virtual Disk

Clone Virtual Disk icon

Displays the Clone Virtual Disk dialog box. Use this option to clone (create a copy of) a virtual disk.

Help

Help icon

Displays context sensitive help.


4.9.1.1 Create Virtual Disk

To create a new virtual disk:

  1. Click the Repositories tab. Select the repository in which to store the virtual disk. Select Virtual Disks in the navigation tree.

  2. Click Create Virtual Disk... Create Virtual Disk... icon in the management pane toolbar.

  3. The Create Virtual Disk dialog box is displayed. Enter or select the following:

    • Virtual Disk Name: A name for the virtual disk.

    • Size (GiB): The size of the disk, in GiB.

    • Description: A description of the virtual disk.

    • Shareable: Whether the virtual disk is shareable. Shareable disks have read/write privileges in multiple virtual machines and should be used with caution.

    • Allocation Type: Whether to use a Sparse Allocation or Non-sparse Allocation. Sparse Allocation creates a sparse disk, so the size of the disk is initially small and increases as it is used. Sparse allocation is faster than using Non-Sparse Allocation when creating a virtual machine. Non-Sparse Allocation creates the entire disk when the virtual machine is created, and so is slower than creating a sparse disk. This information is not persistent and is not stored within Oracle VM Manager, so it is not possible to determine what allocation type was used to create a virtual disk in the future.

      Caution

      When sparse virtual disk space allocation is used, the available space in a repository can be over-subscribed. Sparse allocation is useful to increase virtual machine density. However, errors occur if the space allocated to a storage repository becomes exhausted, so the administrator must carefully monitor disk space.

  4. Click OK to create the new disk. To display which virtual machines use a disk, expand the table row in the management pane.

4.9.1.2 Import Virtual Disk

To import a virtual disk:

  1. Click the Repositories tab. Select the repository in which to store the virtual disk. Select Virtual Disks in the navigation tree.

  2. Click Import Virtual Disk... Import Virtual Disk... icon in the management pane toolbar.

  3. The Import Virtual Disk dialog box is displayed. Select or edit the following:

    • Virtual Disk download location: The URL for the virtual disk file. The URL schemes supported are HTTP, HTTPS, and FTP. For example:

      http://example.com/vdisks/myvdisk.img

    • Proxy: The IP address or hostname of an optional proxy server to use when importing the virtual disk.

    Click OK to import the virtual disk file. When the import job is complete, the new virtual disk is displayed in the table in the management pane.

4.9.1.3 Edit Virtual Disk

To edit a virtual disk:

  1. Click the Repositories tab. Select the repository in which the virtual disk is located. Select Virtual Disks in the navigation tree.

  2. Select the virtual disk in the table in the management pane. Click Edit Virtual Disk... Edit Virtual Disk... icon in the management pane toolbar.

  3. The Edit Virtual Disk dialog box is displayed. Enter or select the following:

    • Virtual Disk Name: A name for the virtual disk.

    • Size (GiB): The size of the disk, in GiB.

    • Resize Action: Whether the virtual disk should use sparse or non-sparse allocation. This drop-down selector does not default to the allocation type that was used when the disk was created, as this information is not stored within Oracle VM Manager. The allocation type specified here only applies to any additional disk space that is allocated in the case that the virtual disk size is increased. This information is not persistent and is not stored within Oracle VM Manager, so it is not possible to determine what allocation type was used for a virtual disk in the future.

    • Description: A description of the virtual disk.

    • Shareable: Whether the virtual disk is shareable. Shareable disks have read/write privileges in multiple virtual machines and should be used with caution.

    Note

    The actual virtual disk image file is saved with a filename that contains the UUID for the virtual disk image. This is displayed in the ID field at the top of the dialog. This field is not editable.

    Click OK to save the changes.

    Warning

    When resizing a disk there is always a risk of data corruption. Also, the file system on the virtual disk may not be aware of the resize operation, so you may have to perform operating specific procedures to make the guest virtual machine aware of the change in disk size. Usually, after resizing a virtual disk, you may need to shutdown and then restart the guest virtual machine that is making use of the disk before it is able to register the new disk size.

4.9.1.4 Delete Virtual Disk

To delete virtual disks:

  1. Click the Repositories tab. Select the repository in which the virtual disks are located. Select Virtual Disks in the navigation tree.

  2. Select one or more virtual disks in the table in the management pane. Click Delete Selected Virtual Disk Delete Selected virtual disk icon in the management pane toolbar.

  3. The Delete Confirmation dialog box is displayed. Click OK.

4.9.1.5 Clone Virtual Disk

To clone a virtual disk:

  1. Click the Repositories tab. Select the repository in which the virtual disk is located. Select Virtual Disks in the navigation tree.

  2. Select the virtual disk in the table in the management pane. Click Clone Virtual Disk Clone Virtual Disk icon in the management pane toolbar.

  3. The Clone Virtual Disk dialog box is displayed. Select or edit the following:

    • Clone Target Type: The destination storage type for the cloned virtual disk, either:

      • Repository

      • Physical Disk

      • Storage Array

    • Clone Target: The destination location for the cloned virtual disk. Click Search Clone Target Search Clone Target icon to select the destination.

      The Search Clone Target dialog box is displayed. Select the location on which to clone the virtual disk and click OK.

    • Clone Type: Whether to use a Sparse Copy or Non-sparse Copy. Sparse Copy creates a sparse disk, so the size of the disk is smaller than the original. Sparse copy is faster than using Non-Sparse Copy. Non-Sparse Copy copies the entire virtual disk, and so is slower than creating a sparse disk.

    Click OK to clone the virtual disk.