Vmsvc/device.diskadd

From VI-Toolkit
Revision as of 20:05, 23 September 2009 by Wila (talk | contribs) (adding example to vimsh device.diskadd)
Jump to navigation Jump to search

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: