A.88 edit VirtualDisk

Edits a virtual disk.

Syntax

edit VirtualDisk instance [ shareable= { Yes | No } ] [ name=value ] [ description=value ]

Where instance is:

{ id=value | name=value }

Description

This command edits the attributes of a virtual disk in a storage repository. To resize a virtual disk, use the resize command.

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

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. value is a maximum of 4,000 characters.

{ id=value | name=value }

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

Examples

Example A.113 Editing a virtual disk

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

See Also