Vmsvc/device.diskadd: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
(New page: ==== vimsh vmsvc/device.diskadd ==== Usage: device.diskadd vmid size controller number unit number datastore Add a disk to this virtual machine. Category: Vimsh)
 
(adding example to vimsh device.diskadd)
Line 1: Line 1:
==== vimsh vmsvc/device.diskadd ====
==== vimsh vmsvc/device.diskadd ====
Usage: device.diskadd vmid size controller number unit number datastore
Usage: device.diskadd vmid size controller-number unit-number datastore


Add a disk to this virtual machine.
Add a disk to the virtual machine with id vmid.
Size is in kilobytes.
Controller number is the controller number as is specified in the vmx configuration file.
 
==== Example ====
 
vim-cmd vmsvc/device.diskadd 16 5242880 scsi0 2 datastore1
 
See also:
* [http://communities.vmware.com/thread/233019 VMTN: vim-cmd vmsvc/device.diskadd syntax headaches]


[[Category: Vimsh]]
[[Category: Vimsh]]

Revision as of 21:05, 23 September 2009

vimsh vmsvc/device.diskadd

Usage: device.diskadd vmid size controller-number unit-number datastore

Add a disk to the virtual machine with id vmid. Size is in kilobytes. Controller number is the controller number as is specified in the vmx configuration file.

Example

vim-cmd vmsvc/device.diskadd 16 5242880 scsi0 2 datastore1

See also: