govc/datastore-create-disk¶
Defines any additional command line options to pass to ansible for playbooks
This param sets the disk to create the datastore defined in the param
govc/datastore-create-name
. The param can be set to a rule that
will search for a disk, or directly to a specific disk.
Supported rules and direct disk definition settings:
datastore_mappings
first_available
disk=t10.ATA_____Micron_M500DC_MTFDDAK120MBB_____________________14260DAD9402
Defaults to datastore_mappings
.
The first_available
rule attempts to filter out used disk devices, then
chooses the first of any remaining disks that are unused.
Note
IF using the govc command, you can find the disk information with the command
govc host.esxcli storage core path list
(after setting up the appropriate
GOVC_
environment variables, of course.).
Warning
Setting this param to first_available
, and setting a Param
esxi/datastore-mappings
type of first_available
is not
supported and will result in a failure error.