A.52 edit VirtualDisk

Edits a virtual disk.

Syntax

edit VirtualDisk instance [size=value] [shareable= { yes | no }] [name=value] [description=value]

Where instance is:

{ id=id | name=name }

Description

This command edits a virtual disk in a storage repository.

Although none of the options are mandatory, you must supply at least one option.

Options

The following table shows the available options for this command.

Option

Description

size=value

The size of the virtual disk in GiB.

shareable= { yes | no }

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

name=value

A name to identify the virtual disk.

description=value

Optional description for the virtual disk.

{ id=id | name=name }

The instance of the object using either the id or name option, for example name=MyVirtualDisk.

Examples

Example A.70 Editing a virtual disk

OVM> edit VirtualDisk name=MyVMDisk name='New name for MyVMDisk' description='My virtual disk'

Example A.71 Resizing a virtual disk

OVM> edit VirtualDisk name=MyVMDisk size=20

See Also